diff options
author | Dan McGee <dan@archlinux.org> | 2011-08-23 08:49:29 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-08-23 08:49:29 +0200 |
commit | 30d978a966c1d2a619acc49f204e4da1e0010c83 (patch) | |
tree | 213655259e062d4603b4f665ddc4f9941280c92c /autogen.sh | |
parent | cc03d6366a12cd1926e46265c63fba98f41faaae (diff) | |
download | pacman-30d978a966c1d2a619acc49f204e4da1e0010c83.tar.gz pacman-30d978a966c1d2a619acc49f204e4da1e0010c83.tar.xz |
vercmp: ensure 2.0a and 2.0.a do not compare equal
We had this interesting set of facts conundrum, according to vercmp
return values:
2.0a < 2.0
2.0 < 2.0.a
2.0a == 2.0.a
This introduces a code change that ensures '2.0a < 2.0.a' as would be
expected by the first two comparisons. Unfortunately this stays us a bit
further from upstream RPM code, but those are the breaks (in RPM, the
versions involving 'a' do in fact compare the same, but they are both
greater than the bare '2.0').
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'autogen.sh')
0 files changed, 0 insertions, 0 deletions