diff options
| author | Paul Eggert | 2016-01-03 15:00:49 -0800 |
|---|---|---|
| committer | John Wiegley | 2016-01-18 22:30:28 -0800 |
| commit | 564c84f4b12482aefe86539d2471607565c3ee7c (patch) | |
| tree | 21512d3abcc8b5ee787230c9ad3752581488ce37 /admin | |
| parent | 9e0fc619541f57b71711e8855d2b19c942b107e6 (diff) | |
| download | emacs-564c84f4b12482aefe86539d2471607565c3ee7c.tar.gz emacs-564c84f4b12482aefe86539d2471607565c3ee7c.zip | |
Avoid stdio in SIGINT handler
* admin/merge-gnulib (GNULIB_MODULES): Add ignore-value.
* lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
* lib/ignore-value.h: New file, from gnulib.
* src/keyboard.c: Include it.
(write_stdout, read_stdin): New functions.
(handle_interrupt): Use them instead of printf and getchar,
and avoid fflush when handling signals.
Diffstat (limited to 'admin')
| -rwxr-xr-x | admin/merge-gnulib | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/merge-gnulib b/admin/merge-gnulib index 363bb23d119..40b5b78ee8f 100755 --- a/admin/merge-gnulib +++ b/admin/merge-gnulib | |||
| @@ -32,7 +32,7 @@ GNULIB_MODULES=' | |||
| 32 | dtoastr dtotimespec dup2 environ execinfo faccessat | 32 | dtoastr dtotimespec dup2 environ execinfo faccessat |
| 33 | fcntl fcntl-h fdatasync fdopendir filemode fstatat fsync | 33 | fcntl fcntl-h fdatasync fdopendir filemode fstatat fsync |
| 34 | getloadavg getopt-gnu gettime gettimeofday gitlog-to-changelog | 34 | getloadavg getopt-gnu gettime gettimeofday gitlog-to-changelog |
| 35 | intprops largefile lstat | 35 | ignore-value intprops largefile lstat |
| 36 | manywarnings memrchr mkostemp mktime | 36 | manywarnings memrchr mkostemp mktime |
| 37 | pipe2 pselect pthread_sigmask putenv qcopy-acl readlink readlinkat | 37 | pipe2 pselect pthread_sigmask putenv qcopy-acl readlink readlinkat |
| 38 | sig2str socklen stat-time stdalign stddef stdio | 38 | sig2str socklen stat-time stdalign stddef stdio |