changeset 39182:706e59e723ac

unistr/base: Update comment. * lib/unistr.in.h: Update comment about u*_mbtouc_unsafe functions.
author Bruno Haible <bruno@clisp.org>
date Mon, 11 Dec 2017 14:08:40 +0100
parents a04e30c20642
children 06e57e3519e8
files ChangeLog lib/unistr.in.h
diffstat 2 files changed, 7 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Sun Dec 10 17:59:32 2017 -0800
+++ b/ChangeLog	Mon Dec 11 14:08:40 2017 +0100
@@ -1,3 +1,8 @@
+2017-12-11  Bruno Haible  <bruno@clisp.org>
+
+	unistr/base: Update comment.
+	* lib/unistr.in.h: Update comment about u*_mbtouc_unsafe functions.
+
 2017-12-10  Pádraig Brady  <P@draigBrady.com>
 
 	test-faccessat.c: unlink temp file to avoid subsequent test failure
--- a/lib/unistr.in.h	Sun Dec 10 17:59:32 2017 -0800
+++ b/lib/unistr.in.h	Mon Dec 11 14:08:40 2017 +0100
@@ -137,8 +137,8 @@
    The number of available units, N, must be > 0.  */
 /* Similar to mbtowc(), except that puc and s must not be NULL, n must be > 0,
    and the NUL character is not treated specially.  */
-/* The variants with _safe suffix are safe, even if the library is compiled
-   without --enable-safety.  */
+/* The variants with _unsafe suffix are for backward compatibility with
+   libunistring versions < 0.9.7.  */
 
 #if GNULIB_UNISTR_U8_MBTOUC_UNSAFE || HAVE_LIBUNISTRING
 # if !HAVE_INLINE