|
Message-ID: <20160830212026.GN15995@brightrain.aerifal.cx> Date: Tue, 30 Aug 2016 17:20:26 -0400 From: Rich Felker <dalias@...c.org> To: musl@...ts.openwall.com Subject: Re: [PATCH] fix FFSYNC by changing it to O_SYNC On Thu, Aug 18, 2016 at 05:06:16PM +0200, Duncan Overbruck wrote: > O_FSYNC was never defined and is legacy/wrong, nothing seems to use it. > --- > include/fcntl.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/include/fcntl.h b/include/fcntl.h > index e683e4d..0e165ca 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 Thanks! Committing. Rich
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.