guestfish: diagnose stdout write failure
authorJim Meyering <meyering@redhat.com>
Fri, 21 Aug 2009 17:19:39 +0000 (19:19 +0200)
committerJim Meyering <meyering@redhat.com>
Mon, 24 Aug 2009 16:15:13 +0000 (18:15 +0200)
commitb9a691af0fa468873eda3706a1c797568857785b
tree882e92e4da301f900b7231aa1be43c952b06b8db
parent8e6d1e1a31a69589fde10e3e230620f1e9d27866
guestfish: diagnose stdout write failure

Use gnulib's closeout module to ensure any failure to write to
stdout is detected and reported.
* fish/fish.c: Include "closeout.h".
(main): Call atexit (close_stdout);
* bootstrap (modules): Add closeout.
bootstrap
fish/fish.c