Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Mar 1996 19:27:32 +0100 (MET)
From:      J Wunsch <j@uriah.heep.sax.de>
To:        lehey.pad@sni.de (Greg Lehey)
Cc:        lav@video.yars.free.net, bugs@FreeBSD.ORG, ports@FreeBSD.ORG
Subject:   Re: struct flock problem
Message-ID:  <199603201827.TAA09057@uriah.heep.sax.de>
In-Reply-To: <199603201427.PAA02329@nixpbe.pdb.sni.de> from "Greg Lehey" at Mar 20, 96 02:41:48 pm

next in thread | previous in thread | raw e-mail | index | archive | help
As Greg Lehey wrote:

> ... although binaries from FreeBSD 1.x or
> BSD/386 1.x will generally run on FreeBSD 2.x, they won't if they use
> fcntl locking.  The background is that off_t is now 64 bits long, so
> it wouldn't work in the same sequence anyway, and this way round you
> waste less space in the struct.

The background is that renaming the fcntl syscall has apparently been
forgotten by the fathers of 4.4BSD, since its dependency on off_t
wasn't very obvious.  All the other syscalls have changed, thus
preserving the binary compatibility.  As it's often the case when
something has been forgotten in the first place, it's too late now.

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)



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