This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: fopencookie problem in glibc 2.3.5?


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]