From b7bbe93b56b81ca1e41e2c3f709d5216ac100a8e Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Thu, 18 Oct 2007 00:23:46 +0200 Subject: [PATCH] Improve comments in last patch. --- m4/locale-fr.m4 | 10 ++++++---- m4/locale-tr.m4 | 5 +++-- m4/locale-zh.m4 | 5 +++-- 3 files changed, 12 insertions(+), 8 deletions(-) diff --git a/m4/locale-fr.m4 b/m4/locale-fr.m4 index e1ab25436..eda5f9a89 100644 --- a/m4/locale-fr.m4 +++ b/m4/locale-fr.m4 @@ -51,8 +51,9 @@ int main () { if (nl_langinfo (CODESET) [0] == '\0') return 1; #endif #ifdef __CYGWIN__ - /* On Cygwin, avoid locale names without encoding suffix, because the - locale_charset() function relies on the encoding suffix. */ + /* On Cygwin, avoid locale names without encoding suffix, because the + locale_charset() function relies on the encoding suffix. Note that + LC_ALL is set on the command line. */ if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1; #endif /* Check whether in the abbreviation of the second month, the second @@ -138,8 +139,9 @@ int main () { if (nl_langinfo (CODESET) [0] == '\0') return 1; # endif # ifdef __CYGWIN__ - /* On Cygwin, avoid locale names without encoding suffix, because the - locale_charset() function relies on the encoding suffix. */ + /* On Cygwin, avoid locale names without encoding suffix, because the + locale_charset() function relies on the encoding suffix. Note that + LC_ALL is set on the command line. */ if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1; # endif /* Check whether in the abbreviation of the second month, the second diff --git a/m4/locale-tr.m4 b/m4/locale-tr.m4 index 5fce2cfeb..3e03bee2d 100644 --- a/m4/locale-tr.m4 +++ b/m4/locale-tr.m4 @@ -36,8 +36,9 @@ int main () { if (nl_langinfo (CODESET) [0] == '\0') return 1; # endif # ifdef __CYGWIN__ - /* On Cygwin, avoid locale names without encoding suffix, because the - locale_charset() function relies on the encoding suffix. */ + /* On Cygwin, avoid locale names without encoding suffix, because the + locale_charset() function relies on the encoding suffix. Note that + LC_ALL is set on the command line. */ if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1; # endif /* Check whether in the abbreviation of the eighth month, the second diff --git a/m4/locale-zh.m4 b/m4/locale-zh.m4 index ceff55bc4..5e7c004af 100644 --- a/m4/locale-zh.m4 +++ b/m4/locale-zh.m4 @@ -54,8 +54,9 @@ int main () if (nl_langinfo (CODESET) [0] == '\0') return 1; #endif #ifdef __CYGWIN__ - /* On Cygwin, avoid locale names without encoding suffix, because the - locale_charset() function relies on the encoding suffix. */ + /* On Cygwin, avoid locale names without encoding suffix, because the + locale_charset() function relies on the encoding suffix. Note that + LC_ALL is set on the command line. */ if (strchr (getenv ("LC_ALL"), '.') == NULL) return 1; #endif /* Check whether in a month name, no byte in the range 0x80..0x9F occurs. -- 2.11.0