This is the mail archive of the gcc-patches@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]
Other format: [Raw text]

Re: strip out ".." from gcc search paths


On Sat, Jul 27, 2002 at 11:44:59AM +0100, Jason Merrill wrote:
> Hmm.  I believe we deliberately didn't do this in the past, to avoid
> getting confused by symlinks.

Yes, I understand.  The code only strips out `dir/../' when `dir'
can't be accessed, ie. doesn't exist.  The latest patch, which is
how I should have written it in the first place :), is even more
cautious about tweaking the path.

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre


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