]> git.pld-linux.org Git - packages/rpm.git/blob - rpm-gettext-in-header.patch
- dropped obsolete comment
[packages/rpm.git] / rpm-gettext-in-header.patch
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 @@
4      }
5  /*@=boundsread@*/
6  
7 -    return entry->data;
8 +/* when everything fail, try gettext */
9 +    return ((entry->data != NULL) && *(char*)(entry->data)) ? _(entry->data) : entry->data;
10  }
11  
12  /**
This page took 0.049666 seconds and 3 git commands to generate.