diff options
| author | Paul Eggert | 2012-11-26 21:17:07 -0800 |
|---|---|---|
| committer | Paul Eggert | 2012-11-26 21:17:07 -0800 |
| commit | 22626a856b520e4b092b2e4132f57adf8aaf7227 (patch) | |
| tree | abc3470fbae12b661ff438341ae52f829421afc1 /src/keyboard.c | |
| parent | 5c9cf0a3f9817220ed0f907637951f5cdf1a9614 (diff) | |
| download | emacs-22626a856b520e4b092b2e4132f57adf8aaf7227.tar.gz emacs-22626a856b520e4b092b2e4132f57adf8aaf7227.zip | |
Assume POSIX 1003.1-1988 or later for errno.h.
* lib-src/movemail.c (main): Assume EAGAIN and EBUSY.
* src/dired.c (directory_files_internal, file_name_completion):
Assume EAGAIN and EINTR are defined.
* src/fileio.c (Fcopy_file): Assume EISDIR is defined.
* src/gmalloc.c (ENOMEM, EINVAL): Assume they're defined.
* src/gnutls.c (emacs_gnutls_write): Assume EAGAIN is defined.
* src/lread.c (readbyte_from_file): Assume EINTR is defined.
* src/process.c (wait_reading_process_output, send_process) [subprocesses]:
Assume EIO and EAGAIN are defined.
* src/unexcoff.c (write_segment): Assume EFAULT is defined.
Fixes: debbugs:12968
Diffstat (limited to 'src/keyboard.c')
| -rw-r--r-- | src/keyboard.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/keyboard.c b/src/keyboard.c index 0ad6d18c044..60e6d71cdff 100644 --- a/src/keyboard.c +++ b/src/keyboard.c | |||
| @@ -6960,10 +6960,7 @@ tty_read_avail_input (struct terminal *terminal, | |||
| 6960 | an EAGAIN error. Does anybody know of a situation | 6960 | an EAGAIN error. Does anybody know of a situation |
| 6961 | where a retry is actually needed? */ | 6961 | where a retry is actually needed? */ |
| 6962 | #if 0 | 6962 | #if 0 |
| 6963 | nread < 0 && (errno == EAGAIN | 6963 | nread < 0 && (errno == EAGAIN || errno == EFAULT |
| 6964 | #ifdef EFAULT | ||
| 6965 | || errno == EFAULT | ||
| 6966 | #endif | ||
| 6967 | #ifdef EBADSLT | 6964 | #ifdef EBADSLT |
| 6968 | || errno == EBADSLT | 6965 | || errno == EBADSLT |
| 6969 | #endif | 6966 | #endif |