save-cwd: remove #if-!HAVE_FCHDIR'd code; use the fchdir module
authorJim Meyering <meyering@redhat.com>
Tue, 11 Jan 2011 20:41:41 +0000 (21:41 +0100)
committerJim Meyering <meyering@redhat.com>
Tue, 11 Jan 2011 21:12:52 +0000 (22:12 +0100)
commit2a073aa43c076d19beeffcca1684d2bcaaba28be
treece1d2a9bfb2f235a0f6103034ce23b0a0dc53da2
parent2392b18099a64ffb7aa2cf4fa3c81da96d2a5fc1
save-cwd: remove #if-!HAVE_FCHDIR'd code; use the fchdir module

There is no need to work around the lack of the fchdir function,
since gnulib can now provide a replacement when required.
* lib/save-cwd.c: Remove #if !HAVE_FCHDIR...#endif code.
* modules/save-cwd (Depends-on): Add fchdir.
ChangeLog
lib/save-cwd.c
modules/save-cwd