[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Quoting paths!?
From: |
Tim Van Holder |
Subject: |
Re: Quoting paths!? |
Date: |
Wed, 6 Jun 2001 23:57:51 +0200 |
> Alexander> I was referring to a specific report which got. Seems the
> Alexander> bug refers to a build on cygwin (some win$) which is
> Alexander> performed in d:/two dirs /project/ so any un-quoted request
> Alexander> like cd d:/two dirs/project/lib seems to fail!?
>
> Hi Alexandre,
>
> Are you sure this is worth the trouble? I mean, `make', anyway, hates
> the white spaces, so I think you're asking us to fight a lost war.
>
> Or am I missing something?
I'm not sure, but I think the win32 port of make handles this better. In
any case, that would only become an issue if $srcdir was set to an
absolute path (it usually won't be).
At the very least, we should guard uses of $TMPDIR; this might point to
"/foo/temporary files" for example. Here being robust definitely makes
sense. And I see no reason not to be as robust as possible for all
dir references; after all, using quotes doesn't represent any kind of
overhead, does it?