Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2003-11-29 01:13:57 +0300
committerChristopher Faylor <me@cgf.cx>2003-11-29 01:13:57 +0300
commit13584f077b708083b9e1cba78ff580c7bae6130e (patch)
tree51b7e9b3c173d1e5234af8b57413814501589f07 /winsup/cygwin/sigproc.cc
parent74d893b13cb75408ec3ffe2b399787b9b78fa979 (diff)
* pinfo.h (_pinfo::getsig): Remove obsolete function, here and throughout.
* exceptions.cc: Ditto. * fhandler_termios.cc: Ditto. * signal.cc: Ditto. * sigproc.cc: Ditto. * Makefile.in: Revert previous change which made a cygwin.din newer than a version.h a warning rather than an error.
Diffstat (limited to 'winsup/cygwin/sigproc.cc')
-rw-r--r--winsup/cygwin/sigproc.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/winsup/cygwin/sigproc.cc b/winsup/cygwin/sigproc.cc
index 984000478..0aeb4d8cb 100644
--- a/winsup/cygwin/sigproc.cc
+++ b/winsup/cygwin/sigproc.cc
@@ -98,9 +98,9 @@ signal_fixup_after_exec ()
/* Set up child's signal handlers */
for (int i = 0; i < NSIG; i++)
{
- myself->getsig (i).sa_mask = 0;
- if (myself->getsig (i).sa_handler != SIG_IGN)
- myself->getsig (i).sa_handler = SIG_DFL;
+ global_sigs[i].sa_mask = 0;
+ if (global_sigs[i].sa_handler != SIG_IGN)
+ global_sigs[i].sa_handler = SIG_DFL;
}
}
@@ -381,7 +381,7 @@ proc_subproc (DWORD what, DWORD val)
remove the process and move on. Otherwise, this process becomes a zombie
which must be reaped by a wait() call. */
if (nzombies >= NZOMBIES
- || myself->getsig (SIGCHLD).sa_handler == (void *) SIG_IGN)
+ || global_sigs[SIGCHLD].sa_handler == (void *) SIG_IGN)
{
sigproc_printf ("automatically removing zombie %d", thiszombie);
remove_zombie (thiszombie);
@@ -616,7 +616,7 @@ sigproc_init ()
}
memset (w, 0, sizeof *w); // Just to be safe
- myself->getsig (SIGSTOP).sa_flags = SA_RESTART | SA_NODEFER;
+ global_sigs[SIGSTOP].sa_flags = SA_RESTART | SA_NODEFER;
sigproc_printf ("process/signal handling enabled(%x)", myself->process_state);
return;
}