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 Wed, Jul 17, 2002 at 11:11:43AM -0700, Richard Henderson wrote:
> On Wed, Jul 17, 2002 at 12:01:17PM +0930, Alan Modra wrote:
> > +      if (p[1] == '/' && (p == result || p[-1] == '/'))
> 
> Should be using IS_DIR_SEPARATOR throughout.

Right.  Is the patch OK with that change?

-- 
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]