From owner-freebsd-hackers Tue Jul 1 06:16:17 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id GAA29300 for hackers-outgoing; Tue, 1 Jul 1997 06:16:17 -0700 (PDT) Received: from rf900.physics.usyd.edu.au (rf900.physics.usyd.edu.au [129.78.129.109]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id GAA29295 for ; Tue, 1 Jul 1997 06:16:11 -0700 (PDT) Received: (from dawes@localhost) by rf900.physics.usyd.edu.au (8.8.5/8.8.2) id XAA13296; Tue, 1 Jul 1997 23:15:48 +1000 (EST) Message-ID: <19970701231548.62722@rf900.physics.usyd.edu.au> Date: Tue, 1 Jul 1997 23:15:48 +1000 From: David Dawes To: Eivind Eklund Cc: hackers@FreeBSD.ORG Subject: Re: Determining FreeBSD versions References: <19970701190353.50830@rf900.physics.usyd.edu.au> <199707011243.OAA14341@bitbox.follo.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.69 In-Reply-To: <199707011243.OAA14341@bitbox.follo.net>; from Eivind Eklund on Tue, Jul 01, 1997 at 02:43:43PM +0200 Sender: owner-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Tue, Jul 01, 1997 at 02:43:43PM +0200, Eivind Eklund wrote: >> >> Is there a better way to reliably distinguish between versions, >> particularly the vintage of one of the "-STABLE" versions? The imake >> config allows these version parameters to be manually overriden, and >> that's what I'm doing for now. It would be good if the auto-detect >> mechanism could be made to work in this case though. I don't mind so >> much about -CURRENT, since that's known to be more of a moving target. > >/usr/include/osreldate.h should be fairly easy to parse, and give very >good data, especially after the format was fixed :) OK, I think that will do what I need. David