From owner-freebsd-current Mon Nov 9 19:18:04 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA02288 for freebsd-current-outgoing; Mon, 9 Nov 1998 19:18:04 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from janus.syracuse.net (janus.syracuse.net [205.232.47.15]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA02281 for ; Mon, 9 Nov 1998 19:18:00 -0800 (PST) (envelope-from green@unixhelp.org) Received: from localhost (green@localhost) by janus.syracuse.net (8.8.8/8.8.7) with ESMTP id WAA28095; Mon, 9 Nov 1998 22:17:15 -0500 (EST) Date: Mon, 9 Nov 1998 22:17:15 -0500 (EST) From: Brian Feldman X-Sender: green@janus.syracuse.net To: Dan Nelson cc: sthaug@nethelp.no, nathan@rtfm.net, current@FreeBSD.ORG Subject: Re: O_SYNC In-Reply-To: <19981109190225.A22989@emsphone.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, 9 Nov 1998, Dan Nelson wrote: > In the last episode (Nov 10), sthaug@nethelp.no said: > > > > Yes, however every other OS defines it at "O_SYNC" why are we different? > > > > or, if there is a reason, why isn't there a compatibility #define? Good point. Let's get this added as a compatibility define, since it seems to have already caused at least one person trouble, it will undoubtedly cause more. And hey, we're not doing anything with O_SYNC now, and the namespace is already heavily polluted... > > > > > > > > can someone check this on netbsd/open bsd/os ? is it bsd or us? > > > > > > NetBSD 1.3.2: > > > fcntl.h:92:#define O_SYNC 0x0080 /* synchronous writes */ > > > fcntl.h:127:#define FFSYNC O_SYNC /* kernel */ > > > fcntl.h:129:#define O_FSYNC O_SYNC /* compat */ > > > > BSD/OS 3.1 fcntl.h: > > > > #define O_FSYNC 0x0080 /* synchronous writes */ > > #define FFSYNC O_FSYNC /* kernel */ > > It's O_SYNC on Dec OSF/1, SCO Open Server, and SunOS too. > > -Dan Nelson > dnelson@emsphone.com Brian Feldman > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message