getcwd constructs pathname by dir_lookup(".."). When root of translated file system is found, dir_readdir is run for the directory that contains the translator. For each directory entry, dir_lookup is called in order to find the translated node.
The problem is that if dir_lookup fails for some reason, the readdir loop stops and the whole function fails. Imagine we have directories /cdrom and /test, /test is after /cdrom in directory, both has translators attached and /cdrom translator dies (e.g., because there is no cdrom). This means that all calls of getcwd inside /test will fail!
If someone else doesn't do it, I'll provide tested patch next week.
Regards, ogi
PS Compiling glibc makes me sick. I dream for fixing the Hurd, which compiles for only an hour.
_______________________________________________ Bug-hurd mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-hurd