summaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorEric Blake <ebb9@byu.net>2009-07-18 06:18:21 -0600
committerEric Blake <ebb9@byu.net>2009-07-18 06:18:21 -0600
commitd19ab0454ad81cd702f17864f082aefcbea6687a (patch)
tree4dedc117846aa30c3896a445ca0eac6a3840d0a0 /ChangeLog
parentfdccb1c31b8693bcda4faea73b0d81d1c3be0719 (diff)
downloadgnulib-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--ChangeLog8
1 files changed, 8 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 81e6d839c5..e5ba82ebb9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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