summaryrefslogtreecommitdiff
path: root/lib/rpmrc.c
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2002-07-25 23:36:32 +0000
committerjbj <devnull@localhost>2002-07-25 23:36:32 +0000
commitc33342be5f9bcf69e6967db5c196b6ba32326694 (patch)
treefc2d4f5d3512b3fe359d5256bb349c7cf32c8e42 /lib/rpmrc.c
parente03b4bf8602b591e75c9d85fda69c49ba89c9ffb (diff)
downloadlibrpm-tizen-c33342be5f9bcf69e6967db5c196b6ba32326694.tar.gz
librpm-tizen-c33342be5f9bcf69e6967db5c196b6ba32326694.tar.bz2
librpm-tizen-c33342be5f9bcf69e6967db5c196b6ba32326694.zip
- fix: --repackage repaired (#67217).
- fix: rpm2cpio disables signature checks (i.e. same behavior). CVS patchset: 5574 CVS date: 2002/07/25 23:36:32
Diffstat (limited to 'lib/rpmrc.c')
-rw-r--r--lib/rpmrc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rpmrc.c b/lib/rpmrc.c
index 7ee19af09..4225656fd 100644
--- a/lib/rpmrc.c
+++ b/lib/rpmrc.c
@@ -1033,7 +1033,7 @@ static int is_athlon(void)
for (i=0; i<4; i++)
vendor[8+i] = (unsigned char) (ecx >>(8*i));
- if (strcmp(vendor, "AuthenticAMD") != 0)
+ if (strncmp(vendor, "AuthenticAMD", 12) != 0)
return 0;
return 1;