getcwd on mingw

2010-04-03 Thread Bruno Haible
On mingw, I'm seeing this error in the C++ namespace tests: ../gllib/unistd.h:794: error: invalid conversion from `char*(*)(char*, int)' to `char*(*)(char*, size_t)' This should fix it: 2010-04-03 Bruno Haible unistd: Fix C++ test error on mingw. * lib/unistd.in.h (getcwd):

getcwd on mingw

2009-09-09 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 getcwd does not need replacement on mingw, even though it fails runtime tests in getcwd.m4, and even though cross-compilation was pessimistic. This fixes things, and adds a simple unit test to prove that getcwd is behaving reasonably. - -- Don't work