diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | Src/jobs.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog index a53321e51..3225513a5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2014-12-16 Barton E. Schaefer <schaefer@brasslantern.com> + + * Chirantan Ekbote: 33982: Src/jobs.c: minimal support for pid + namespaces by recognizing that GETPGRP() may return 0 + 2014-12-15 Barton E. Schaefer <schaefer@zsh.org> * 33976: Src/subst.c: fix overlapping strcpy() diff --git a/Src/jobs.c b/Src/jobs.c index a668b07e6..8c4254ad1 100644 --- a/Src/jobs.c +++ b/Src/jobs.c @@ -2734,7 +2734,7 @@ acquire_pgrp(void) long ttpgrp; sigset_t blockset, oldset; - if ((mypgrp = GETPGRP()) > 0) { + if ((mypgrp = GETPGRP()) >= 0) { long lastpgrp = mypgrp; sigemptyset(&blockset); sigaddset(&blockset, SIGTTIN); |