diff options
| author | Wolfgang Jenkner | 2015-11-11 16:07:50 +0100 |
|---|---|---|
| committer | Wolfgang Jenkner | 2015-11-11 16:07:50 +0100 |
| commit | 84cadc60a7cd4695b9d9e086fd8d68803388dea8 (patch) | |
| tree | cc92745d48f395b9f97ad2538873ae9175482cfd /src | |
| parent | bd377a57b1e6fbd46cb63a0999c89e1242463b96 (diff) | |
| download | emacs-84cadc60a7cd4695b9d9e086fd8d68803388dea8.tar.gz emacs-84cadc60a7cd4695b9d9e086fd8d68803388dea8.zip | |
Build fixes for kqueue support.
* src/kqueue.c (Fkqueue_add_watch): O_BINARY is not a POSIX open(3)
flag.
* configure.ac (HAVE_KQUEUE): There is no pkg-config module for native
kqueue on *BSD.
Diffstat (limited to 'src')
| -rw-r--r-- | src/kqueue.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kqueue.c b/src/kqueue.c index c2e859f8db9..d2f3d37e19c 100644 --- a/src/kqueue.c +++ b/src/kqueue.c | |||
| @@ -163,7 +163,7 @@ will be reported only in case of the `rename' event. */) | |||
| 163 | 163 | ||
| 164 | /* Open file. */ | 164 | /* Open file. */ |
| 165 | file = ENCODE_FILE (file); | 165 | file = ENCODE_FILE (file); |
| 166 | fd = emacs_open (SSDATA (file), O_NONBLOCK | O_BINARY | O_RDONLY, 0); | 166 | fd = emacs_open (SSDATA (file), O_NONBLOCK | O_RDONLY, 0); |
| 167 | if (fd == -1) | 167 | if (fd == -1) |
| 168 | report_file_error ("File cannot be opened", file); | 168 | report_file_error ("File cannot be opened", file); |
| 169 | 169 | ||