From owner-freebsd-bugs Tue Apr 18 11:35:35 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from maynard.mail.mindspring.net (maynard.mail.mindspring.net [207.69.200.243]) by hub.freebsd.org (Postfix) with ESMTP id B3CA337B7B4 for ; Tue, 18 Apr 2000 11:35:28 -0700 (PDT) (envelope-from asami@cs.berkeley.edu) Received: from silvia.hip.berkeley.edu (sji-ca42-75.ix.netcom.com [209.111.212.75]) by maynard.mail.mindspring.net (8.9.3/8.8.5) with ESMTP id OAA18420; Tue, 18 Apr 2000 14:35:19 -0400 (EDT) Received: (from asami@localhost) by silvia.hip.berkeley.edu (8.9.3/8.6.9) id LAA04091; Tue, 18 Apr 2000 11:35:16 -0700 (PDT) To: Samuel Tardieu Cc: Bill Fumerola , freebsd-bugs@FreeBSD.org Subject: Re: bin/18030: [PATCH] pkg_version thinks 4.04 > 4.1 References: <200004170700.AAA55638@freefall.freebsd.org> <20000417115303.J397@jade.chc-chimes.com> <2000-04-17-17-55-43+trackit+sam@inf.enst.fr> From: asami@FreeBSD.org (Satoshi - Ports Wraith - Asami) Date: 18 Apr 2000 11:35:15 -0700 In-Reply-To: Samuel Tardieu's message of "Mon, 17 Apr 2000 17:55:43 +0200" Message-ID: Lines: 9 X-Mailer: Gnus v5.7/Emacs 20.6 Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org * 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). How about doing a numerical comparison iif the period-delimited component is a whole number (i.e., ([1-9][0-9]*|0)). Satoshi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message