-2011-04-26 Eric Blake <eblake@redhat.com>
+2011-04-27 Eric Blake <eblake@redhat.com>
+
+ save-cwd: reduce default dependency
+ * modules/save-cwd (Depends-on): Use getcwd-lgpl.
+ * lib/save-cwd.c: Update comments.
+ * NEWS: Document the semantic change.
getcwd: enhance tests
* tests/test-getcwd-lgpl.c: New file, taken from...
* m4/getcwd-abort-bug.m4: Update comment.
* m4/getcwd-path-max.m4: Likewise.
-2011-04-27 Eric Blake <eblake@redhat.com>
-
getcwd-lgpl: new module
* modules/getcwd-lgpl: New module.
* lib/getcwd-lgpl.c: New file.
Date Modules Changes
+2011-04-27 save-cwd This module pulls in fewer dependencies by
+ default; to retain robust handling of directories
+ with an absolute name longer than PATH_MAX, you
+ must now explicitly include the 'getcwd' module.
+
2011-04-19 close-hook This module has been renamed to 'fd-hook' and
generalized.
The `raison d'etre' for this interface is that the working directory
is sometimes inaccessible, and getcwd is not robust or as efficient.
So, we prefer to use the open/fchdir approach, but fall back on
- getcwd if necessary.
+ getcwd if necessary. This module works for most cases with just
+ the getcwd-lgpl module, but to be truly robust, use the getcwd module.
Some systems lack fchdir altogether: e.g., OS/2, pre-2001 Cygwin,
SCO Xenix. Also, SunOS 4 and Irix 5.3 provide the function, yet it
Depends-on:
chdir-long
cloexec
-getcwd
+getcwd-lgpl
fchdir
stdbool
unistd-safer