diff options
author | Jim Meyering <meyering@redhat.com> | 2009-08-21 19:19:39 +0200 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2009-08-24 18:15:13 +0200 |
commit | b9a691af0fa468873eda3706a1c797568857785b (patch) | |
tree | 882e92e4da301f900b7231aa1be43c952b06b8db /bootstrap | |
parent | 8e6d1e1a31a69589fde10e3e230620f1e9d27866 (diff) | |
download | libguestfs-b9a691af0fa468873eda3706a1c797568857785b.tar.gz libguestfs-b9a691af0fa468873eda3706a1c797568857785b.tar.xz libguestfs-b9a691af0fa468873eda3706a1c797568857785b.zip |
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.
Diffstat (limited to 'bootstrap')
-rwxr-xr-x | bootstrap | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -50,6 +50,7 @@ gnulib_tool=$GNULIB_SRCDIR/gnulib-tool (cd daemon && mkdir -p tests lib && ../$gnulib_tool --update) modules=' +closeout gitlog-to-changelog gnu-make gnumakefile |