gnulib's getcwd fails to get the working directory and almost always returns an error on Interix 3.5.
The main cause is Interix's readdir fills a false value in d_ino member of struct dirent. gnulib's getcwd is checking for directory entries' ino obtained from readdir against another ino obtained from stat as a shortcut, so the two inos never match. Possible solution is one of the followings. 1. Modify the configure test for d_ino member in struct dirent to fail on Interix and process as if there is no d_ino member. 2. Modify getcwd.c not to test inos on Interix. Probably the former is better IMHO. -- XMPP (Jabber): [EMAIL PROTECTED] .NET Messenger: [EMAIL PROTECTED]