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: Neil Booth <neil at daikokuya dot demon dot co dot uk>
- Subject: Re: [dave@hiauly1.hia.nrc.ca: Incorrect file name simplication]
- From: "Zack Weinberg" <zackw at stanford dot edu>
- Date: Thu, 29 Mar 2001 14:20:59 -0800
- Cc: John David Anglin <dave at hiauly1 dot hia dot nrc dot ca>, gcc-bugs at gcc dot gnu dot org
- References: <20010329221600.A6696@daikokuya.demon.co.uk>
On Thu, Mar 29, 2001 at 10:16:00PM +0100, Neil Booth wrote:
> Zack,
>
> What do you suggest we do here? It's a pathname-simplification-
> doesn't-work-with-symlinks issue.
...
> Looking at fix-header with gdb, it appears that the file
> `/usr/include/sys/../h/types.h' gets simplied to `/usr/include/h/types.h'
> which doesn't exist because `sys' is a symbolic link to `/sys/h'. This
> causes open_file to fail.
I'd like some more context. How do we get a silly path like that in
the first place?
zw