We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Detecting when parsing asterix output with pipes.
engine/stddevice.cxx:76
size_t bytesWrote = write(STDOUT_FILENO, pData, bytesLeft); if (bytesWrote < 0) {
In case of error when writing, code path won't enter inside "if", because size_t is not signed, and errors from write are returned with -1
The error that bite me was EPIPE, when writing to a closed pipe.
Please replace size_t with ssize_t
Same error is also inside engine/serialdevice.cxx
The text was updated successfully, but these errors were encountered:
Issue #168 Error codes from write are not detected
dd5fa41
OK, done. tnx
Sorry, something went wrong.
No branches or pull requests
Detecting when parsing asterix output with pipes.
engine/stddevice.cxx:76
In case of error when writing, code path won't enter inside "if", because size_t is not signed, and errors from write are returned with -1
The error that bite me was EPIPE, when writing to a closed pipe.
Please replace size_t with ssize_t
Same error is also inside engine/serialdevice.cxx
The text was updated successfully, but these errors were encountered: