From: Bruno Haible Date: Wed, 13 Feb 2002 13:55:34 +0000 (+0000) Subject: OS/2 specific fix. X-Git-Tag: v0.11.1~70 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a01e32444681ed16f9ba30f8fac2cf06bf970ad0;p=thirdparty%2Fgettext.git OS/2 specific fix. --- diff --git a/intl/ChangeLog b/intl/ChangeLog index ba27d2387..776bafbf6 100644 --- a/intl/ChangeLog +++ b/intl/ChangeLog @@ -1,3 +1,8 @@ +2002-02-14 Andrew Zabolotny + + * os2compat.c (_nl_default_dirname__): Renamed from + _nl_default_dirname. + 2002-02-10 Bruno Haible * localename.c: Change copyright notice from GPL to LGPL. diff --git a/intl/os2compat.c b/intl/os2compat.c index 5959ef5c0..681e98aea 100644 --- a/intl/os2compat.c +++ b/intl/os2compat.c @@ -37,17 +37,9 @@ _nl_getenv (const char *name) return value; } -char _nl_default_dirname[] = /* a 260+1 bytes large buffer */ - "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" - "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" - "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" - "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" - "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" - "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" - "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" - "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" - "\0\0\0\0" +/* A fixed size buffer. */ #define LOCALEDIR_MAX 260 +char _nl_default_dirname__[LOCALEDIR_MAX+1]; char *_os2_libdir = NULL; char *_os2_localealiaspath = NULL;