Jim Meyering <[EMAIL PROTECTED]> writes: > Why does your config.h define HAVE_PARTLY_WORKING_GETCWD > when using Sun C 5.8?
Sorry, I don't know offhand. I don't currently have access to the affected machine but will try to get to it soon. It is Solaris 10 x86, patched to about a month ago. I built it with a local (ufs) file system. On Solaris 10, getcwd is a system call, and I suspect it's much better in common practice to try the syscall than to jump immediately to our own code, even if getcwd (NULL, 0) does not work as it does with glibc. In the meantime I've backed out the patch.