Date: Fri, 20 May 2011 22:55:18 +0000 (UTC) From: Jilles Tjoelker <jilles@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/bin/sh cd.c sh.1 src/tools/regression/bin/sh/builtins cd3.0 cd4.0 Message-ID: <201105202256.p4KMu9ZI069389@repoman.freebsd.org>
index | next in thread | raw e-mail
jilles 2011-05-20 22:55:18 UTC
FreeBSD src repository
Modified files:
bin/sh cd.c sh.1
Added files:
tools/regression/bin/sh/builtins cd3.0 cd4.0
Log:
SVN rev 222154 on 2011-05-20 22:55:18Z by jilles
sh: Implement the cd -e flag proposed for the next POSIX issue.
This reflects failure to determine the pathname of the new directory in the
exit status (1). Normally, cd returns successfully if it did chdir() and the
call was successful.
In POSIX, -e only has meaning with -P; because our -L is not entirely
compliant and may fall back to -P mode, -e has some effect with -L as well.
Revision Changes Path
1.46 +17 -8 src/bin/sh/cd.c
1.164 +11 -2 src/bin/sh/sh.1
1.1 +21 -0 src/tools/regression/bin/sh/builtins/cd3.0 (new)
1.1 +38 -0 src/tools/regression/bin/sh/builtins/cd4.0 (new)
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201105202256.p4KMu9ZI069389>
