Hash :
0d22381b
Author :
Date :
2011-09-23T12:32:41
New module 'chdir'. * modules/chdir: New file. * lib/unistd.in.h: Include <io.h>, <direct.h> also for chdir. (chdir): New declaration. * m4/unistd_h.m4 (gl_UNISTD_H): Test whether chdir is declared. (gl_UNISTD_H_DEFAULTS): Initialize GNULIB_CHDIR. * modules/unistd (Makefile.am): Substitute GNULIB_CHDIR. * tests/test-unistd-c++.cc: Check signature of chdir. * doc/posix-functions/chdir.texi: Mention problem on native Windows. * modules/chdir-long (Depends-on): Add chdir. * modules/fchdir (Depends-on): Likewise. * modules/rename (Depends-on): Likewise. * modules/savewd (Depends-on): Likewise.
Description:
Save and restore the working directory, possibly using a child process.
Files:
lib/savewd.h
lib/savewd.c
m4/savewd.m4
Depends-on:
chdir
dosname
errno
fchdir
fcntl-safer
fcntl-h
raise
stdbool
stdlib
xalloc
configure.ac:
gl_SAVEWD
Makefile.am:
lib_SOURCES += savewd.h savewd.c
Include:
"savewd.h"
License:
GPL
Maintainer:
Paul Eggert, Jim Meyering