www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1999/04/08/05:26:36

Date: Thu, 8 Apr 1999 11:24:30 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: DJ Delorie <dj AT delorie DOT com>
cc: djgpp-workers AT delorie DOT com
Subject: Re: fflush question
In-Reply-To: <199904061506.LAA08778@envy.delorie.com>
Message-ID: <Pine.SUN.3.91.990408112409.29868N-100000@is>
MIME-Version: 1.0
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

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?

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019