diff options
author | Christopher Faylor <me@cgf.cx> | 2002-09-23 00:31:31 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2002-09-23 00:31:31 +0000 |
commit | f0227ea3c78d8d23dc35f0939219649447eecfae (patch) | |
tree | 0a116e294fa35db8a66901f6ef85b41720913c2f /winsup/cygwin/signal.cc | |
parent | c87c8a533f9e917878d433956420953598ab6cd6 (diff) | |
download | newlib-f0227ea3c78d8d23dc35f0939219649447eecfae.zip newlib-f0227ea3c78d8d23dc35f0939219649447eecfae.tar.gz newlib-f0227ea3c78d8d23dc35f0939219649447eecfae.tar.bz2 |
More GNUify non-GNU formatted functions calls throughout.
Diffstat (limited to 'winsup/cygwin/signal.cc')
-rw-r--r-- | winsup/cygwin/signal.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/cygwin/signal.cc b/winsup/cygwin/signal.cc index 5b42a1f..07417de 100644 --- a/winsup/cygwin/signal.cc +++ b/winsup/cygwin/signal.cc @@ -202,7 +202,7 @@ _kill (pid_t pid, int sig) /* Silently ignore stop signals from a member of orphaned process group. FIXME: Why??? */ - if (ISSTATE(myself, PID_ORPHANED) && + if (ISSTATE (myself, PID_ORPHANED) && (sig == SIGTSTP || sig == SIGTTIN || sig == SIGTTOU)) sig = 0; @@ -230,7 +230,7 @@ kill_pgrp (pid_t pid, int sig) /* Is it a process we want to kill? */ if ((pid == 0 && (p->pgid != myself->pgid || p->ctty != myself->ctty)) || (pid > 1 && p->pgid != pid) || - (sig < 0 && NOTSTATE(p, PID_STOPPED))) + (sig < 0 && NOTSTATE (p, PID_STOPPED))) continue; sigproc_printf ("killing pid %d, pgrp %d, p->ctty %d, myself->ctty %d", p->pid, p->pgid, p->ctty, myself->ctty); |