Re: squid3 future directory structure

From: Alex Rousskov <rousskov@dont-contact.us>
Date: Tue, 26 Feb 2008 16:50:39 -0700

On Wed, 2008-02-27 at 07:59 +1100, Robert Collins wrote:
> On Fri, 2008-02-22 at 20:11 +0100, Guido Serassio wrote:
> > Hi Alex,
> >
> > At 19:29 22/02/2008, Alex Rousskov wrote:
> > >On Fri, 2008-02-22 at 19:23 +0100, Guido Serassio wrote:
> > >
> > > > Changing the case of files/dir will not be a problem if we will avoid
> > > > upper/lower case collisions.
> > >
> > >This only applies to files in the same directory, right?
> >
> > Sure.
> >
> > > AFAICT,
> > >filenames from different directories may still collide and even have
> > >identical case.
> >
> > Yes, absolutely no problems here.
>
> Actually there is a problem.
>
> touch include1/Foo.h
> touch include2/foo.h
>
> g++ -I include1 -I include2 foo.cc
>
> foo.cc:
> #include "foo.h"

That #include line would be illegal in cleaned up sources, of course.
You are supposed to say "include1/Foo.h" or equivalent. That's why
duplicating group in file names may become unnecessary: Group/GroupFoo.h
becomes Group/Foo.h

Alex.
Received on Tue Feb 26 2008 - 16:50:52 MST

This archive was generated by hypermail pre-2.1.9 : Sat Mar 01 2008 - 12:00:09 MST