From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/10417 Path: news.gmane.org!.POSTED!not-for-mail From: Rich Felker Newsgroups: gmane.linux.lib.musl.general Subject: Re: [PATCH] fix FFSYNC by changing it to O_SYNC Date: Tue, 30 Aug 2016 17:20:26 -0400 Message-ID: <20160830212026.GN15995@brightrain.aerifal.cx> References: <20160818150616.99PX8fLcp%duncaen@voidlinux.eu> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: blaine.gmane.org 1472592048 31501 195.159.176.226 (30 Aug 2016 21:20:48 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 30 Aug 2016 21:20:48 +0000 (UTC) User-Agent: Mutt/1.5.21 (2010-09-15) To: musl@lists.openwall.com Original-X-From: musl-return-10430-gllmg-musl=m.gmane.org@lists.openwall.com Tue Aug 30 23:20:42 2016 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by blaine.gmane.org with smtp (Exim 4.84_2) (envelope-from ) id 1beqSV-0007Kd-Hy for gllmg-musl@m.gmane.org; Tue, 30 Aug 2016 23:20:39 +0200 Original-Received: (qmail 14244 invoked by uid 550); 30 Aug 2016 21:20:39 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Original-Received: (qmail 14226 invoked from network); 30 Aug 2016 21:20:38 -0000 Content-Disposition: inline In-Reply-To: <20160818150616.99PX8fLcp%duncaen@voidlinux.eu> Original-Sender: Rich Felker Xref: news.gmane.org gmane.linux.lib.musl.general:10417 Archived-At: 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