Currently when 0 is passed as a parameter, if the file to be read is non-empty both data and error signals
are emitted. This behaviour is incorrect, as there is no error. This patch makes sure that only data is
emitted.
Details
Details
The application I'm developing that hit this bug now no longer hits this issue.
Diff Detail
Diff Detail
- Repository
- R241 KIO
- Branch
- Read0Bug (branched from master)
- Lint
No Linters Available - Unit
No Unit Test Coverage - Build Status
Buildable 15108 Build 15126: arc lint + arc unit
src/ioslaves/file/file.cpp | ||
---|---|---|
524 | Actually I've realised using the other function would allow me to solve this problem much more cleanly. I'll abandon this revision and upload a new patch that addresses this problem (and others). |