www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/08/21/20:57:21

Date: Sun, 21 Aug 1994 18:42:20 -0500 (CDT)
From: "Troy D. VanHorn" <tvanhorn AT ozarks DOT sgcl DOT lib DOT mo DOT us>
Subject: djgpp 1.12 libc.a fseek
To: djgpp AT sun DOT soe DOT clarkson DOT edu

I recently downloaded the new djgpp distribution, and when I compiled one 
of my programs (a TGA file viewer), it stopped displaying images 
correctly.  I narrowed the problem down to a call to fseek.  When I 
replaced the call with a loop of getc (I was using fseek to skip a 
variable length text field) the problem disappeared.

I noticed that the source file for fseek in the library source was 
updated on 8-2-94, and looking at fseek.c I can't follow what is being done.

If this is a problem with fseek, could somebody inform me as to what 
changes I would need to make in fseek.c, and/or when an updated libc.a 
would be posted for ftp?

Thanks,      Troy Van Horn      tvanhorn AT ozarks DOT sgcl DOT lib DOT mo DOT us


- Raw text -


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