From 97212599b4fa5f78626aa2b272ba9376a54c515e Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Tue, 18 Dec 2018 08:53:49 +0100 Subject: [PATCH] localename: Update comments regarding Cygwin. * lib/localename.c: Update comment. * doc/posix-functions/uselocale.texi: Update platforms list. * doc/posix-functions/newlocale.texi: Likewise. * doc/posix-functions/duplocale.texi: Likewise. * doc/posix-functions/freelocale.texi: Likewise. --- ChangeLog | 9 +++++++++ doc/posix-functions/duplocale.texi | 2 +- doc/posix-functions/freelocale.texi | 2 +- doc/posix-functions/newlocale.texi | 2 +- doc/posix-functions/uselocale.texi | 2 +- lib/localename.c | 2 +- 6 files changed, 14 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index a2e9a9cabd..8002e32f02 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2018-12-18 Bruno Haible + + localename: Update comments regarding Cygwin. + * lib/localename.c: Update comment. + * doc/posix-functions/uselocale.texi: Update platforms list. + * doc/posix-functions/newlocale.texi: Likewise. + * doc/posix-functions/duplocale.texi: Likewise. + * doc/posix-functions/freelocale.texi: Likewise. + 2018-12-16 Bruno Haible c-stack: Fix for Linux/sparc. diff --git a/doc/posix-functions/duplocale.texi b/doc/posix-functions/duplocale.texi index 000300bec0..7be505c014 100644 --- a/doc/posix-functions/duplocale.texi +++ b/doc/posix-functions/duplocale.texi @@ -21,5 +21,5 @@ Portability problems not fixed by Gnulib: @itemize @item This function is missing on many platforms: -Mac OS X 10.3, FreeBSD 9.0, NetBSD 5.0, OpenBSD 6.1, Minix 3.1.8, AIX 6.1, HP-UX 11, IRIX 6.5, OSF/1 5.1, Solaris 11.3, Cygwin, mingw, MSVC 14, Interix 3.5, BeOS, Android 4.4. +Mac OS X 10.3, FreeBSD 9.0, NetBSD 5.0, OpenBSD 6.1, Minix 3.1.8, AIX 6.1, HP-UX 11, IRIX 6.5, OSF/1 5.1, Solaris 11.3, Cygwin 2.5.x, mingw, MSVC 14, Interix 3.5, BeOS, Android 4.4. @end itemize diff --git a/doc/posix-functions/freelocale.texi b/doc/posix-functions/freelocale.texi index e4ff00ff27..515baae6b0 100644 --- a/doc/posix-functions/freelocale.texi +++ b/doc/posix-functions/freelocale.texi @@ -14,5 +14,5 @@ Portability problems not fixed by Gnulib: @itemize @item This function is missing on many platforms: -Mac OS X 10.3, FreeBSD 9.0, NetBSD 5.0, OpenBSD 6.1, Minix 3.1.8, AIX 6.1, HP-UX 11, IRIX 6.5, OSF/1 5.1, Solaris 11.3, Cygwin, mingw, MSVC 14, Interix 3.5, BeOS, Android 4.4. +Mac OS X 10.3, FreeBSD 9.0, NetBSD 5.0, OpenBSD 6.1, Minix 3.1.8, AIX 6.1, HP-UX 11, IRIX 6.5, OSF/1 5.1, Solaris 11.3, Cygwin 2.5.x, mingw, MSVC 14, Interix 3.5, BeOS, Android 4.4. @end itemize diff --git a/doc/posix-functions/newlocale.texi b/doc/posix-functions/newlocale.texi index 376f7e849f..02a5c6da02 100644 --- a/doc/posix-functions/newlocale.texi +++ b/doc/posix-functions/newlocale.texi @@ -14,7 +14,7 @@ Portability problems not fixed by Gnulib: @itemize @item This function is missing on many platforms: -Mac OS X 10.3, FreeBSD 9.0, NetBSD 5.0, OpenBSD 6.1, Minix 3.1.8, AIX 6.1, HP-UX 11, IRIX 6.5, OSF/1 5.1, Solaris 11.3, Cygwin, mingw, MSVC 14, Interix 3.5, BeOS, Android 4.4. +Mac OS X 10.3, FreeBSD 9.0, NetBSD 5.0, OpenBSD 6.1, Minix 3.1.8, AIX 6.1, HP-UX 11, IRIX 6.5, OSF/1 5.1, Solaris 11.3, Cygwin 2.5.x, mingw, MSVC 14, Interix 3.5, BeOS, Android 4.4. @item This function is useless because the @code{locale_t} type contains basically no information on some platforms: diff --git a/doc/posix-functions/uselocale.texi b/doc/posix-functions/uselocale.texi index 2d8b947d0e..1343214d2c 100644 --- a/doc/posix-functions/uselocale.texi +++ b/doc/posix-functions/uselocale.texi @@ -14,7 +14,7 @@ Portability problems not fixed by Gnulib: @itemize @item This function is missing on many platforms: -Mac OS X 10.3, FreeBSD 9.0, NetBSD 5.0, OpenBSD 6.1, Minix 3.1.8, AIX 6.1, HP-UX 11, IRIX 6.5, OSF/1 5.1, Solaris 11.3, Cygwin, mingw, MSVC 14, Interix 3.5, BeOS, Android 4.4. +Mac OS X 10.3, FreeBSD 9.0, NetBSD 5.0, OpenBSD 6.1, Minix 3.1.8, AIX 6.1, HP-UX 11, IRIX 6.5, OSF/1 5.1, Solaris 11.3, Cygwin 2.5.x, mingw, MSVC 14, Interix 3.5, BeOS, Android 4.4. @item This function is useless because the @code{locale_t} type contains basically no information on some platforms: diff --git a/lib/localename.c b/lib/localename.c index 28b3d618b9..735f42753a 100644 --- a/lib/localename.c +++ b/lib/localename.c @@ -2629,7 +2629,7 @@ get_lcid (const char *locale_name) #endif -#if HAVE_GOOD_USELOCALE /* glibc, Mac OS X, FreeBSD >= 9.1, AIX >= 7, +#if HAVE_GOOD_USELOCALE /* glibc, Mac OS X, FreeBSD >= 9.1, AIX >= 7, Cygwin >= 2.6, Solaris 11 OpenIndiana, or Solaris >= 11.4 */ /* Simple hash set of strings. We don't want to drag in lots of hash table -- 2.39.5