This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]