From: Alain Magloire Message-Id: <199904092002.QAA09578@mccoy2.ECE.McGill.CA> Subject: Re: fflush question To: djgpp-workers AT delorie DOT com Date: Fri, 9 Apr 1999 16:02:58 -0400 (EDT) In-Reply-To: <370E48DF.1BAAA425@cartsys.com> from "Nate Eldredge" at Apr 9, 99 11:37:19 am X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 Bonjour Nate > > Actually, this test program (which could someone please spot-check for > me? :) prints 1 on MS-DOS 5 and Windows 98 DOS box, whether compiled > with Turbo C (TC++ 1.01) or DJGPP. Interesting. > > int main(void) > { > char d, c = '1'; > int a, b; > a = open ("foo", O_CREAT¦O_WRONLY, 0644); | 8-), a typo. > return 0; > } > > Using _read and _write changes nothing. Yes, I was wandering about that, I've ran the stdio tests on my NT box with a minimalist DJGPPv2.0 and everything was allright. I did make sure everytime that the file was removed. I thought it was an NT thing. Race condition ? -- au revoir, alain ---- Aussi haut que l'on soit assis, on est toujours assis que sur son cul !!!