Subject: CVS commit: src/bin/sh
To: None <source-changes@NetBSD.org>
From: David Laight <dsl@netbsd.org>
List: source-changes
Date: 10/30/2003 09:40:26
Module Name: src
Committed By: dsl
Date: Thu Oct 30 09:40:26 UTC 2003
Modified Files:
src/bin/sh: cd.c
Log Message:
Validate the arguments to 'pwd'. Treat -L and -P as per pwd(1).
Note that 'pwd -L' and 'pwd -P' almost always report the same answer as
the shell detects when 'cd' follows a symlink and discards its cached 'pwd'
To generate a diff of this commit:
cvs rdiff -r1.32 -r1.33 src/bin/sh/cd.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.