Date: Fri, 25 Sep 92 14:20:36 EDT From: DJ Delorie 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