New module 'chdir'.
authorBruno Haible <bruno@clisp.org>
Fri, 23 Sep 2011 10:32:41 +0000 (12:32 +0200)
committerBruno Haible <bruno@clisp.org>
Fri, 23 Sep 2011 10:36:08 +0000 (12:36 +0200)
commit0d22381b8090eefaf8a5f0c5b9e196ea40b12231
tree17445bbcadb5a8dc1bf3a2ccedca9a59a3031b81
parent07fb52f87fecb1e12eece031a9dec184cacdde12
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.
ChangeLog
doc/posix-functions/chdir.texi
lib/unistd.in.h
m4/unistd_h.m4
modules/chdir [new file with mode: 0644]
modules/chdir-long
modules/fchdir
modules/rename
modules/savewd
modules/unistd
tests/test-unistd-c++.cc