projects
/
oweals
/
musl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fff8801
)
fix FFSYNC by changing it to O_SYNC
author
Duncan Overbruck
<duncaen@voidlinux.eu>
Thu, 18 Aug 2016 15:06:16 +0000
(17:06 +0200)
committer
Rich Felker
<dalias@aerifal.cx>
Tue, 30 Aug 2016 20:01:47 +0000
(16:01 -0400)
O_FSYNC was never defined and is legacy/wrong, nothing seems to use it.
include/fcntl.h
patch
|
blob
|
history
diff --git
a/include/fcntl.h
b/include/fcntl.h
index e683e4dc6873f77638667a2c42cdc3b15610bd1b..0e165ca3c98853fb2e4595c061a6dafd750b0daf 100644
(file)
--- a/
include/fcntl.h
+++ b/
include/fcntl.h
@@
-99,7
+99,7
@@
int posix_fallocate(int, off_t, off_t);
#define AT_EMPTY_PATH 0x1000
#define FAPPEND O_APPEND
-#define FFSYNC O_
F
SYNC
+#define FFSYNC O_SYNC
#define FASYNC O_ASYNC
#define FNONBLOCK O_NONBLOCK
#define FNDELAY O_NDELAY