diff options
author | Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp> | 2022-06-09 15:08:39 +0900 |
---|---|---|
committer | Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp> | 2022-06-09 15:08:39 +0900 |
commit | c36068357b32b90cf034991bad7e9e1386c396c7 (patch) | |
tree | 0eafd440a1f88c75cc725dd4e866168bf668471f | |
parent | 734740a5ed52d236f3893cc738fb09c7203a5138 (diff) | |
download | zsh-c36068357b32b90cf034991bad7e9e1386c396c7.tar.gz zsh-c36068357b32b90cf034991bad7e9e1386c396c7.tar.xz zsh-c36068357b32b90cf034991bad7e9e1386c396c7.zip |
50342: fix test added by 50306
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | Src/jobs.c | 2 | ||||
-rw-r--r-- | Test/A05execution.ztst | 2 |
3 files changed, 8 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog index b16668984..2dce207dc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2022-06-09 Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp> + + * 50342: Src/jobs.c, Test/A05execution.ztst: fix test added by + 50306 + 2022-06-08 Bart Schaefer <schaefer@zsh.org> * 50341: Src/parse.c: disallow here-doc markers containing newline diff --git a/Src/jobs.c b/Src/jobs.c index aa32f4e80..e0e453ed8 100644 --- a/Src/jobs.c +++ b/Src/jobs.c @@ -2221,7 +2221,9 @@ addbgstatus(pid_t pid, int status) { static long child_max; Bgstatus bgstatus_entry; +#ifdef DEBUG LinkNode node; +#endif if (!child_max) { #ifdef _SC_CHILD_MAX diff --git a/Test/A05execution.ztst b/Test/A05execution.ztst index b257ddf2c..bcadc6d56 100644 --- a/Test/A05execution.ztst +++ b/Test/A05execution.ztst @@ -396,7 +396,7 @@ F:anonymous function, and a descriptor leak when backgrounding a pipeline # TBD: the 0 above is believed to be bogus and should also be turned # into 127 when the ccorresponding bug is fixed in the main shell. - sleep 1 & pid=$! + sleep 2 & pid=$! kill -STOP $pid sleep 1 kill -CONT $pid |