-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Actually deactivate CDPATH when unsetting it
After 'unset CDPATH', CDPATH continued to work as if nothing happened. Unsetting it should be a valid way to deactivate it. This bug is in every ksh93 version. src/cmd/ksh93/bltins/cd_pwd.c: b_cd(): - Fix a manifest logic error: first check if CDPATH (CDPNOD) is unset before assigning to 'cdpath', not the other way around. Setting the 'cdpath' pointer is what activates the CDPATH search.
- Loading branch information
Showing
3 changed files
with
5 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters