projects
/
platform
/
upstream
/
rpm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e0dc138
)
Return 1 and -1 as we state we do - #113668
author
pauln
<devnull@localhost>
Tue, 17 Feb 2004 14:29:42 +0000
(14:29 +0000)
committer
pauln
<devnull@localhost>
Tue, 17 Feb 2004 14:29:42 +0000
(14:29 +0000)
CVS patchset: 7099
CVS date: 2004/02/17 14:29:42
lib/rpmvercmp.c
patch
|
blob
|
history
diff --git
a/lib/rpmvercmp.c
b/lib/rpmvercmp.c
index
d577220
..
5963bf2
100644
(file)
--- a/
lib/rpmvercmp.c
+++ b/
lib/rpmvercmp.c
@@
-89,7
+89,7
@@
int rpmvercmp(const char * a, const char * b)
/* if they are equal because there might be more segments to */
/* compare */
rc = strcmp(one, two);
- if (rc) return
rc
;
+ if (rc) return
(rc < 1 ? -1 : 1)
;
/* restore character that was replaced by null above */
/*@-boundswrite@*/