chiark / gitweb /
versioncmp: Fix for `~' characters. 2.0.5
authorMark Wooding <mdw@distorted.org.uk>
Wed, 14 May 2008 14:13:39 +0000 (15:13 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Wed, 14 May 2008 14:13:39 +0000 (15:13 +0100)
commit3048fcf976fd576f80143260e20829063f7a746e
tree252bdbf572195a3a62eb311bd0c016f70820c92d
parente3afa470a387e2726de5541e9871ccb2e9915a83
versioncmp: Fix for `~' characters.

In the Debian version number ordering, `~' compares before end-of-
string.  Fix the function to actually cope with this, and introduce test
cases to make sure we actually get it right.

This is release 2.0.5.
Makefile.am
configure.in
debian/changelog
versioncmp-test.c [new file with mode: 0644]
versioncmp.c
versioncmp.in [new file with mode: 0644]