diff --git a/gl/localcharset.c b/gl/localcharset.c
index a04dc44623edf9157e085b0f20f1a36c95bc50f9..fa2207fe14e0aa5b585804793c12d9b4a4a0f096 100644 (file)
--- a/gl/localcharset.c
+++ b/gl/localcharset.c
codeset = nl_langinfo (CODESET);
# ifdef __CYGWIN__
- /* Cygwin 1.5.x does not have locales. nl_langinfo (CODESET) always
- returns "US-ASCII". As long as this is not fixed, return the suffix
- of the locale name from the environment variables (if present) or
- the codepage as a number. */
+ /* Cygwin < 1.7 does not have locales. nl_langinfo (CODESET) always
+ returns "US-ASCII". Return the suffix of the locale name from the
+ environment variables (if present) or the codepage as a number. */
if (codeset != NULL && strcmp (codeset, "US-ASCII") == 0)
{
const char *locale;