mirror of
https://github.com/zsh-users/zsh
synced 2024-10-01 21:54:34 +00:00
unposted: cross-reference zmodload from the modules intro doc.
29769: follow-up 29677 to handle the case where thisjob == -1.
This commit is contained in:
parent
6f2f2c7477
commit
748bd73d88
|
@ -1,3 +1,10 @@
|
|||
2011-09-25 Barton E. Schaefer <schaefer@brasslantern.com>
|
||||
|
||||
* 29769: Src/signals.c: handle thisjob == -1 (no foreground job)
|
||||
when checking for whether a background job is allowed to suspend.
|
||||
|
||||
* unposted: Doc/Zsh/modules.yo: cross-reference zmodload.
|
||||
|
||||
2011-09-22 Peter Stephenson <pws@csr.com>
|
||||
|
||||
* Daniel Friesel: 29796: Completion/X/Command/_mplayer: complete
|
||||
|
@ -15440,5 +15447,5 @@
|
|||
|
||||
*****************************************************
|
||||
* This is used by the shell to define $ZSH_PATCHLEVEL
|
||||
* $Revision: 1.5472 $
|
||||
* $Revision: 1.5473 $
|
||||
*****************************************************
|
||||
|
|
|
@ -6,7 +6,11 @@ Some optional parts of zsh are in modules, separate from the core
|
|||
of the shell. Each of these modules may be linked in to the
|
||||
shell at build time,
|
||||
or can be dynamically linked while the shell is running
|
||||
if the installation supports this feature. The modules that
|
||||
are bundled with the zsh distribution are:
|
||||
if the installation supports this feature.
|
||||
Modules are linked at runtime with the tt(zmodload) command,
|
||||
see ifzman(zmanref(zshbuiltins))\
|
||||
ifnzman(noderef(Shell Builtin Commands)).
|
||||
|
||||
The modules that are bundled with the zsh distribution are:
|
||||
|
||||
includefile(Zsh/modlist.yo)
|
||||
|
|
|
@ -491,7 +491,9 @@ wait_for_processes(void)
|
|||
*/
|
||||
if (findproc(pid, &jn, &pn, 0)) {
|
||||
if (((jn->stat & STAT_BUILTIN) ||
|
||||
(list_pipe && (jobtab[thisjob].stat & STAT_BUILTIN))) &&
|
||||
(list_pipe &&
|
||||
(thisjob == -1 ||
|
||||
(jobtab[thisjob].stat & STAT_BUILTIN)))) &&
|
||||
WIFSTOPPED(status) && WSTOPSIG(status) == SIGTSTP) {
|
||||
killjb(jn, SIGCONT);
|
||||
zwarn("job can't be suspended");
|
||||
|
|
Loading…
Reference in a new issue