[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: RPM Version Number Sort Logic
- From: Erik Troan <ewt redhat com>
- To: rpm-list redhat com
- Subject: Re: RPM Version Number Sort Logic
- Date: Mon, 1 Jul 2002 17:21:22 -0400 (EDT)
On Mon, 1 Jul 2002, David Christensen wrote:
> Reading "Maximum RPM", as long as there is no dash in the version number,
> RPM should be able to handle version number correctly. In a situation where
> an older version is numbered 1.6.031 and a newer verision is numbered
> 1.61.032, will RPM handle this correctly when asked to do an update?
> Numerically, 61 is greater than 6 so it should be newer, but using an ASCII
> sort, "1.6." is earlier than "1.61".
If RPM can use numerical comparison, it will.
Erik
-------------------------------------------------------------------------------
| "Who is John Galt?" - Atlas Shrugged by Ayn Rand |
| |
| Linux Application Development -- http://people.redhat.com/johnsonm/lad |
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[]