changeset 2974:ab9ad3db942a

*** empty log message ***
author Jim Meyering <jim@meyering.net>
date Thu, 09 Nov 2000 08:33:01 +0000
parents cfb7d72826f8
children 9e73dc1244a0
files lib/ChangeLog
diffstat 1 files changed, 16 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lib/ChangeLog
+++ b/lib/ChangeLog
@@ -1,3 +1,19 @@
+2000-11-09  Paul Eggert  <eggert@twinsun.com>
+
+	* lib/unicodeio.c (MB_LEN_MAX): Make sure it's at least 6,
+	to avoid buggy C libraries.
+
+2000-11-08  Paul Eggert  <eggert@twinsun.com>
+
+	* lib/unicodeio.c (<wchar.h>): Do not include; no longer needed,
+	since we no longer use wcrtomb.
+	(<limits.h>): Include if HAVE_LIMITS_H.
+	(MB_LEN_MAX): Define if limits.h doesn't.
+	(convert_unicode_char): New function, with the conversion part of the
+	old print_unicode_char.  Use wctomb, not wcrtomb.  Depend on
+	HAVE_WCTOMB, not HAVE_WCRTOMB.
+	(print_unicode_char): Use convert_unicode_char to do the conversion.
+
 2000-11-03  Bruno Haible  <haible@clisp.cons.org>
 
 	* unicodeio.c: Include wchar.h.