getcwd: port to mingw
authorEric Blake <ebb9@byu.net>
Thu, 10 Sep 2009 02:52:26 +0000 (20:52 -0600)
committerEric Blake <ebb9@byu.net>
Thu, 10 Sep 2009 03:07:37 +0000 (21:07 -0600)
commite2b8816f0465fa211eb5b49ecbeb78e9c3cc46b8
tree1716c0d3072c949df9c16a61371570daa6138d67
parent2d9360ffcc03fac61415d14595fd76e6abb59db3
getcwd: port to mingw

* m4/getcwd.m4 (gl_FUNC_GETCWD): Mingw directories are very
different from the POSIX assumptions made throughout the getcwd
module; fortunately, the mingw getcwd does not need replacement.
(gl_FUNC_GETCWD_NULL): Skip test on mingw.
* modules/getcwd-tests: New test.
* tests/test-getcwd.c: Likewise.

Signed-off-by: Eric Blake <ebb9@byu.net>
ChangeLog
m4/getcwd.m4
modules/getcwd-tests [new file with mode: 0644]
tests/test-getcwd.c [new file with mode: 0644]