summaryrefslogtreecommitdiff
path: root/lib/rpmvercmp.c
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2001-08-15 14:03:03 +0000
committerjbj <devnull@localhost>2001-08-15 14:03:03 +0000
commite42f1fd9675c52de900356a73777ec482e285591 (patch)
tree61408a50ec269e48ade5d9e20cb6a0fa56c41e0b /lib/rpmvercmp.c
parenta36acaf3b8f2a1417c65ab9f68e3a868045a12d4 (diff)
downloadlibrpm-tizen-e42f1fd9675c52de900356a73777ec482e285591.tar.gz
librpm-tizen-e42f1fd9675c52de900356a73777ec482e285591.tar.bz2
librpm-tizen-e42f1fd9675c52de900356a73777ec482e285591.zip
- always use dl size in regionSwab() return.
- ppc: revert ppcmac to ppc. - ppc: autoconf test for va_copy. CVS patchset: 5015 CVS date: 2001/08/15 14:03:03
Diffstat (limited to 'lib/rpmvercmp.c')
-rw-r--r--lib/rpmvercmp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rpmvercmp.c b/lib/rpmvercmp.c
index 881955855..95b6f208a 100644
--- a/lib/rpmvercmp.c
+++ b/lib/rpmvercmp.c
@@ -63,7 +63,7 @@ int rpmvercmp(const char * a, const char * b)
/* take care of the case where the two version segments are */
/* different types: one numeric, the other alpha (i.e. empty) */
if (one == str1) return -1; /* arbitrary */
- if (two == str2) return 1;
+ if (two == str2) return -1;
if (isnum) {
/* this used to be done by converting the digit segments */