changeset 101658:ce543dc9d6b4

Rename pending_signals to msdos_pending_signals. (sig_suspender, sigprocmask): Adjust.
author Eli Zaretskii <eliz@gnu.org>
date Thu, 29 Jan 2009 19:22:54 +0000
parents 458a86c56122
children a631ca2570b2
files src/msdos.c
diffstat 1 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/src/msdos.c	Thu Jan 29 16:26:53 2009 +0000
+++ b/src/msdos.c	Thu Jan 29 19:22:54 2009 +0000
@@ -4940,7 +4940,7 @@
 static sigset_t current_mask;
 
 /* Which signals are pending (initially none).  */
-static sigset_t pending_signals;
+static sigset_t msdos_pending_signals;
 
 /* Previous handlers to restore when the blocked signals are unblocked.  */
 typedef void (*sighandler_t)(int);
@@ -4952,7 +4952,7 @@
 sig_suspender (signo)
      int signo;
 {
-  sigaddset (&pending_signals, signo);
+  sigaddset (&msdos_pending_signals, signo);
 }
 
 int
@@ -4968,7 +4968,7 @@
   if (sigprocmask_count != __bss_count)
     {
       sigprocmask_count = __bss_count;
-      sigemptyset (&pending_signals);
+      sigemptyset (&msdos_pending_signals);
       sigemptyset (&current_mask);
       for (signo = 0; signo < 320; signo++)
 	prev_handlers[signo] = SIG_ERR;
@@ -5014,9 +5014,9 @@
 	      signal (signo, prev_handlers[signo]);
 	      prev_handlers[signo] = SIG_ERR;
 	    }
-	  if (sigismember (&pending_signals, signo))
+	  if (sigismember (&msdos_pending_signals, signo))
 	    {
-	      sigdelset (&pending_signals, signo);
+	      sigdelset (&msdos_pending_signals, signo);
 	      raise (signo);
 	    }
 	}