mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-02-18 22:00:55 +01:00
More debug
This commit is contained in:
parent
f479764b34
commit
efe470254c
1 changed files with 6 additions and 0 deletions
|
@ -1081,6 +1081,9 @@ entersubsh(int flags, struct entersubsh_ret *retp)
|
|||
release_pgrp();
|
||||
shout = NULL;
|
||||
if (flags & ESUB_NOMONITOR) {
|
||||
#ifdef DEBUG_JOB_CONTROL
|
||||
fprintf(stderr, "subsh with no monitor, blocking signals\n");
|
||||
#endif
|
||||
/*
|
||||
* Allowing any form of interactive signalling here is
|
||||
* actively harmful as we are in a context where there is no
|
||||
|
@ -1090,6 +1093,9 @@ entersubsh(int flags, struct entersubsh_ret *retp)
|
|||
signal_ignore(SIGTTIN);
|
||||
signal_ignore(SIGTSTP);
|
||||
} else if (!job_control_ok) {
|
||||
#ifdef DEBUG_JOB_CONTROL
|
||||
fprintf(stderr, "subsh with no job control, blocking signals\n");
|
||||
#endif
|
||||
/*
|
||||
* If this process is not going to be doing job control,
|
||||
* we don't want to do special things with the corresponding
|
||||
|
|
Loading…
Reference in a new issue