Re: sys_getcwd() broken ?

Martin von Loewis (martin@mira.isdn.cs.tu-berlin.de)
Wed, 27 May 1998 09:16:18 +0200


> sys_getcwd() seems to always return ENOENT, unless I comment out the
> unlinked directory check, in which case it works fine. Anyone know the
> correct fix ?

What kernel version? My glibc2.0.93-based /bin/pwd gives

SYS_183(0x804d748, 0x1001, 0x40125a88, 0x804d748, 0x804d748) = 13
write(1, "/home/martin\n", 13) = 13

which looks right to me.

Martin

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu