changeset 40042:bd426cb23907

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.
author Bruno Haible <bruno@clisp.org>
date Tue, 18 Dec 2018 08:53:49 +0100
parents 4584f15ba9c0
children b3a43d4c1a81
files ChangeLog doc/posix-functions/duplocale.texi doc/posix-functions/freelocale.texi doc/posix-functions/newlocale.texi doc/posix-functions/uselocale.texi lib/localename.c
diffstat 6 files changed, 14 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Sun Dec 16 23:18:36 2018 +0100
+++ b/ChangeLog	Tue Dec 18 08:53:49 2018 +0100
@@ -1,3 +1,12 @@
+2018-12-18  Bruno Haible  <bruno@clisp.org>
+
+	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  <bruno@clisp.org>
 
 	c-stack: Fix for Linux/sparc.
--- a/doc/posix-functions/duplocale.texi	Sun Dec 16 23:18:36 2018 +0100
+++ b/doc/posix-functions/duplocale.texi	Tue Dec 18 08:53:49 2018 +0100
@@ -21,5 +21,5 @@
 @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
--- a/doc/posix-functions/freelocale.texi	Sun Dec 16 23:18:36 2018 +0100
+++ b/doc/posix-functions/freelocale.texi	Tue Dec 18 08:53:49 2018 +0100
@@ -14,5 +14,5 @@
 @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
--- a/doc/posix-functions/newlocale.texi	Sun Dec 16 23:18:36 2018 +0100
+++ b/doc/posix-functions/newlocale.texi	Tue Dec 18 08:53:49 2018 +0100
@@ -14,7 +14,7 @@
 @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:
--- a/doc/posix-functions/uselocale.texi	Sun Dec 16 23:18:36 2018 +0100
+++ b/doc/posix-functions/uselocale.texi	Tue Dec 18 08:53:49 2018 +0100
@@ -14,7 +14,7 @@
 @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:
--- a/lib/localename.c	Sun Dec 16 23:18:36 2018 +0100
+++ b/lib/localename.c	Tue Dec 18 08:53:49 2018 +0100
@@ -2629,7 +2629,7 @@
 #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