Branches for Edgy

Name Status Last Modified Last Commit
lp:ubuntu/edgy/bc 1 Development 2009-06-23 22:48:45 UTC
7. Make dc notice read and write errors ...

Author: Ian Jackson
Revision Date: 2006-04-04 17:21:02 UTC

Make dc notice read and write errors on its input and output.
I grepped for mentions of the strings `putc', `print', `getc', `FILE',
`stdin', `stdout' and `stderr' and added calls to new error-checking
functions unless it was clear from the immediately-surrounding code
that the program was exiting nonzero, or would exit nonzero if the
call failed. I ignored hits in lib/getopt*, which seems to
pervasively ignore write errors when printing usage messages, in the
hope that these were correct. I _think_ I got them all. -iwj.

11 of 1 result