getcwd-lgpl: new module
authorEric Blake <eblake@redhat.com>
Tue, 26 Apr 2011 20:40:58 +0000 (14:40 -0600)
committerEric Blake <eblake@redhat.com>
Wed, 27 Apr 2011 17:27:55 +0000 (11:27 -0600)
commit043be67acb94a724f96e3b18c3a09aefffd463af
tree4d67117a8d103d5f47d0497c7139c279e3ac1a21
parent68af114f89e20660ddde4e03cbdc81396828fd23
getcwd-lgpl: new module

For programs that aren't worried about being invoked from an
current working directory longer than PATH_MAX (perhaps because
the program always does chdir to a sane location first), the
getcwd module is overkill, given that all modern portability
targets have a getcwd that works on short names.

* modules/getcwd-lgpl: New module.
* lib/getcwd-lgpl.c: New file.
* doc/posix-functions/getcwd.texi (getcwd): Document it.
* MODULES.html.sh (lacking POSIX:2008): Likewise.
* modules/getcwd (configure.ac): Set C witness.
* m4/getcwd.m4 (gl_FUNC_GETCWD_LGPL): New macro.

Signed-off-by: Eric Blake <eblake@redhat.com>
ChangeLog
MODULES.html.sh
doc/posix-functions/getcwd.texi
lib/getcwd-lgpl.c [new file with mode: 0644]
m4/getcwd.m4
modules/getcwd
modules/getcwd-lgpl [new file with mode: 0644]