* fakemail.c: Include <ignore-value.h>.
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 26 Feb 2011 05:36:51 +0000 (21:36 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Sat, 26 Feb 2011 05:36:51 +0000 (21:36 -0800)
commita4fe4e890af466aea88b4e069d176b8e7da94c80
tree9a8dadf8c794aaa025220e851cb5d0205f134655
parent70279bd1cbd56a16b39cb09ac0b47b564db6949b
* fakemail.c: Include <ignore-value.h>.

(put_line): Explicitly ignore fwrite return value, for benefit of
recent glibc + gcc.
(close_the_streams): Diagnose output errors instead of merely
exiting with nonzero status.
(my_fclose, main): Diagnose input errors, and exit with nonzero status.
Formerly, input errors were silently ignored.
lib-src/ChangeLog
lib-src/fakemail.c