www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/04/15/17:43:17

From: Erik Max Francis <max AT alcyone DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: read reads too less under DOS but enough under linux
Date: Tue, 15 Apr 1997 08:42:47 -0700
Organization: Alcyone Systems
Lines: 20
Message-ID: <3353A1F7.4FF06F57@alcyone.com>
References: <5iehc6$ajo AT narses DOT hrz DOT tu-chemnitz DOT de>
NNTP-Posting-Host: newton.alcyone.com
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Sven G. wrote:

> As I debugged it, I saw that read (off a file) returned 0x3D instead of
> 0x40.
> It was in the middle of the file, and how I said it worked under linux.
> Maybe I did not considerated something I did not know.

Are you sure you're opening the file in binary mode?

> If possible email me.

[Posted and emailed.]

-- 
       Erik Max Francis, &tSftDotIotE / email / max AT alcyone DOT com
                     Alcyone Systems /   web / http://www.alcyone.com/max/
San Jose, California, United States /  icbm / 37 20 07 N  121 53 38 W
                                   \
                      "The future / is right there."
                                 / Bill Moyers

- Raw text -


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