DragonFly commits List (threaded) for 2011-08
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
git: sh: Correct criterion for using CDPATH in cd.
commit db98aac00aa4b78e8811da43a1a6366f4feff158
Author: Peter Avalos <pavalos@dragonflybsd.org>
Date: Sun Aug 21 12:46:44 2011 -0700
sh: Correct criterion for using CDPATH in cd.
CDPATH should be ignored not only for pathnames starting with '/' but
also for pathnames whose first component is '.' or '..'.
Obtained-from: FreeBSD 222381
Summary of changes:
bin/sh/cd.c | 7 +++++--
tools/regression/bin/sh/builtins/cd6.0 | 10 ++++++++++
tools/regression/bin/sh/builtins/cd7.0 | 15 +++++++++++++++
3 files changed, 30 insertions(+), 2 deletions(-)
create mode 100644 tools/regression/bin/sh/builtins/cd6.0
create mode 100644 tools/regression/bin/sh/builtins/cd7.0
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/db98aac00aa4b78e8811da43a1a6366f4feff158
--
DragonFly BSD source repository
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]