This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: [dave@hiauly1.hia.nrc.ca: Incorrect file name simplication]
- To: John David Anglin <dave at hiauly1 dot hia dot nrc dot ca>
- Subject: Re: [dave@hiauly1.hia.nrc.ca: Incorrect file name simplication]
- From: "Zack Weinberg" <zackw at Stanford dot EDU>
- Date: Fri, 30 Mar 2001 10:01:29 -0800
- Cc: Neil Booth <neil at daikokuya dot demon dot co dot uk>, gcc-bugs at gcc dot gnu dot org
- References: <20010330181638.C6696@daikokuya.demon.co.uk> <200103301752.MAA20266@hiauly1.hia.nrc.ca>
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