autoconf-patches
[Top][All Lists]
Advanced

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

Re: Problem with symlinks and VPATH Builds


From: Paul Eggert
Subject: Re: Problem with symlinks and VPATH Builds
Date: Thu, 25 Jul 2002 01:10:52 -0700 (PDT)

> From: "Mark D. Roth" <address@hidden>
> Date: Wed, 24 Jul 2002 19:57:35 -0500
> 
> Please look over the attached patch and let me know what you think.

I don't see how that patch solves the problem in general.  It has
a special case for $1 = ., and doesn't handle any other case.

I looked at the ksh source code, since I couldn't believe that it
always has this problem.  I discovered that ksh's cd command has a -P
option that causes it to behave in the traditional way.

I also looked at POSIX 1003.1-2001, and discovered that it _requires_
the ksh93 behavior.

So it appears to me that the "proper" fix is to try "cd -P DIR" first,
and to fall back on plain "cd DIR" if that doesn't work.



reply via email to

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