diff options
| author | Lars Ingebrigtsen | 2018-07-22 13:39:10 +0200 |
|---|---|---|
| committer | Noam Postavsky | 2018-08-08 19:30:50 -0400 |
| commit | 18588bce36617179cc7c8af74a6197c8e16819ea (patch) | |
| tree | 68b05b7913d46d76bccdf9c19f8f42d6f5d20024 /src/lisp.h | |
| parent | 5afbf62674e741b06c01216fe37a5439e9d42307 (diff) | |
| download | emacs-18588bce36617179cc7c8af74a6197c8e16819ea.tar.gz emacs-18588bce36617179cc7c8af74a6197c8e16819ea.zip | |
Make async :family 'local failures fail correctly again
* src/fileio.c (get_file_errno_data): Refactor out into its own
function so that we can reuse the error handling from an async
context (bug#31901).
* src/process.c (connect_network_socket): When an async :family
'local client fails (with a file error, for instance), mark the
process as failed.
(cherry picked from commit 92ba34d89ac4f5b5bbb818e1c39a3cc12a405790)
Diffstat (limited to 'src/lisp.h')
| -rw-r--r-- | src/lisp.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lisp.h b/src/lisp.h index b2449cb87d3..05d1cd8201a 100644 --- a/src/lisp.h +++ b/src/lisp.h | |||
| @@ -4031,6 +4031,7 @@ extern Lisp_Object write_region (Lisp_Object, Lisp_Object, Lisp_Object, | |||
| 4031 | extern void close_file_unwind (int); | 4031 | extern void close_file_unwind (int); |
| 4032 | extern void fclose_unwind (void *); | 4032 | extern void fclose_unwind (void *); |
| 4033 | extern void restore_point_unwind (Lisp_Object); | 4033 | extern void restore_point_unwind (Lisp_Object); |
| 4034 | extern Lisp_Object get_file_errno_data (const char *, Lisp_Object, int); | ||
| 4034 | extern _Noreturn void report_file_errno (const char *, Lisp_Object, int); | 4035 | extern _Noreturn void report_file_errno (const char *, Lisp_Object, int); |
| 4035 | extern _Noreturn void report_file_error (const char *, Lisp_Object); | 4036 | extern _Noreturn void report_file_error (const char *, Lisp_Object); |
| 4036 | extern _Noreturn void report_file_notify_error (const char *, Lisp_Object); | 4037 | extern _Noreturn void report_file_notify_error (const char *, Lisp_Object); |