]> sourceware.org Git - newlib-cygwin.git/commitdiff
Fix typos. Add some comments.
authorChristopher Faylor <me@cgf.cx>
Sat, 27 Jan 2001 03:02:15 +0000 (03:02 +0000)
committerChristopher Faylor <me@cgf.cx>
Sat, 27 Jan 2001 03:02:15 +0000 (03:02 +0000)
winsup/cygwin/exceptions.cc

index f3135843b978a9f76444dfcb45e85f3363b7354d..b91ac3f2004c9b41f2d8ffe19ec041e9f2a5fa06 100644 (file)
@@ -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
This page took 0.032823 seconds and 5 git commands to generate.