diff options
author | jbj <devnull@localhost> | 2000-02-17 16:29:28 +0000 |
---|---|---|
committer | jbj <devnull@localhost> | 2000-02-17 16:29:28 +0000 |
commit | 8439e6da013eff04ed49b8d55eb3689953e972ba (patch) | |
tree | 9700894dfd8c538a27dfc565d0c6b85d37bdc783 /lib | |
parent | 3a092572e8155e342920b403d4a2b8512bc6d868 (diff) | |
download | librpm-tizen-8439e6da013eff04ed49b8d55eb3689953e972ba.tar.gz librpm-tizen-8439e6da013eff04ed49b8d55eb3689953e972ba.tar.bz2 librpm-tizen-8439e6da013eff04ed49b8d55eb3689953e972ba.zip |
ENABLE_I18N_LOOKASIDE, take two.
CVS patchset: 3567
CVS date: 2000/02/17 16:29:28
Diffstat (limited to 'lib')
-rw-r--r-- | lib/formats.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/formats.c b/lib/formats.c index 1fc419ae1..be98649f1 100644 --- a/lib/formats.c +++ b/lib/formats.c @@ -346,6 +346,7 @@ static int filenamesTag(Header h, int_32 * type, /*@out@*/void ** data, /* I18N look aside diversions */ +#define ENABLE_I18N_LOOKASIDE #ifdef ENABLE_I18N_LOOKASIDE static int i18nTag(Header h, int_32 tag, /*@out@*/ int_32 * type, /*@out@*/ void ** data, /*@out@*/ int_32 * count, @@ -389,7 +390,9 @@ static int i18nTag(Header h, int_32 tag, /*@out@*/ int_32 * type, if (domain && msgid) { *data = xstrdup(/*@-unrecog@*/ dgettext(domain, msgid) /*@=unrecog@*/); *count = 1; +#ifdef HACK /* XXX WTFO? */ *freeData = 1; +#endif } xfree(dstring); return (*data ? 0 : 1); |