From: Gerd Moellmann Date: Wed, 5 Jul 2000 19:58:34 +0000 (+0000) Subject: (XTread_socket): Increment handling_signal at the start, X-Git-Tag: emacs-pretest-21.0.90~2942 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=bde5503bf1448e1a5edf6ba0bc850bed3b42932e;p=emacs.git (XTread_socket): Increment handling_signal at the start, decrement it at the end. --- diff --git a/src/xterm.c b/src/xterm.c index bc13fb98ba2..8e45559662c 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -8927,6 +8927,8 @@ XTread_socket (sd, bufp, numchars, expected) 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 @@ XTread_socket (sd, bufp, numchars, expected) } UNBLOCK_INPUT; + --handling_signal; return count; }