www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/03/06/08:39:31

Xref: news2.mv.net comp.os.msdos.djgpp:1662
From: just AT TUDURZ DOT urz DOT tu-dresden DOT de (Gerald Just Physik ASB TUDR)
Newsgroups: comp.os.msdos.djgpp
Subject: fgetpos() - bug in v2 ???
Date: 5 Mar 96 11:33:27 GMT
Organization: TU Dresden (URZ)
Lines: 21
Message-ID: <just.826025607@TUDURZ>
NNTP-Posting-Host: tudurz.urz.tu-dresden.de
Summary: Wrong Positions in large File.
Keywords: bug fgetpos
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

I was looking for an Entrie in a ASCII- Database- file.
(The file contains 54270 entries and is about 24 MB)
So I wrote all positions for the entries to a binary
file and tryed to get them back. The fsetpos() function
Return several blocks with the miss of one byte.
The first wrong entries where
#1087 - #1122
#1740 - #1902
#2262 - #2296
#2621 - #2663
#3900 - #3937
#4264 - #4305
.....
The entries between these numbers were found correctrly.
If I tryed to compile the programm with other compilers
- it worked correctly. Even if I used the VC-Position-File
in the DJGPP-"fsetpos()"-Programm it worked fine.
I do not know what to do. Is there a bugfix for this 
problem? - Please help.
		Best regards Gerald
EMail: just AT physik DOT phy DOT tu-dresden DOT de

- Raw text -


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