Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Mar 1996 13:44:32 +0100 (MET)
From:      sos@FreeBSD.org
To:        msmith@atrad.adelaide.edu.au (Michael Smith)
Cc:        bde@zeta.org.au, hackers@FreeBSD.org, msmith@atrad.adelaide.edu.au
Subject:   Re: Linuxulator unhappiness...
Message-ID:  <199603011244.NAA27917@ra.dkuug.dk>
In-Reply-To: <199603011158.WAA01482@genesis.atrad.adelaide.edu.au> from "Michael Smith" at Mar 1, 96 10:28:05 pm

next in thread | previous in thread | raw e-mail | index | archive | help
In reply to Michael Smith who wrote:
> 
> Bruce Evans 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...
 
> *sigh*.  Soren/Peter?  Is this one you've fixed?  If not, I'll hack at it
> a little and try to come up with something that works in the interim 8(

I think so, I'll have to check my sorces when I get home.


-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Soren Schmidt             (sos@FreeBSD.org)             FreeBSD Core Team
               So much code to hack -- so little time.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199603011244.NAA27917>