1.3.3-2: fseek fails on multiples of 1024 (binary mode)

Christopher Faylor cgf@redhat.com
Mon Oct 22 12:05:00 GMT 2001


On Sun, Oct 21, 2001 at 03:56:29PM -0700, Derek B. Noonburg wrote:
>The fseek function appears to behave strangely when both the offset and
>file size are multiples of 1024.  This is with binary mode files -- I'm
>calling fopen with "rb", and my test file has no control characters (CR,
>LF, ^Z) at all.

This looks like a newlib bug.  I've forwarded this to the newlib mailing
list.

In the meantime if anyone wants to look into the problem, a patch would
be gratefully accepted.

cgf

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list