summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2001-01-27 03:02:15 +0000
committerChristopher Faylor <me@cgf.cx>2001-01-27 03:02:15 +0000
commit0826bed5c102569183dd1c986e34088476ec0663 (patch)
treef5a26fd4a462929c6f3141e287e804b9b7524c07
parent206a8d884b0386bb0b88872f8a044835897074f4 (diff)
downloadcygnal-0826bed5c102569183dd1c986e34088476ec0663.tar.gz
cygnal-0826bed5c102569183dd1c986e34088476ec0663.tar.bz2
cygnal-0826bed5c102569183dd1c986e34088476ec0663.zip
Fix typos. Add some comments.
-rw-r--r--winsup/cygwin/exceptions.cc10
1 files changed, 6 insertions, 4 deletions
diff --git a/winsup/cygwin/exceptions.cc b/winsup/cygwin/exceptions.cc
index f3135843b..b91ac3f20 100644
--- a/winsup/cygwin/exceptions.cc
+++ b/winsup/cygwin/exceptions.cc
@@ -1113,8 +1113,8 @@ void unused_sig_wrapper ()
{
/* Signal cleanup stuff. Cleans up stack (too bad that we didn't
prototype signal handlers as __stdcall), calls _set_process_mask
- to restore any mask, restores any potentially clobbered registered
- and returns to orignal caller. */
+ to restore any mask, restores any potentially clobbered registers
+ and returns to original caller. */
__asm__ volatile ("
.text
@@ -1167,8 +1167,10 @@ _sigdelayed0:
pushl $_sigreturn
call _reset_signal_arrived@0
- pushl %5
- movl $0,%0
+ pushl %5 # signal number
+ movl $0,%0 # zero the signal number as a
+ # flag to the signal handler thread
+ # that it is ok to set up sigsave
pushl %8
call _set_process_mask@4