Subject: Re: lib/30943: realpath() behaviour changed with nonexistant relative path
To: None <lib-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: Mark Davies <mark@mcs.vuw.ac.nz>
List: netbsd-bugs
Date: 08/10/2005 21:33:03
The following reply was made to PR lib/30943; it has been noted by GNATS.
From: Mark Davies <mark@mcs.vuw.ac.nz>
To: Quentin Garnier <cube@cubidou.net>
Cc: gnats-bugs@netbsd.org, enami@netbsd.org
Subject: Re: lib/30943: realpath() behaviour changed with nonexistant relative path
Date: Thu, 11 Aug 2005 09:32:16 +1200
On Thursday 11 August 2005 02:10, Quentin Garnier wrote:
> Elad's change in revision 1.37 of lib/libc/gen/getcwd.c introduced that
> behaviour. Looking at it, the part of that changes that produces that
> only continued the idea of allowing a last non-existing component.
> From my test, Linux doesn't allow this, and that's exactly what Mark
> shows us here.
For the record Solaris and Tru64 also don't allow this, with or without the
trailing "/'.
cheers
mark