Subject: Re: pwd returning duplicate directory in path
To: Michael L. Hitch <mhitch@lightning.msu.montana.edu>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: tech-kern
Date: 02/13/2004 22:05:14
On Fri, Feb 13, 2004 at 09:13:42AM -0700, Michael L. Hitch wrote:
>   I noticed this on my PC164 recently (two to three weeks ago, mabye).
> 
>   My first thought was that it was something with the old version of
> NetBSD I was running, or maybe how long my system had been up:
> 
> alpha$ uname -v
> NetBSD 1.5.3_ALPHA (PC164) #0: Mon Feb 11 01:25:05 MST 2002
> mhitch@alpha.msu.montana.edu:/usr/cvsroot/src/sys/arch/alpha/compile/PC164
> 
> alpha$ uptime
>  9:05AM  up 521 days, 21:30, 13 users, load averages: 1.15, 1.14, 1.09
> 
>   The duplication of the path seems to eventually go away after some time.
> 
>   In my case, pwd usually shows the correct path, but getcwd(3) returns
> the bad path:

What shell are you using ? Maybe pwd is a builtin in your case ?

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
     NetBSD: 26 ans d'experience feront toujours la difference
--