diff options
author | jbj <devnull@localhost> | 2002-01-18 22:51:30 +0000 |
---|---|---|
committer | jbj <devnull@localhost> | 2002-01-18 22:51:30 +0000 |
commit | c74fa2496545a34868e93ab830b304033781cde3 (patch) | |
tree | b02775ad932ceb3dd34c99b157e5b25e3506accf /lib/rpmvercmp.c | |
parent | 3ef59667d3d4c6e2c4a64d53dc60472abb607e26 (diff) | |
download | rpm-c74fa2496545a34868e93ab830b304033781cde3.tar.gz rpm-c74fa2496545a34868e93ab830b304033781cde3.tar.bz2 rpm-c74fa2496545a34868e93ab830b304033781cde3.zip |
- missing key(s) on keyring when verifying a signature is now an error.
- remove dependency whiteout.
- splint fiddles.
CVS patchset: 5255
CVS date: 2002/01/18 22:51:30
Diffstat (limited to 'lib/rpmvercmp.c')
-rw-r--r-- | lib/rpmvercmp.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/rpmvercmp.c b/lib/rpmvercmp.c index 95b6f208a..361f432e2 100644 --- a/lib/rpmvercmp.c +++ b/lib/rpmvercmp.c @@ -33,6 +33,7 @@ int rpmvercmp(const char * a, const char * b) two = str2; /* loop through each version segment of str1 and str2 and compare them */ + /*@-branchstate@*/ while (*one && *two) { while (*one && !xisalnum(*one)) one++; while (*two && !xisalnum(*two)) two++; @@ -92,6 +93,7 @@ int rpmvercmp(const char * a, const char * b) *str2 = oldch2; two = str2; } + /*@=branchstate@*/ /* this catches the case where all numeric and alpha segments have */ /* compared identically but the segment sepparating characters were */ |