bison-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [tim-3] Improved DJGPP support in src/files.c


From: Tim Van Holder
Subject: Re: [tim-3] Improved DJGPP support in src/files.c
Date: Thu, 17 Jan 2002 23:51:16 +0100

> > From: "Tim Van Holder" <address@hidden>
> > Date: Thu, 17 Jan 2002 16:33:12 +0100
> 
> > >   FILESYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR
> > 
> 
> Why not just use something like this:
> 
>    test -d '.\.\.\.\.\.\.\.'
> 
> That would avoid having to create a temporary.

Because creating a small tree of our own guarantees we
won't run into the degenerate case that the path we try
happens to exist (as '.\.\.\.\.\.\.\.' is a valid
directory name on most Unices).
But I guess I'm being too paranoid.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]