From: Jim Meyering Date: Fri, 12 Aug 2005 08:06:56 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: CPPI-1_12~196 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=68b0358b66daa89cf499e6a4b455972df79f6a6c;p=thirdparty%2Fcoreutils.git *** empty log message *** --- diff --git a/ChangeLog b/ChangeLog index 8e8e645e0a..5b22e89485 100644 --- a/ChangeLog +++ b/ChangeLog @@ -2,6 +2,14 @@ * Version 5.3.1. + Add bulletproofing in case stdin is closed. + * src/dircolors.c (have_read_stdin): Remove global variable. + (dc_parse_stream): Always use stdin (freopen, if needed) rather + than sometimes using fopen to get a new file descriptor. + Call fclose unconditionally. + (main): Don't close stdin here. If needed, now it's already done + by dc_parse_stream. + * src/dircolors.c (dc_parse_file): Remove comment about now-removed OPENOPTS.