]> git.pld-linux.org Git - packages/rpm.git/blobdiff - rpm-gettext-in-header.patch
- rel 46; missing import
[packages/rpm.git] / rpm-gettext-in-header.patch
index 9e3ff96810310789337e83ee82f1ad0f42c3a389..935f6124b4649e1e4bab1c235034e03c5ec560ff 100644 (file)
@@ -1,12 +1,12 @@
 --- rpm-4.1/rpmdb/header.c.wiget2      Thu Sep 19 00:47:29 2002
 +++ rpm-4.1/rpmdb/header.c     Thu Sep 19 00:52:10 2002
 @@ -1645,7 +1645,8 @@
+       if (ed_weak) return (char *) ed_weak;
      }
- /*@=boundsread@*/
  
--    return entry->data;
+-    return (char *) entry->data;
 +/* when everything fail, try gettext */
-+    return ((entry->data != NULL) && *(char*)(entry->data)) ? _(entry->data) : entry->data;
++    return ((entry->data != NULL) && *(char*)(entry->data)) ? _(entry->data) : (char *) entry->data;
  }
  
  /**
This page took 0.034411 seconds and 4 git commands to generate.