Subject: Re: bin/30735: sh: cd: .//foo failed
To: None <gnats-admin@netbsd.org, netbsd-bugs@netbsd.org>
From: Rui Paulo <rpaulo@NetBSD.org>
List: netbsd-bugs
Date: 07/12/2005 11:19:01
The following reply was made to PR bin/30735; it has been noted by GNATS.

From: Rui Paulo <rpaulo@NetBSD.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: bin/30735: sh: cd: .//foo failed
Date: Tue, 12 Jul 2005 12:18:27 +0100

 On 2005.07.12 08:52:01 +0000, lha@netbsd.org wrote:
  | >How-To-Repeat:
  | 
  | : lha@nutcracker ; sh -x /tmp/foo.sh 
  | + test -d foo
  | + mkdir foo
  | + cd ./foo
  | + cd .//foo
  | cd: can't cd to .//foo
  | + echo cd .//foo failed
  | cd .//foo failed
 
 Works well if you enable cdprint option:
 
 $ cd .//foo
 cd: can't cd to .//foo
 $ set -o cdprint
 $ cd .//foo
 /tmp/foo
 $ pwd
 /tmp/foo
 
 		-- Rui Paulo