summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2005-04-11 20:04:29 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2005-04-11 20:04:29 +0000
commit6a0400397d547eb2daca4f41ff8e097481770b74 (patch)
treed73945930a67b27dc5f440cc058c92fce54f3143 /lib
parent5af96ecaf550551c802665b691da73eceba2de5e (diff)
downloadcoreutils-6a0400397d547eb2daca4f41ff8e097481770b74.tar.xz
Add bulletproofing for cases where stdin, stdout, or stderr are closed.
Diffstat (limited to 'lib')
-rw-r--r--lib/ChangeLog21
1 files changed, 21 insertions, 0 deletions
diff --git a/lib/ChangeLog b/lib/ChangeLog
index a6cb3778e..6f1232dd6 100644
--- a/lib/ChangeLog
+++ b/lib/ChangeLog
@@ -1,3 +1,24 @@
+2005-04-11 Paul Eggert <eggert@cs.ucla.edu>
+
+ Add bulletproofing for cases where stdin, stdout, or stderr are closed.
+ * fcntl-safer.h, open-safer.c: Remove.
+ * fd-safer.c: New file.
+ * dup-safer.c: Include unistd-safer.h first, to test interface.
+ (dup_safer) [!deefined F_DUPD]: Use new fd_safer function instead of
+ rolling our own code.
+ * fts.c: Include unistd-safer.h.
+ (fts_safe_changedir): Use fd_safer.
+ * getloadavg.c: Include unistd-safer.h.
+ (getloadavg): Use fd_safer.
+ * getusershell.c: Include stdio-safer.h.
+ (getusershell): Use fopen_safer.
+ * save-cwd.c: Include unistd-safer.h.
+ (save_cwd): Use fd_safer.
+ * unistd-safer.h (fd_safer): New decl.
+ * Makefile.am (libfetish_a_SOURCES): Remove dup-safer.c,
+ fcntl-safer.h, fopen-safer.c, open-safer.c, stdio-safer.h,
+ unistd-safer.h.
+
2005-04-09 Jim Meyering <jim@meyering.net>
* fts.c (__attribute__, ATTRIBUTE_UNUSED): Define.