changeset 30083:998d20abc885

(XTread_socket): Increment handling_signal at the start, decrement it at the end.
author Gerd Moellmann <gerd@gnu.org>
date Wed, 05 Jul 2000 19:58:34 +0000
parents 0a8fd2579cb5
children bafd38c61694
files src/xterm.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/xterm.c	Wed Jul 05 19:57:51 2000 +0000
+++ b/src/xterm.c	Wed Jul 05 19:58:34 2000 +0000
@@ -8927,6 +8927,8 @@
   if (numchars <= 0)
     abort ();			/* Don't think this happens.  */
 
+  ++handling_signal;
+  
   /* Find the display we are supposed to read input for.
      It's the one communicating on descriptor SD.  */
   for (dpyinfo = x_display_list; dpyinfo; dpyinfo = dpyinfo->next)
@@ -10046,6 +10048,7 @@
     }
 
   UNBLOCK_INPUT;
+  --handling_signal;
   return count;
 }