From a01e32444681ed16f9ba30f8fac2cf06bf970ad0 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Wed, 13 Feb 2002 13:55:34 +0000 Subject: [PATCH] OS/2 specific fix. --- intl/ChangeLog | 5 +++++ intl/os2compat.c | 12 ++---------- 2 files changed, 7 insertions(+), 10 deletions(-) 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; -- 2.47.2