summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2004-12-03 07:13:31 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2004-12-03 07:13:31 +0000
commitfcf37d884264f8b24f9f32071c90db178c6ca1f4 (patch)
treefafceb237403bcc08a82c367bb8b0d14d115dc48 /lib
parentf85b7c2b0c9d12cf15ce33d98b56d1873f741b74 (diff)
downloadcoreutils-fcf37d884264f8b24f9f32071c90db178c6ca1f4.tar.xz
Recent changes to save-cwd, openat.
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 c3e5bbeab..95235b7b0 100644
--- a/lib/ChangeLog
+++ b/lib/ChangeLog
@@ -1,3 +1,24 @@
+2004-12-02 Paul Eggert <eggert@cs.ucla.edu>
+
+ * openat.c: Include "openat.h" before other include files.
+ Include "exitfail.h".
+ (openat): Remove #undef; no longer needed now that we include openat.h
+ first.
+ (rpl_openat): Add comment about mode_t promotion. Simplify
+ code a bit by moving initializations around. Use exit_failure
+ rather than EXIT_FAILURE.
+ * openat.h: Add copyright and authorship notice.
+ (AT_FDCWD): Use the same value Solaris 9 uses, except of type
+ 'int' not 'unsigned int'.
+
+ * save-cwd.c: Include "save-cwd.h" before other include files.
+ (O_DIRECTORY): Remove; not needed here, since "." must be
+ a directory. All uses removed.
+ (save_cwd): Use __sgi || __sun, not sun || __sun. __sun is
+ universal on Suns, and we also need to test for IRIX.
+ Revamp code to use 'if' rather than '#if'.
+ Avoid unnecessary comparison of cwd->desc to 0.
+
2004-12-01 Paul Eggert <eggert@cs.ucla.edu>
* hard-locale.c: Assume <locale.h> exists.