projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6f66a43
)
Do not assume --with-file-notification
author
Paul Eggert
<eggert@cs.ucla.edu>
Fri, 30 Mar 2018 21:25:33 +0000
(14:25 -0700)
committer
Paul Eggert
<eggert@cs.ucla.edu>
Fri, 30 Mar 2018 21:26:26 +0000
(14:26 -0700)
* src/fileio.c (report_file_notify_error) [!USE_FILE_NOTIFY]: Omit.
src/fileio.c
patch
|
blob
|
history
diff --git
a/src/fileio.c
b/src/fileio.c
index 52ca8b6297ee15fdce2de71e5808b8ecf92c1420..2f8358f01b552fc5804f3dfef89c472df6ddd2fc 100644
(file)
--- a/
src/fileio.c
+++ b/
src/fileio.c
@@
-224,6
+224,7
@@
report_file_error (char const *string, Lisp_Object name)
report_file_errno (string, name, errno);
}
+#ifdef USE_FILE_NOTIFY
/* Like report_file_error, but reports a file-notify-error instead. */
void
@@
-238,6
+239,7
@@
report_file_notify_error (const char *string, Lisp_Object name)
xsignal (Qfile_notify_error, Fcons (build_string (string), errdata));
}
+#endif
void
close_file_unwind (int fd)