aboutsummaryrefslogtreecommitdiffstats
path: root/rpmtools.xs
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2002-04-22 15:59:41 +0000
committerFrancois Pons <fpons@mandriva.com>2002-04-22 15:59:41 +0000
commitd471b8f9a8b205a0dba4debf35e00c71f16c3a33 (patch)
treedd180b1708ce881c3bc6e070c8032bc044a7505f /rpmtools.xs
parentc308502834119ac1acd09c37642a5291479d9684 (diff)
downloadrpmtools-8_2_fixed.tar
rpmtools-8_2_fixed.tar.gz
rpmtools-8_2_fixed.tar.bz2
rpmtools-8_2_fixed.tar.xz
rpmtools-8_2_fixed.zip
improved generation of synthesis (smaller)v8_2_fixed4.2.12
Diffstat (limited to 'rpmtools.xs')
-rw-r--r--rpmtools.xs3
1 files changed, 2 insertions, 1 deletions
diff --git a/rpmtools.xs b/rpmtools.xs
index b8b166f..3d79013 100644
--- a/rpmtools.xs
+++ b/rpmtools.xs
@@ -160,7 +160,8 @@ SV *get_table_sense(Header header, int_32 tag_name, int_32 tag_flags, int_32 tag
}
for(i = 0; i < count; i++) {
- len = strlen(list[i]); if (len >= sizeof(buff)) continue;
+ len = strlen(list[i]);
+ if (len >= sizeof(buff) || !strncmp(list[i], "rpmlib(", 7)) continue;
memcpy(p = buff, list[i], len + 1); p+= len;
if (flags) {