]> sourceware.org Git - newlib-cygwin.git/commitdiff
* exceptions.cc (sigpacket::process): Pass actual reference to signal's
authorChristopher Faylor <me@cgf.cx>
Sun, 1 Jan 2006 17:15:01 +0000 (17:15 +0000)
committerChristopher Faylor <me@cgf.cx>
Sun, 1 Jan 2006 17:15:01 +0000 (17:15 +0000)
sigaction structure to setup_handler.

winsup/cygwin/ChangeLog
winsup/cygwin/exceptions.cc

index 26125908656c51c124764fb8be6617e78dd73501..9dee41b2f74812b002116d36214f98011244b5a0 100644 (file)
@@ -1,3 +1,8 @@
+2006-01-01  Christopher Faylor  <cgf@timesys.com>
+
+       * exceptions.cc (sigpacket::process): Pass actual reference to signal's
+       sigaction structure to setup_handler.
+
 2006-01-01  Christopher Faylor  <cgf@timesys.com>
 
        * exceptions.cc (_cygtls::interrupt_setup): Implement SA_RESETHAND.
index 73f5cfd5e732aa12e5be67799fe2db5e8d6c291a..649f93fde7b9aec0893950d17b646571b73b32b8 100644 (file)
@@ -1082,7 +1082,7 @@ sigpacket::process ()
   int rc = 1;
 
   sigproc_printf ("signal %d processing", si.si_signo);
-  struct sigaction thissig = global_sigs[si.si_signo];
+  struct sigaction& thissig = global_sigs[si.si_signo];
 
   myself->rusage_self.ru_nsignals++;
 
@@ -1182,7 +1182,8 @@ stop:
   if (ISSTATE (myself, PID_STOPPED))
     goto done;
   handler = (void *) sig_handle_tty_stop;
-  thissig = global_sigs[SIGSTOP];
+  struct sigaction dummy = global_sigs[SIGSTOP];
+  thissig = dummy;
 
 dosig:
   /* Dispatch to the appropriate function. */
This page took 0.034743 seconds and 5 git commands to generate.