From: Bruno Haible Date: Tue, 6 Mar 2001 15:05:45 +0000 (+0000) Subject: Update comment. SUSV2 and ISO C 99 do specify the effect of setlocale with X-Git-Tag: v0.10.36~139 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1cdf3237843b59a8c72cbd3f2f2e2118e3573277;p=thirdparty%2Fgettext.git Update comment. SUSV2 and ISO C 99 do specify the effect of setlocale with NULL argument. --- diff --git a/intl/ChangeLog b/intl/ChangeLog index 76158d8e0..fc0c1f63d 100644 --- a/intl/ChangeLog +++ b/intl/ChangeLog @@ -1,3 +1,7 @@ +2001-02-24 Bruno Haible + + * dcigettext.c: Update comment about HAVE_LOCALE_NULL. + 2001-02-05 Bruno Haible * libgnuintl.h (LC_MESSAGES): Provide a default value. diff --git a/intl/dcigettext.c b/intl/dcigettext.c index fc1716e42..23255b755 100644 --- a/intl/dcigettext.c +++ b/intl/dcigettext.c @@ -178,9 +178,9 @@ static void *mempcpy PARAMS ((void *dest, const void *src, size_t n)); /* XPG3 defines the result of `setlocale (category, NULL)' as: ``Directs `setlocale()' to query `category' and return the current setting of `local'.'' - However it does not specify the exact format. And even worse: POSIX - defines this not at all. So we can use this feature only on selected - system (e.g. those using GNU C Library). */ + However it does not specify the exact format. Neither do SUSV2 and + ISO C 99. So we can use this feature only on selected systems (e.g. + those using GNU C Library). */ #ifdef _LIBC # define HAVE_LOCALE_NULL #endif