Date: Thu, 8 Apr 1999 11:24:30 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: DJ Delorie cc: djgpp-workers AT delorie DOT com Subject: Re: fflush question In-Reply-To: <199904061506.LAA08778@envy.delorie.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp-workers AT delorie DOT com X-Mailing-List: djgpp-workers AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Tue, 6 Apr 1999, DJ Delorie wrote: > > fflush(fpw); > > /*fsync(fileno(fpw));*/ > > I suspect this is a "bug" in dos, but that most unix programs that > care would expect it to work without fsync. If calling fsync is what > we need to do to make fflush work like unix, I have no problem adding > it. I agree, provided that many/most Unix systems indeed behave that way. Could people please test this on the systems they have access to?