HCoop
/
bpt
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
026d2a7
)
(XTread_socket): Increment handling_signal at the start,
author
Gerd Moellmann
<gerd@gnu.org>
Wed, 5 Jul 2000 19:58:34 +0000
(19:58 +0000)
committer
Gerd Moellmann
<gerd@gnu.org>
Wed, 5 Jul 2000 19:58:34 +0000
(19:58 +0000)
decrement it at the end.
src/xterm.c
patch
|
blob
|
blame
|
history
diff --git
a/src/xterm.c
b/src/xterm.c
index
bc13fb9
..
8e45559
100644
(file)
--- 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;
}