From owner-freebsd-chat Tue Jun 22 8:15:16 1999 Delivered-To: freebsd-chat@freebsd.org Received: from janus.syracuse.net (janus.syracuse.net [205.232.47.15]) by hub.freebsd.org (Postfix) with ESMTP id 1EC7814F4E; Tue, 22 Jun 1999 08:15:09 -0700 (PDT) (envelope-from green@unixhelp.org) Received: from localhost (green@localhost) by janus.syracuse.net (8.9.2/8.8.7) with ESMTP id LAA90492; Tue, 22 Jun 1999 11:15:10 -0400 (EDT) Date: Tue, 22 Jun 1999 11:15:10 -0400 (EDT) From: "Brian F. Feldman" X-Sender: green@janus.syracuse.net To: Eivind Eklund Cc: chat@freebsd.org Subject: Re: __FreeBSD_version hairsplitting [was Re: cvs commit: doc/en/handbook/ports chapter.sgml] In-Reply-To: <19990622164012.A817@bitbox.follo.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-chat@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Tue, 22 Jun 1999, Eivind Eklund wrote: > On Tue, Jun 22, 1999 at 10:29:02AM -0400, Brian F. Feldman wrote: > > On Tue, 22 Jun 1999, Eivind Eklund wrote: > > > > how does that not use __FreeBSD_version? Ports do that. And most of > > > > the time, with any changes, it is not the API that changes but the > > > > ABI. > > > > > > There are other mechanisms than __FreeBSD_version for handling that. > > > __FreeBSD_version is for handling API differences; it is at source > > > level. > > > > Look at the latest pidentd port. How could that be done without __FreeBSD_\ > > version? I'm _NOT_ converting pidentd to *blech *autoconf. > > pidentd is abusing kernel memory as an API. This is still an API change. > > The ABI is the binary interface that an executable can expect. If this > change, the executable need to be recompiled. If the API didn't change > along with the ABI, it can be recompiled from the same sources to generate a > new working executable. As for pidentd, I'm going to have a sysctl to get socket credentials soon... As for the argument itself... *waves the white flag* > > Eivind. > > Brian Fundakowski Feldman _ __ ___ ____ ___ ___ ___ green@FreeBSD.org _ __ ___ | _ ) __| \ FreeBSD: The Power to Serve! _ __ | _ \._ \ |) | http://www.FreeBSD.org/ _ |___/___/___/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-chat" in the body of the message