Subject: PR/30973 CVS commit: src/bin/sh
To: None <gnats-admin@netbsd.org, netbsd-bugs@netbsd.org>
From: David Laight <dsl@netbsd.org>
List: netbsd-bugs
Date: 08/20/2005 21:08:01
The following reply was made to PR bin/30973; it has been noted by GNATS.

From: David Laight <dsl@netbsd.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: PR/30973 CVS commit: src/bin/sh
Date: Sat, 20 Aug 2005 21:07:43 +0000 (UTC)

 Module Name:	src
 Committed By:	dsl
 Date:		Sat Aug 20 21:07:43 UTC 2005
 
 Modified Files:
 	src/bin/sh: cd.c sh.1
 
 Log Message:
 Don't apply CDPATH if the the first component of the target is "." or "..".
 Fixes PR/30973 and applies the principle of least surprise.
 Update documentation to match (including date).
 (matches behaviour of pdksh - if not it's documentation)
 
 
 To generate a diff of this commit:
 cvs rdiff -r1.35 -r1.36 src/bin/sh/cd.c
 cvs rdiff -r1.82 -r1.83 src/bin/sh/sh.1
 
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.