From 8439e6da013eff04ed49b8d55eb3689953e972ba Mon Sep 17 00:00:00 2001 From: jbj Date: Thu, 17 Feb 2000 16:29:28 +0000 Subject: [PATCH] ENABLE_I18N_LOOKASIDE, take two. CVS patchset: 3567 CVS date: 2000/02/17 16:29:28 --- lib/formats.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/formats.c b/lib/formats.c index 1fc419a..be98649 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); -- 2.7.4