Skip site navigation (1)Skip section navigation (2)
Date:      18 Apr 2000 11:35:15 -0700
From:      asami@FreeBSD.org (Satoshi - Ports Wraith - Asami)
To:        Samuel Tardieu <sam@inf.enst.fr>
Cc:        Bill Fumerola <billf@chc-chimes.com>, freebsd-bugs@FreeBSD.org
Subject:   Re: bin/18030: [PATCH] pkg_version thinks 4.04 > 4.1
Message-ID:  <vqcitxf2r6k.fsf@silvia.hip.berkeley.edu>
In-Reply-To: Samuel Tardieu's message of "Mon, 17 Apr 2000 17:55:43 %2B0200"
References:  <200004170700.AAA55638@freefall.freebsd.org> <20000417115303.J397@jade.chc-chimes.com> <2000-04-17-17-55-43%2Btrackit%2Bsam@inf.enst.fr>

next in thread | previous in thread | raw e-mail | index | archive | help
 * 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?vqcitxf2r6k.fsf>