]> git.pld-linux.org Git - packages/rpm.git/blame - rpm-gettext-in-header.patch
- no tsc in i486
[packages/rpm.git] / rpm-gettext-in-header.patch
CommitLineData
5b0f0ac9
MM
1--- rpm-4.1/rpmdb/header.c.wiget2 Thu Sep 19 00:47:29 2002
2+++ rpm-4.1/rpmdb/header.c Thu Sep 19 00:52:10 2002
3@@ -1645,7 +1645,8 @@
d2e6b845 4 }
5b0f0ac9
MM
5 /*@=boundsread@*/
6
d2e6b845 7- return entry->data;
8+/* when everything fail, try gettext */
4db92c1c 9+ return ((entry->data != NULL) && *(char*)(entry->data)) ? _(entry->data) : entry->data;
d2e6b845 10 }
11
12 /**
This page took 0.098722 seconds and 4 git commands to generate.