From owner-freebsd-bugs Mon Apr 17 12:50:39 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from sasami.jurai.net (sasami.jurai.net [63.67.141.99]) by hub.freebsd.org (Postfix) with ESMTP id 94BDC37B9E7 for ; Mon, 17 Apr 2000 12:50:36 -0700 (PDT) (envelope-from winter@jurai.net) Received: from localhost (winter@localhost) by sasami.jurai.net (8.9.3/8.8.7) with ESMTP id PAA44428; Mon, 17 Apr 2000 15:50:32 -0400 (EDT) Date: Mon, 17 Apr 2000 15:50:31 -0400 (EDT) From: "Matthew N. Dodd" To: Samuel Tardieu Cc: Bill Fumerola , freebsd-bugs@FreeBSD.ORG Subject: Re: bin/18030: [PATCH] pkg_version thinks 4.04 > 4.1 In-Reply-To: <2000-04-17-17-55-43+trackit+sam@inf.enst.fr> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Mon, 17 Apr 2000, Samuel Tardieu wrote: > On 17/04, Bill Fumerola wrote: > | On Mon, Apr 17, 2000 at 12:00:03AM -0700, Samuel Tardieu wrote: > | > | > a2ps 4.12 > a2ps 4.3, and your patch will break it. There is no way to make > | > this fully automated. > | > | Ignore leading zeros? > > You missed the point: this is the current situation (which works fine > with a2ps and not for the other software, as 4.04 is less recent than > 4.1, ignoring leading zeros (or doing a numerical comparaison, which > holds the same result) gets it wrong). Yet another reason for internal package version numbers. -- | Matthew N. Dodd | '78 Datsun 280Z | '75 Volvo 164E | FreeBSD/NetBSD | | winter@jurai.net | 2 x '84 Volvo 245DL | ix86,sparc,pmax | | http://www.jurai.net/~winter | This Space For Rent | ISO8802.5 4ever | To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message