diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/dispnew.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/dispnew.c b/src/dispnew.c index 3f2ae3e6ad1..48a36f2006c 100644 --- a/src/dispnew.c +++ b/src/dispnew.c | |||
| @@ -5904,8 +5904,12 @@ when TERMINAL is nil. */) | |||
| 5904 | } | 5904 | } |
| 5905 | out = tty->output; | 5905 | out = tty->output; |
| 5906 | } | 5906 | } |
| 5907 | /* STRING might be very long, in which case fwrite could be | ||
| 5908 | interrupted by SIGIO. So we temporarily block SIGIO. */ | ||
| 5909 | unrequest_sigio (); | ||
| 5907 | fwrite (SDATA (string), 1, SBYTES (string), out); | 5910 | fwrite (SDATA (string), 1, SBYTES (string), out); |
| 5908 | fflush (out); | 5911 | fflush (out); |
| 5912 | request_sigio (); | ||
| 5909 | unblock_input (); | 5913 | unblock_input (); |
| 5910 | return Qnil; | 5914 | return Qnil; |
| 5911 | } | 5915 | } |