From owner-freebsd-ports Tue Sep 26 22:51:11 2000 Delivered-To: freebsd-ports@freebsd.org Received: from smtp10.atl.mindspring.net (smtp10.atl.mindspring.net [207.69.200.246]) by hub.freebsd.org (Postfix) with ESMTP id 6F7C037B424; Tue, 26 Sep 2000 22:51:07 -0700 (PDT) Received: from silvia.hip.berkeley.edu (sji-ca1-01.ix.netcom.com [209.109.232.1]) by smtp10.atl.mindspring.net (8.9.3/8.8.5) with ESMTP id BAA08791; Wed, 27 Sep 2000 01:50:57 -0400 (EDT) Received: (from asami@localhost) by silvia.hip.berkeley.edu (8.11.0/8.11.0) id e8R5osp42040; Tue, 26 Sep 2000 22:50:54 -0700 (PDT) (envelope-from asami) To: "Akinori -Aki- MUSHA" Cc: freebsd-ports@FreeBSD.org, bmah@FreeBSD.org Subject: Re: Enhancement of pkg_version's version comparison routine References: <86k8by6eis.wl@archon.local.idaemons.org> <86wvfy4etq.wl@archon.local.idaemons.org> From: asami@FreeBSD.org (Satoshi - Ports Wraith - Asami) Date: 26 Sep 2000 22:50:50 -0700 In-Reply-To: "Akinori -Aki- MUSHA"'s message of "Wed, 27 Sep 2000 13:52:01 +0900" Message-ID: Lines: 13 X-Mailer: Gnus v5.7/Emacs 20.7 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org * From: "Akinori -Aki- MUSHA" * My top priority was to achieve this issue, that is, to put pre-release * versions before release versions. And it's very easy to add support * for gamma, delta, and epsilon, as follows: No, that is the wrong way to go. What the handbook is trying to say is that when there is an alphabet right after a ".", it sorts before numbers. "a" for alpha etc. are just examples. Don't hardcode any values here please -- any alphabet that comes after a "." should be treated the same way. Satoshi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message