mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-02 10:01:11 +02:00
zsh-workers/8109
This commit is contained in:
parent
ac92473443
commit
fe32b566e1
3 changed files with 4 additions and 1 deletions
|
@ -3152,7 +3152,8 @@ zexit(int val, int from_signal)
|
|||
HEAPALLOC {
|
||||
if (isset(MONITOR) && !stopmsg && !from_signal) {
|
||||
scanjobs(); /* check if jobs need printing */
|
||||
checkjobs(); /* check if any jobs are running/stopped */
|
||||
if (unset(SHJOBCONTROL))
|
||||
checkjobs(); /* check if any jobs are running/stopped */
|
||||
if (stopmsg) {
|
||||
stopmsg = 2;
|
||||
LASTALLOC_RETURN;
|
||||
|
|
|
@ -186,6 +186,7 @@ static struct optname optns[] = {
|
|||
{NULL, "shinstdin", OPT_SPECIAL, SHINSTDIN},
|
||||
{NULL, "shoptionletters", OPT_EMULATE|OPT_BOURNE, SHOPTIONLETTERS},
|
||||
{NULL, "shortloops", OPT_ALL, SHORTLOOPS},
|
||||
{NULL, "shjobcontrol", OPT_EMULATE|OPT_NONZSH, SHJOBCONTROL},
|
||||
{NULL, "shwordsplit", OPT_EMULATE|OPT_BOURNE, SHWORDSPLIT},
|
||||
{NULL, "singlecommand", OPT_SPECIAL, SINGLECOMMAND},
|
||||
{NULL, "singlelinezle", OPT_KSH, SINGLELINEZLE},
|
||||
|
|
|
@ -1359,6 +1359,7 @@ enum {
|
|||
SHINSTDIN,
|
||||
SHOPTIONLETTERS,
|
||||
SHORTLOOPS,
|
||||
SHJOBCONTROL,
|
||||
SHWORDSPLIT,
|
||||
SINGLECOMMAND,
|
||||
SINGLELINEZLE,
|
||||
|
|
Loading…
Reference in a new issue