-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Yet another accumulated round of tweaks and cleanups
Notable changes: src/cmd/ksh93/bltins/{print,read}.c: - Eliminate some duplicate code in coprocess handling. src/cmd/ksh93/bltins/whence.c: - A 'whence -t' tweak analogous to efa18c8 (no behaviour change). src/cmd/ksh93/{data/lexstates.c,include/lexstates.h}: - Remove unused e_lexlabignore message (re: 66b6ce4). src/cmd/ksh93/sh/xec.c: sh_exec(): case T_FORK: - Remove redundant job.parent assignment; it is already done in the next if statement. src/cmd/ksh93/tests/pty.sh: - Add missing regression test for d195f57. src/cmd/ksh93/fun/dirs: - Do not exit with status 1. This fixes 'pushd' and 'popd' as well, as they call 'dirs' before returning. (re: a566596) README.md: - Update policy to match actual current practice. - Briefly document 'bin/package quiet make' and 'bin/package use'.
- Loading branch information
Showing
18 changed files
with
72 additions
and
43 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,8 +20,8 @@ ksh 93u+m general copyright notice | |
# K. Eugene Carlson <[email protected]> # | ||
# Anuradha Weeraman <[email protected]> # | ||
# Lev Kujawski <[email protected]> # | ||
# atheik <[email protected]> # | ||
# Phi <[email protected]> # | ||
# atheik <[email protected]> # | ||
# Ryan Schmidt <[email protected]> # | ||
# Harald van Dijk <[email protected]> # | ||
# Chase <[email protected]> # | ||
|
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,6 +12,7 @@ | |
# # | ||
# David Korn <[email protected]> # | ||
# Martijn Dekker <[email protected]> # | ||
# K. Eugene Carlson <[email protected]> # | ||
# # | ||
######################################################################## | ||
# | ||
|
@@ -39,4 +40,7 @@ function dirs | |
select i in "$dir" "${_push_stack[@]}" | ||
do : | ||
done < /dev/null | ||
# The select loop will exit with status 1 as there is no input | ||
# to read, but 'dirs' should not pass down that exit status. | ||
return 0 | ||
} |
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,6 +15,7 @@ | |
# Johnothan King <[email protected]> # | ||
# Govind Kamat <[email protected]> # | ||
# K. Eugene Carlson <[email protected]> # | ||
# Phi <[email protected]> # | ||
# # | ||
######################################################################## | ||
|
||
|
@@ -1230,5 +1231,23 @@ w ls $'~\t | |
r ^:test-5: ls \\~ab/\r\n$ | ||
! | ||
|
||
((SHOPT_VSH || SHOPT_ESH)) && | ||
chmod +x cmd_complete_me >cmd_complete_me && | ||
PATH=.:$PATH tst $LINENO <<"!" | ||
L command completion after init and after TERM change | ||
# https://github.com/ksh93/ksh/issues/642 | ||
d 40 | ||
p :test-1: | ||
w cmd_complet\t | ||
r cmd_complete_me \r\n$ | ||
# also try after TERM change | ||
p :test-2: | ||
w TERM=ansi | ||
p :test-3: | ||
w cmd_complet\t | ||
r cmd_complete_me \r\n$ | ||
! | ||
|
||
# ====== | ||
exit $((Errors<125?Errors:125)) |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,6 +15,7 @@ | |
* Phong Vo <[email protected]> * | ||
* Martijn Dekker <[email protected]> * | ||
* Johnothan King <[email protected]> * | ||
* Phi <[email protected]> * | ||
* * | ||
***********************************************************************/ | ||
#ifndef _SFIO_H | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,6 +16,7 @@ | |
* Martijn Dekker <[email protected]> * | ||
* Johnothan King <[email protected]> * | ||
* Phi <[email protected]> * | ||
* hyenias <[email protected]> * | ||
* * | ||
***********************************************************************/ | ||
#include "sfhdr.h" | ||
|