(dropped the cc by accident) ----- Forwarded message from Michael Stone <mst...@debian.org> ----- On Fri, Sep 16, 2011 at 09:02:20PM +0200, you wrote:
Then maybe your system has problems with long names? What is errno when getcwd returns NULL here?
also ENOENT
/* If libc has the bug in question, this invocation of getcwd results in a failed assertion. */ cwd = getcwd (NULL, 0); if (cwd == NULL) fail = 4; /* getcwd didn't assert, but it failed for a long name where the answer could have been learned. */ Can you tell me how to reproduce this?
Base install + dev tools for the debian kfreebsd-i386 architecture.