Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-ID: <3BD556FE.46350849@syntrex.com> Date: Tue, 23 Oct 2001 13:39:42 +0200 From: Pavel Tsekov X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.4.2-2 i686) X-Accept-Language: en MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: 1.3.3-2: fseek fails on multiples of 1024 (binary mode) References: <20011021225629 DOT 17478 DOT qmail AT foolabs DOT com> <20011022150648 DOT B10383 AT redhat DOT com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit I think I found the problem - is there anyone who can test a patch ? Christopher Faylor wrote: > > 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. -- 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/