In message <[EMAIL PROTECTED]>, Peter Wemm writes:
>Poul-Henning Kamp wrote:
>> You are not supposed to call __getcwd() directly.
>Yes, but it would be an excellent junior-kernel-hacker task to make it work
>in all cases, ie: manually searching parent directories.  netbsd does this,
>as does linux, and if we're going to emulate the linux getcwd(2) syscall
>then we need it.  The NetBSD code is probably a good place to start for
>pointers, but it wont be directly usable due to name-cache differences.

I fully agree, but that was not the subject :-)

Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
[EMAIL PROTECTED]         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to