diff options
-rw-r--r-- | ChangeLog | 12 | ||||
-rw-r--r-- | Src/utils.c | 2 |
2 files changed, 12 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog index 3a4ca1fc8..c960bbf46 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,13 @@ +2009-07-09 Eric Blake <ebb9@byu.net> + + * 27109: Touch up non-interactive MONITOR handling. + Don't mess with tty when MONITOR but not interactive. + +2009-07-09 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 27110: Src/init.c: Only turn on MONITOR if INTERACTIVE is on + or if set explicitly. + 2009-07-08 Peter Stephenson <pws@csr.com> * 27100: Allow MONITOR option in non-interactive shells. @@ -11916,5 +11926,5 @@ ***************************************************** * This is used by the shell to define $ZSH_PATCHLEVEL -* $Revision: 1.4729 $ +* $Revision: 1.4730 $ ***************************************************** diff --git a/Src/utils.c b/Src/utils.c index 510a02b65..ad4ffca92 100644 --- a/Src/utils.c +++ b/Src/utils.c @@ -3590,7 +3590,7 @@ attachtty(pid_t pgrp) { static int ep = 0; - if (jobbing) { + if (jobbing && interact) { #ifdef HAVE_TCSETPGRP if (SHTTY != -1 && tcsetpgrp(SHTTY, pgrp) == -1 && !ep) #else |