From 65fc5677a0c95ccdc2d716fc7148978ba0ff35f5 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Mon, 11 Dec 2017 14:08:40 +0100 Subject: [PATCH] unistr/base: Update comment. * lib/unistr.in.h: Update comment about u*_mbtouc_unsafe functions. --- ChangeLog | 5 +++++ lib/unistr.in.h | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index ccb526b5f2..efea3458e0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2017-12-11 Bruno Haible + + unistr/base: Update comment. + * lib/unistr.in.h: Update comment about u*_mbtouc_unsafe functions. + 2017-12-10 Pádraig Brady test-faccessat.c: unlink temp file to avoid subsequent test failure diff --git a/lib/unistr.in.h b/lib/unistr.in.h index cef8f408da..d0af665c3c 100644 --- a/lib/unistr.in.h +++ b/lib/unistr.in.h @@ -137,8 +137,8 @@ extern int 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 -- 2.39.5