diff options
author | Eric Blake <ebb9@byu.net> | 2009-07-18 06:18:21 -0600 |
---|---|---|
committer | Eric Blake <ebb9@byu.net> | 2009-07-18 06:18:21 -0600 |
commit | d19ab0454ad81cd702f17864f082aefcbea6687a (patch) | |
tree | 4dedc117846aa30c3896a445ca0eac6a3840d0a0 /ChangeLog | |
parent | fdccb1c31b8693bcda4faea73b0d81d1c3be0719 (diff) | |
download | gnulib-d19ab0454ad81cd702f17864f082aefcbea6687a.tar.gz |
error: avoid undefined use of stdout
* lib/error.c (error, error_at_line): Check that fd 1 is open
before flushing stdout. Avoids a crash on cygwin when libsigsegv
is handling faults and the close_stdout module wants to report the
detection of closed stdout as an error.
Signed-off-by: Eric Blake <ebb9@byu.net>
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -1,3 +1,11 @@ +2009-07-18 Eric Blake <ebb9@byu.net> + + error: avoid undefined use of stdout + * lib/error.c (error, error_at_line): Check that fd 1 is open + before flushing stdout. Avoids a crash on cygwin when libsigsegv + is handling faults and the close_stdout module wants to report the + detection of closed stdout as an error. + 2009-07-17 Eric Blake <ebb9@byu.net> pipe: be robust in face of closed fds |