From: Michal Jaegermann <michal@ellpspace.math.ualberta.ca>
To: axp-list@redhat.com
Subject: Re: incorrect lseek() function in glibc-2.0.7
Date: Sat, 27 Mar 1999 19:05:24 -0700 (MST) [thread overview]
Message-ID: <199903280205.TAA14691@ellpspace.math.ualberta.ca> (raw)
In-Reply-To: <19990318231612.A24734@twiddle.net> from "Richard Henderson" at Mar 18, 99 11:16:12 pm
Richard,
in a response to my complaints about lseek you wrote the following:
>
> With stock 2.0.x, the problem is in drivers/char/mem.c --
>
> static int memory_lseek(struct inode * inode, struct file * file,
> off_t offset, int orig)
>
> There are patches floating about to change the internal fs type
> to `long' for 2.0. I actually thought these were distributed
> with eg RH kernels.
Well, I had at last a closer look at kernel-source-2.0.36-3.alpha.rpm
which is the latest one in updates to 5.2 from Red Hat. I see there
the following:
static int mem_lseek(struct inode * inode, struct file * file,
off_t offset, int orig)
which does not seem to be much different from what you wrote and
what is in original sources. :-) If there are any patches floating
around for that problem I am not aware of them. I tried to hack
kernel sources a bit. This creates slight problems elsewhere and
would require quite a bit of an intervention to make it clean
(or I am doing something wrong). In any case - this did not help
very much as glibc seems to have its own ideas. I got a different
error message but that was about it.
If I am missing something big here I would like to know.
Michal
prev parent reply other threads:[~1999-03-28 2:20 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-03-18 1:13 incorrect lseek() function in glibc-2.0.7 Michal Jaegermann
1999-03-19 6:12 ` Richard Henderson
1999-03-19 6:48 ` Michal Jaegermann
1999-03-19 7:16 ` Richard Henderson
1999-03-28 2:05 ` Michal Jaegermann [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox