Mail Archives: djgpp/1997/04/08/21:40:46
From: | gis AT informatik DOT tu-chemnitz DOT de (Sven G.)
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | read reads too less under DOS but enough under linux
|
Date: | 8 Apr 1997 22:37:58 GMT
|
Organization: | TU Chemnitz-Zwickau
|
Message-ID: | <5iehc6$ajo@narses.hrz.tu-chemnitz.de>
|
NNTP-Posting-Host: | george.csn.tu-chemnitz.de
|
Lines: | 15
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
Hi folks!
At first I new to C. But I hope its not my fault.
I wrote a simple program unter gcc/linux which runs ok. Then I compiled it with
DJGPP V2 under MS-DOS but the prg made nonsense.
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.
If possible email me.
tnx
Sven
- Raw text -