summaryrefslogtreecommitdiffstats
path: root/intl
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2001-03-06 15:05:45 +0000
committerBruno Haible <bruno@clisp.org>2001-03-06 15:05:45 +0000
commit1cdf3237843b59a8c72cbd3f2f2e2118e3573277 (patch)
tree8ea43bb275938e32e748522b28c71d0a8245407f /intl
parentf452325cd0ab9d50337c0259c5e7c2536c1b626f (diff)
downloadexternal_gettext-1cdf3237843b59a8c72cbd3f2f2e2118e3573277.zip
external_gettext-1cdf3237843b59a8c72cbd3f2f2e2118e3573277.tar.gz
external_gettext-1cdf3237843b59a8c72cbd3f2f2e2118e3573277.tar.bz2
Update comment. SUSV2 and ISO C 99 do specify the effect of setlocale with
NULL argument.
Diffstat (limited to 'intl')
-rw-r--r--intl/ChangeLog4
-rw-r--r--intl/dcigettext.c6
2 files changed, 7 insertions, 3 deletions
diff --git a/intl/ChangeLog b/intl/ChangeLog
index 76158d8..fc0c1f6 100644
--- a/intl/ChangeLog
+++ b/intl/ChangeLog
@@ -1,3 +1,7 @@
+2001-02-24 Bruno Haible <haible@clisp.cons.org>
+
+ * dcigettext.c: Update comment about HAVE_LOCALE_NULL.
+
2001-02-05 Bruno Haible <haible@clisp.cons.org>
* libgnuintl.h (LC_MESSAGES): Provide a default value.
diff --git a/intl/dcigettext.c b/intl/dcigettext.c
index fc1716e..23255b7 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