This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: fopencookie problem in glibc 2.3.5?
- From: Arkadiusz Miskiewicz <arekm at pld-linux dot org>
- To: libc-alpha at sources dot redhat dot com
- Date: Mon, 11 Apr 2005 21:10:06 +0200
- Subject: Re: fopencookie problem in glibc 2.3.5?
- Organization: SelfOrganizing
- References: <200504081537.49951.arekm@pld-linux.org>
On Friday 08 of April 2005 15:37, Arkadiusz Miskiewicz wrote:
> Hi,
>
> On glibc 2.3.5 (Linux 2.6.11, ppc32, x86) I'm getting different behaviour
> than on 2.3.4 when using fopencookie. Example program attached.
> static int myseek(void* myhandle, fpos_t* position, int whence)
> {
> return fseek((FILE*)myhandle, *(unsigned int*)position, whence);
> }
Of course it doesn't work even if myseek is fixed (return 0/-1 and place new
position in position). Looks like something got broken in glibc 2.3.5.
--
Arkadiusz Miśkiewicz PLD/Linux Team
http://www.t17.ds.pwr.wroc.pl/~misiek/ http://ftp.pld-linux.org/