This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
RE: B18&17.1 problem reading large files (more than 28k!) with read() or fread()
- To: "gnu-win32 at cygnus dot com" <gnu-win32 at cygnus dot com>, "'Paul Toseland'" <paul dot toseland at virgin dot net>
- Subject: RE: B18&17.1 problem reading large files (more than 28k!) with read() or fread()
- From: Sergey Okhapkin <sos at prospect dot com dot ru>
- Date: Sun, 18 May 1997 12:20:07 +0400
- Encoding: 13 TEXT
Paul Toseland wrote:
> I stat a file (a Net$cape FAT.DB), using its DOS filename, and it tells
> me it is 692224 bytes long. I open it, fstat it, with the same result.
> I read from it, it reads 28720 bytes and gives end of file. The same
> int handle = open(s1, O_RDONLY);
int handle = open(s1, O_RDONLY | O_BINARY);
--
Sergey Okhapkin
Moscow, Russia
Looking for a job
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".