-
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.
whence -a: fix spurious 'undefined function' message
$ ksh -c 'whence -a printf' printf is a shell builtin printf is /usr/bin/printf printf is an undefined function The third line should not appear. src/cmd/ksh93/bltins/whence.c: - Remove faulty extra check for undefined (= autoload) functions. This was already handled earlier, on lines 192-193. src/cmd/ksh93/tests/builtins.sh: - Add regression test. - For previous 'whence -a' test, don't bother with shell function. Fixes #26
- Loading branch information
Showing
2 changed files
with
13 additions
and
8 deletions.
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