diff options
author | Chet Ramey <chet.ramey@case.edu> | 2011-12-03 13:43:49 -0500 |
---|---|---|
committer | Chet Ramey <chet.ramey@case.edu> | 2011-12-03 13:43:49 -0500 |
commit | 9d2b70f04e80e6373f4815b16961d519d24ee1ce (patch) | |
tree | 19c5e290f2187535c77f0ad993e5738d75ecf4d6 /builtins/cd.def | |
parent | 2206f89ab425e2b10a68edac5dd749c1541c9694 (diff) | |
download | bash-9d2b70f04e80e6373f4815b16961d519d24ee1ce.tar.gz |
commit bash-20050225 snapshot
Diffstat (limited to 'builtins/cd.def')
-rw-r--r-- | builtins/cd.def | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/builtins/cd.def b/builtins/cd.def index 6734b816..d7bf7705 100644 --- a/builtins/cd.def +++ b/builtins/cd.def @@ -246,9 +246,13 @@ cd_builtin (list) printf ("%s\n", path); free (temp); +#if 0 /* Posix.2 says that after using CDPATH, the resultant value of $PWD will not contain `.' or `..'. */ return (bindpwd (posixly_correct || no_symlinks)); +#else + return (bindpwd (no_symlinks)); +#endif } else free (temp); |