Date: Fri, 07 Sep 2001 10:08:24 +0200 From: Poul-Henning Kamp <phk@critter.freebsd.dk> To: Peter Wemm <peter@wemm.org> Cc: "John W. De Boskey" <jwd@FreeBSD.ORG>, Current List <freebsd-current@FreeBSD.ORG> Subject: Re: __getcwd & errno 20 (Not a directory) vfs_cache.c Message-ID: <64092.999850104@critter> In-Reply-To: Your message of "Thu, 06 Sep 2001 23:50:17 PDT." <20010907065017.A22A6380C@overcee.netplex.com.au>
next in thread | previous in thread | raw e-mail | index | archive | help
In message <20010907065017.A22A6380C@overcee.netplex.com.au>, 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 phk@FreeBSD.ORG | 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 majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?64092.999850104>