delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2013/12/05/06:45:13

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
From: "Rod Pemberton" <dont_use_email AT xnohavenotit DOT cnm>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Question about different behavior of fclose/fread on plain dos
and windows.
Date: Thu, 05 Dec 2013 06:24:39 -0500
Organization: Aioe.org NNTP Server
Lines: 20
Message-ID: <op.w7l9zdbg5zc71u@localhost>
References: <529D448A DOT 7050208 AT gmx DOT de> <831u1u5se3 DOT fsf AT gnu DOT org>
<529DD111 DOT 8050000 AT gmx DOT de> <83r49u3xhn DOT fsf AT gnu DOT org> <529FEB30 DOT 301 AT gmx DOT de>
NNTP-Posting-Host: CNsg4fVcCsvs3UaOgZtQCw.user.speranza.aioe.org
Mime-Version: 1.0
X-Complaints-To: abuse AT aioe DOT org
User-Agent: Opera Mail/12.16 (Linux)
X-Notice: Filtered by postfilter v. 0.8.2
Bytes: 1546
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

On Wed, 04 Dec 2013 21:55:44 -0500, Juan Manuel Guerrero  
<juan DOT guerrero AT gmx DOT de> wrote:

> I do not have OpenWATCOM or other dos compilers to compare against DJGPP.
>

I tested OpenWatcom v1.3.  I don't have newer v1.7 or current v.1.9
installed.  I tested the code as 16-bit (wcl/l=dos) and 32-bit
(wcl386/l=dos4g), in real-mode MS-DOS v7.10 and Window SE DOS console,
and without file.txt, with file.txt, with file.txt where 'pipapo' was
changed to 'zzzzzz'.  So, that's total of 12 tests.

OW returned in all cases:

fwrite(fw) OK (7): pipapo
fread(fr) OK (0):
fread(fr) OK (7): pipapo


Rod Pemberton

- Raw text -


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