[pacman-dev] [PATCH 1/2] lib/version: versions must be same length to be equal
d at falconindy.com
Sat Aug 20 22:47:35 EDT 2011
On Sat, Aug 20, 2011 at 10:42:54PM -0400, Dave Reisner wrote:
> vercmp exhibited some odd behavior here, declaring versions such as
> '23.3a' and '23.3.a' as equivalent. Add an extra check before we return
> equality that the versions have the same length.
> Adds a pair of test cases to the vercmp test suite as well.
> Reported-by: Eric Belanger <eric at archlinux.org>
> Signed-off-by: Dave Reisner <dreisner at archlinux.org>
And I've actually got this backwards... 23.3a should be older than
More information about the pacman-dev