Subject: Re: lib/30943: realpath() behaviour changed with nonexistant relative
To: None <lib-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: Elad Efrat <elad@NetBSD.org>
List: netbsd-bugs
Date: 08/13/2005 08:23:02
The following reply was made to PR lib/30943; it has been noted by GNATS.

From: Elad Efrat <elad@NetBSD.org>
To: Mark Davies <mark@mcs.vuw.ac.nz>
Cc: gnats-bugs@netbsd.org
Subject: Re: lib/30943: realpath() behaviour changed with nonexistant relative
 path
Date: Sat, 13 Aug 2005 11:13:20 +0300

 Mark Davies wrote:
 
 > I realise that 1.38 "fixed" a bug to give consistent behavior whether or not 
 > you had a trailing slash its just that,
 
 The commit log message for revisions 1.37 and 1.38 mention what bugs
 they correct. :)
 
 > the more I look at 
 > http://www.opengroup.org/onlinepubs/009695399/functions/realpath.html
 > and at implementations on other systems, I think that that behavior - of 
 > allowing the last element not to exist (with or without trailing slash) is 
 > wrong.  So I thing the correct patch is very similar to your "revision 1.39"
 
 Yeah, but like martin@ pointed out - how much will it hurt existing
 programs?
 
 -e.
 
 -- 
 Elad Efrat
 PGP Key ID: 0x666EB914