- headerGetEntry() should return count of 1 when returning
authormarc <devnull@localhost>
Fri, 1 May 1998 17:10:25 +0000 (17:10 +0000)
committermarc <devnull@localhost>
Fri, 1 May 1998 17:10:25 +0000 (17:10 +0000)
          strings plucked from i18n strings

CVS patchset: 2102
CVS date: 1998/05/01 17:10:25

CHANGES
lib/header.c

diff --git a/CHANGES b/CHANGES
index 99613c5..d580be8 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -8,6 +8,8 @@
        - freePrefixes wasn't initialized in runScript()
        - fix typo in %triggerpostun generation
        - include icons in source packages
+       - headerGetEntry() should return count of 1 when returning
+          strings plucked from i18n strings
        - do not remove comments in scripts
 
 2.4.108 -> 2.4.109:
index ecaabe6..897de4f 100644 (file)
@@ -726,7 +726,7 @@ int headerGetEntry(Header h, int_32 tag, int_32 * type, void **p, int_32 * c)
        if (h->langNum == -1) headerResetLang(h);
 
        if (type) *type = RPM_STRING_TYPE;
-       if (c) *c = entry->info.count;
+       if (c) *c = 1;
 
        chptr = entry->data;
        for (i = 0; i < h->langNum; i++)