* sigproc.cc (wait_sig): Report if not trying to send signal due to queued

signal.
This commit is contained in:
Christopher Faylor 2004-03-26 05:43:11 +00:00
parent 10dcf7e718
commit 27ec638b25
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2004-03-26 Christopher Faylor <cgf@redhat.com>
* sigproc.cc (wait_sig): Report if not trying to send signal due to
queued signal.
2004-03-25 Christopher Faylor <cgf@redhat.com> 2004-03-25 Christopher Faylor <cgf@redhat.com>
* path.cc (normalize_posix_path): Reorganize to short circuit to DOS * path.cc (normalize_posix_path): Reorganize to short circuit to DOS

View File

@ -1162,7 +1162,9 @@ wait_sig (VOID *self)
default: default:
if (pack.si.si_signo < 0) if (pack.si.si_signo < 0)
sig_clear (-pack.si.si_signo); sig_clear (-pack.si.si_signo);
else if (!sigq.sigs[pack.si.si_signo].si.si_signo) else if (sigq.sigs[pack.si.si_signo].si.si_signo)
sigproc_printf ("sig %d already queued", pack.si.si_signo);
else
{ {
int sig = pack.si.si_signo; int sig = pack.si.si_signo;
int sigres = pack.process (); int sigres = pack.process ();