*** empty log message ***
authorJim Meyering <jim@meyering.net>
Thu, 9 Nov 2000 08:33:01 +0000 (08:33 +0000)
committerJim Meyering <jim@meyering.net>
Thu, 9 Nov 2000 08:33:01 +0000 (08:33 +0000)
lib/ChangeLog

index 5585ff2..2d5f4f2 100644 (file)
@@ -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.