From owner-freebsd-bugs Wed Mar 20 10:51:14 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id KAA24440 for bugs-outgoing; Wed, 20 Mar 1996 10:51:14 -0800 (PST) Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id KAA24415 Wed, 20 Mar 1996 10:51:04 -0800 (PST) Received: from sax.sax.de by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id TAA22802; Wed, 20 Mar 1996 19:51:00 +0100 Received: by sax.sax.de (8.6.11/8.6.12-s1) with UUCP id TAA13863; Wed, 20 Mar 1996 19:50:59 +0100 Received: (from j@localhost) by uriah.heep.sax.de (8.7.4/8.6.9) id TAA09057; Wed, 20 Mar 1996 19:27:32 +0100 (MET) From: J Wunsch Message-Id: <199603201827.TAA09057@uriah.heep.sax.de> Subject: Re: struct flock problem To: lehey.pad@sni.de (Greg Lehey) Date: Wed, 20 Mar 1996 19:27:32 +0100 (MET) Cc: lav@video.yars.free.net, bugs@FreeBSD.ORG, ports@FreeBSD.ORG In-Reply-To: <199603201427.PAA02329@nixpbe.pdb.sni.de> from "Greg Lehey" at Mar 20, 96 02:41:48 pm X-Phone: +49-351-2012 669 X-Mailer: ELM [version 2.4 PL24 ME8a] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk 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. ;-)