Date: Mon, 22 Nov 2010 23:49:06 +0000 (UTC) From: Jilles Tjoelker <jilles@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/bin/sh cd.c Message-ID: <201011222349.oAMNnKg8017790@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jilles 2010-11-22 23:49:06 UTC FreeBSD src repository Modified files: bin/sh cd.c Log: SVN rev 215727 on 2010-11-22 23:49:06Z by jilles sh: Fix confusing behaviour if chdir succeeded but getcwd failed in cd -P. If getcwd fails, do not treat this as an error, but print a warning and unset PWD. This is similar to the behaviour when starting the shell in a directory whose name cannot be determined. Revision Changes Path 1.43 +5 -2 src/bin/sh/cd.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201011222349.oAMNnKg8017790>