delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1992/09/25/14:42:52

Date: Fri, 25 Sep 92 14:20:36 EDT
From: DJ Delorie <dj AT ctron DOT ctron DOT com>
To: thomas AT imagen DOT com, "\\) \\"@ctron.com
Mmdf-Warning: Parse error in original version of preceding line at nic.near.net
Cc: kuku AT acds DOT physik DOT rwth-aachen DOT de, kuku AT acds DOT physik DOT rwth-aachen DOT de,
djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: binary files

>> >If you never read/rwite larger than 512 bytes, fread/fwrite work. Try breaking
>> >up large reads/writes into smaller chunks.

>> Huh? fread/fwrite only in 512 bytes. Who's saying this?

>I changed my fread/fwrites to do multiple 512 freads/fwrites.  Everything
>worked fine then. 

>I was using the first port of djgcc.  I don't have my PC here at the moment,
>or I would double check this with djgcc 1.08.

Funny - the BUFSIZ is set to 4096, not 512.  Try 4096 also and see if
it's a 512 problem or a 4096 problem.

DJ


- Raw text -


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