* pinfo.cc (_pinfo::commune_send): Correct debugging output.
This commit is contained in:
parent
1f8b30497d
commit
0190304668
|
@ -1,3 +1,7 @@
|
|||
2004-10-05 Bas van Gompel <cygwin-patch.buzz@bavag.tmfweb.nl>
|
||||
|
||||
* pinfo.cc (_pinfo::commune_send): Correct debugging output.
|
||||
|
||||
2004-10-04 Christopher Faylor <cgf@timesys.com>
|
||||
|
||||
* include/cygwin/signal.h: Add siginterrupt definition.
|
||||
|
|
|
@ -67,7 +67,7 @@ fhandler_termios::tcsetpgrp (const pid_t pgid)
|
|||
{
|
||||
termios_printf ("tty %d pgid %d, sid %d, tsid %d", tc->ntty, pgid,
|
||||
myself->sid, tc->getsid ());
|
||||
if (!pid_exists (pgid) || myself->sid != tc->getsid ())
|
||||
if ((pgid != myself->pgid && !pid_exists (pgid)) || myself->sid != tc->getsid ())
|
||||
{
|
||||
set_errno (EPERM);
|
||||
return -1;
|
||||
|
|
|
@ -501,7 +501,7 @@ _pinfo::commune_send (DWORD code, ...)
|
|||
}
|
||||
if (!CreatePipe (&fromme, &tothem, &sec_all_nih, PIPEBUFSIZE))
|
||||
{
|
||||
sigproc_printf ("first CreatePipe failed, %E");
|
||||
sigproc_printf ("second CreatePipe failed, %E");
|
||||
__seterrno ();
|
||||
goto err;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue