1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-07 11:41:16 +02:00

More debug

This commit is contained in:
Peter Stephenson 2018-09-07 09:43:51 +01:00
parent 165000113a
commit b8918c8241

View file

@ -1066,6 +1066,9 @@ entersubsh(int flags)
release_pgrp(); release_pgrp();
shout = NULL; shout = NULL;
if (flags & ESUB_NOMONITOR) { 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 * Allowing any form of interactive signalling here is
* actively harmful as we are in a context where there is no * actively harmful as we are in a context where there is no
@ -1075,6 +1078,9 @@ entersubsh(int flags)
signal_ignore(SIGTTIN); signal_ignore(SIGTTIN);
signal_ignore(SIGTSTP); signal_ignore(SIGTSTP);
} else if (!job_control_ok) { } 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, * If this process is not going to be doing job control,
* we don't want to do special things with the corresponding * we don't want to do special things with the corresponding