This is the mail archive of the
libc-help@sourceware.org
mailing list for the glibc project.
Re: ftell broken when using fopencookie?
- From: "Carlos O'Donell" <carlos at systemhalted dot org>
- To: tvrtko dot ursulin at sophos dot com
- Cc: libc-help at sourceware dot org
- Date: Sat, 5 Jul 2008 17:35:00 -0400
- Subject: Re: ftell broken when using fopencookie?
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender :to:subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references :x-google-sender-auth; bh=kAs00zoxonJEvRjAIZFzHNdfloClnh9U1wdV+ypVPoI=; b=VIZ5h+XnonKIh4YYg1HWzjf/OSe9iUwQG20njb0mFnmZvQByKGNXgsI7aO8MHyNO9R Levh5oyTOKZMiIgg7DrotVNJ3tI1iHX8i5oV+IzRbthQ0tmm6azAO88tEPJkp+xjuOYW +Y06RqXXbFtfF6BXHOq/hDUaMK6tAcjy9HuKg=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references:x-google-sender-auth; b=DptZKtW/RPGVhpLU4lmxXR42S1IIhgmMYta9AhhBbZ905k/CzuRUD252s/FINuXgHt RcpM7O0SdrqyNKnAztLB2HQX++aCi5JdYP92N1bFQIrl6doPfLXNu/5pljyk2XyWOpJp tM1wc71jcXc8Ws0VEp0VCHeVtSkJbR9MlUmag=
- References: <20080704074802.A56602FE8A6@pmx1.sophos.com>
On Fri, Jul 4, 2008 at 4:48 AM, <tvrtko.ursulin@sophos.com> wrote:
> I was playing with fopencookie yesterday and it looks like ftell() does
> not work properly with those streams.
The thread you mention ends with the author explaining that his code is wrong.
http://sources.redhat.com/ml/libc-alpha/2005-04/msg00055.html
If you think something is broken you will need to present the following:
1. Expected behaviour.
2. Observed behaviour.
3. Test case.
Cheers,
Carlos O'Donell.