summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/sigproc.cc
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2003-08-29 02:05:00 +0000
committerChristopher Faylor <me@cgf.cx>2003-08-29 02:05:00 +0000
commit5e8355c765038b2ce608fa00eeebc900de12ddb1 (patch)
tree0e886f40ea6b98f573e414d56180fa8d9817eed7 /winsup/cygwin/sigproc.cc
parent723b87cd5cad158a20c39349720e405635d2fd41 (diff)
downloadcygnal-5e8355c765038b2ce608fa00eeebc900de12ddb1.tar.gz
cygnal-5e8355c765038b2ce608fa00eeebc900de12ddb1.tar.bz2
cygnal-5e8355c765038b2ce608fa00eeebc900de12ddb1.zip
* exceptions.cc (sigreturn): Fix problem where old return address was not
properly restored for a nested signal.
Diffstat (limited to 'winsup/cygwin/sigproc.cc')
-rw-r--r--winsup/cygwin/sigproc.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/sigproc.cc b/winsup/cygwin/sigproc.cc
index 4d2ce8070..60c26072d 100644
--- a/winsup/cygwin/sigproc.cc
+++ b/winsup/cygwin/sigproc.cc
@@ -1157,7 +1157,7 @@ wait_sig (VOID *self)
sigproc_printf ("awake, rc %d", rc);
LONG *todo;
if (rc != RC_NOSYNC)
- todo = *todos;
+ todo = todos[0];
else
todo = todos[1];