From: Jim Meyering Date: Mon, 15 Nov 2004 17:46:17 +0000 (+0000) Subject: . X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=41eb790db8936f717d8d76dea79aeab6e2ee57cd;p=pspp . --- diff --git a/lib/ChangeLog b/lib/ChangeLog index c8ff758cd2..395f42d846 100644 --- a/lib/ChangeLog +++ b/lib/ChangeLog @@ -1,3 +1,14 @@ +2004-11-15 Jim Meyering + + * closeout.c: Include "__fpending.h" once again. + Include . + (close_stdout): Don't fail just because stdout was closed initially, + since some programs don't write to stdout in the normal course of + operation (other than --version and --help), and we don't want this + function to make e.g. `touch file >&-' fail. + But do fail if it was closed and someone has tried to write to it. + E.g., `printf foo >&-' must fail. + 2004-11-11 Simon Josefsson * strtok_r.h, strtok_r.c: New file.