[dave@hiauly1.hia.nrc.ca: Incorrect file name simplication]

Zack Weinberg zackw@Stanford.EDU
Fri Mar 30 10:01:00 GMT 2001


On Fri, Mar 30, 2001 at 12:52:59PM -0500, John David Anglin wrote:
> > How about _cpp_simplify_pathname doing a lstat () on the path to the left
> > when about to simplify a ".." segment and not bothering unless S_ISDIR?
> > Is lstat portable enough?  We could do it iff !VMS && !MSDOS_BLAH.
> 
> As far as I can tell, the algorithm is totally wrong for VMS.

Of course it is.  I do not understand VMS pathname syntax.  I waited
for _two years_ for a VMS person to fix the code we used to have in
there to deal with its pathnames (hack_vms_include_specification),
then I gave up and deleted it.  Where were you?

zw



More information about the Gcc-bugs mailing list