From mboxrd@z Thu Jan 1 00:00:00 1970 From: Fergus Henderson To: gnu-win32@cygnus.com Subject: Re: fread Date: Thu, 04 Sep 1997 21:18:00 -0000 Message-id: <199709041500.BAA09202@mundook.cs.mu.OZ.AU> References: <07551A47EAD6D01186430060B025C6F40A6CA6@ntserver.kiwiplan2.co.nz> X-SW-Source: 1997-09/msg00090.html Ian Collins wrote: >Is there any known problem with the fread system call in b18? > >It doesn't appear to be returning the correct number of bytes read. Try opening the file in binary mode (e.g. `fopen(file, "rb")') or mount the filesystem in binary mode. -- Fergus Henderson | "I have always known that the pursuit WWW: < http://www.cs.mu.oz.au/~fjh > | of excellence is a lethal habit" PGP: finger fjh@128.250.37.3 | -- the last words of T. S. Garp. - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help".