From: Duncan Overbruck <duncaen@voidlinux.eu>
Date: Thu, 18 Aug 2016 15:06:16 +0000 (+0200)
Subject: fix FFSYNC by changing it to O_SYNC
X-Git-Tag: v1.1.16~74
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c1f4ed150137d793c9d07356305a89e8785e7e02;p=musl

fix FFSYNC by changing it to O_SYNC

O_FSYNC was never defined and is legacy/wrong, nothing seems to use it.
---

diff --git a/include/fcntl.h b/include/fcntl.h
index e683e4dc..0e165ca3 100644
--- 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_FSYNC
+#define FFSYNC O_SYNC
 #define FASYNC O_ASYNC
 #define FNONBLOCK O_NONBLOCK
 #define FNDELAY O_NDELAY