From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 14058 invoked from network); 28 Mar 1999 02:20:21 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 28 Mar 1999 02:20:21 -0000 Received: from ellpspace.math.ualberta.ca (michal@ellpspace.math.ualberta.ca [129.128.88.19]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id VAA19495 for ; Sat, 27 Mar 1999 21:05:30 -0500 Received: (from michal@localhost) by ellpspace.math.ualberta.ca (8.8.8/8.8.8) id TAA14691 for axp-list@redhat.com; Sat, 27 Mar 1999 19:05:25 -0700 From: Michal Jaegermann Message-Id: <199903280205.TAA14691@ellpspace.math.ualberta.ca> Subject: Re: incorrect lseek() function in glibc-2.0.7 To: axp-list@redhat.com Date: Sat, 27 Mar 1999 19:05:24 -0700 (MST) In-Reply-To: <19990318231612.A24734@twiddle.net> from "Richard Henderson" at Mar 18, 99 11:16:12 pm Content-Type: text 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