changeset 8038:476e04edf8c6

Rename u32-mbtouc-safe -> u32-mbtouc, u32_mbtouc_safe -> u32_mbtouc.
author Bruno Haible <bruno@clisp.org>
date Sun, 28 Jan 2007 02:42:23 +0000
parents 30dc9ade7f70
children 247505eebd2f
files ChangeLog lib/unistr.h lib/unistr/u32-to-u16.c lib/unistr/u32-to-u8.c
diffstat 4 files changed, 12 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -6,6 +6,13 @@
 	modules/unistr/u32-mbtouc.
 	* lib/unistr/u32-mbtouc-unsafe.c: Renamed from lib/unistr/u32-mbtouc.c.
 	* lib/unistr.h: Update.
+	* lib/linebreak.c: Update.
+	* modules/unistr/u32-mbtouc: Renamed from
+	modules/unistr/u32-mbtouc-safe.
+	* lib/unistr/u32-mbtouc.c: Renamed from lib/unistr/u32-mbtouc-safe.c.
+	* lib/unistr.h: Update.
+	* lib/unistr/u32-to-u8.c: Update.
+	* lib/unistr/u32-to-u16.c: Update.
 
 2007-01-27  Bruno Haible  <bruno@clisp.org>
 
--- a/lib/unistr.h
+++ b/lib/unistr.h
@@ -192,13 +192,13 @@
 # endif
 #endif
 
-#ifdef GNULIB_UNISTR_U32_MBTOUC_SAFE
+#ifdef GNULIB_UNISTR_U32_MBTOUC
 # if !HAVE_INLINE
 extern int
-       u32_mbtouc_safe (ucs4_t *puc, const uint32_t *s, size_t n);
+       u32_mbtouc (ucs4_t *puc, const uint32_t *s, size_t n);
 # else
 static inline int
-u32_mbtouc_safe (ucs4_t *puc, const uint32_t *s, size_t n)
+u32_mbtouc (ucs4_t *puc, const uint32_t *s, size_t n)
 {
   uint32_t c = *s;
 
--- a/lib/unistr/u32-to-u16.c
+++ b/lib/unistr/u32-to-u16.c
@@ -61,7 +61,7 @@
 
       /* Fetch a Unicode character from the input string.  */
       uc = *s++;
-      /* No need to call the safe variant u32_mbtouc_safe, because
+      /* No need to call the safe variant u32_mbtouc, because
 	 u16_uctomb will verify uc anyway.  */
 
       /* Store it in the output string.  */
--- a/lib/unistr/u32-to-u8.c
+++ b/lib/unistr/u32-to-u8.c
@@ -61,7 +61,7 @@
 
       /* Fetch a Unicode character from the input string.  */
       uc = *s++;
-      /* No need to call the safe variant u32_mbtouc_safe, because
+      /* No need to call the safe variant u32_mbtouc, because
 	 u8_uctomb will verify uc anyway.  */
 
       /* Store it in the output string.  */