From owner-freebsd-hackers Fri Mar 1 17:03:45 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id RAA23458 for hackers-outgoing; Fri, 1 Mar 1996 17:03:45 -0800 (PST) Received: from genesis.atrad.adelaide.edu.au (genesis.atrad.adelaide.edu.au [129.127.96.120]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id RAA23448 Fri, 1 Mar 1996 17:03:40 -0800 (PST) Received: from msmith@localhost by genesis.atrad.adelaide.edu.au (8.6.12/8.6.9) id LAA04108; Sat, 2 Mar 1996 11:36:56 +1030 From: Michael Smith Message-Id: <199603020106.LAA04108@genesis.atrad.adelaide.edu.au> Subject: Re: Linuxulator unhappiness... To: sos@FreeBSD.org Date: Sat, 2 Mar 1996 11:36:55 +1030 (CST) Cc: msmith@atrad.adelaide.edu.au, bde@zeta.org.au, hackers@FreeBSD.org In-Reply-To: <199603011244.NAA27917@ra.dkuug.dk> from "sos@FreeBSD.org" at Mar 1, 96 01:44:32 pm MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-hackers@FreeBSD.org Precedence: bulk sos@FreeBSD.org stands accused of saying: > > > This is probably caused by bogus types and overflow bugs in linux_file.c > > > function linux_lseek(): > > > > > > 1) the offset is declared as `unsigned long' in `struct linux_seek_args'. > > > File offsets should normally be signed to avoid problems like the current > > > one (that's why off_t is signed). > > > > > exactly, just change the unsigned long to a signed long... Ta; that gets around the problem for now. Now on to see what else doesn't work 8) > Soren Schmidt (sos@FreeBSD.org) FreeBSD Core Team -- ]] Mike Smith, Software Engineer msmith@atrad.adelaide.edu.au [[ ]] Genesis Software genesis@atrad.adelaide.edu.au [[ ]] High-speed data acquisition and (GSM mobile) 0411-222-496 [[ ]] realtime instrument control (ph/fax) +61-8-267-3039 [[ ]] Collector of old Unix hardware. "Where are your PEZ?" The Tick [[