public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* fread
@ 1997-09-02 21:42 Ian Collins
  1997-09-04 21:18 ` fread Fergus Henderson
  0 siblings, 1 reply; 2+ messages in thread
From: Ian Collins @ 1997-09-02 21:42 UTC (permalink / raw)
  To: 'Gnu win32 mailer'

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.
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: fread
  1997-09-02 21:42 fread Ian Collins
@ 1997-09-04 21:18 ` Fergus Henderson
  0 siblings, 0 replies; 2+ messages in thread
From: Fergus Henderson @ 1997-09-04 21:18 UTC (permalink / raw)
  To: gnu-win32

Ian Collins <Ian@kiwiplan.co.nz> 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 <fjh@cs.mu.oz.au>   |  "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".

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1997-09-04 21:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-09-02 21:42 fread Ian Collins
1997-09-04 21:18 ` fread Fergus Henderson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).