aboutsummaryrefslogtreecommitdiffstats
path: root/common/t-sysutils.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2016-11-02 15:24:58 +0000
committerWerner Koch <[email protected]>2016-11-02 16:58:11 +0000
commit488b183811fc25c1ae49b4730491accf1adf518e (patch)
tree1c86b55b957697b398f8320cb86c55055eed9dc1 /common/t-sysutils.c
parentgpgscm: Fix inclusion of readline header. (diff)
downloadgnupg-488b183811fc25c1ae49b4730491accf1adf518e.tar.gz
gnupg-488b183811fc25c1ae49b4730491accf1adf518e.zip
common: Improve compare_string_versions.
* common/stringhelp.c: Include limits.h. (compare_version_strings): Change semantics to behave like strcmp. Include the patch lebel in the comparison. Allow checking a single version string. * common/t-stringhelp.c (test_compare_version_strings): Adjust test vectors and a few new vectors. * g10/call-agent.c (warn_version_mismatch): Adjust to new sematics. * g10/call-dirmngr.c (warn_version_mismatch): Ditto. * sm/call-agent.c (warn_version_mismatch): Ditto. * sm/call-dirmngr.c (warn_version_mismatch): Ditto. Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'common/t-sysutils.c')
0 files changed, 0 insertions, 0 deletions