changeset 2771:669ce16c1793

*** empty log message ***
author Jim Meyering <jim@meyering.net>
date Mon, 24 Jul 2000 06:14:32 +0000
parents afedfb0793df
children ec142580c1ee
files lib/ChangeLog
diffstat 1 files changed, 12 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lib/ChangeLog	Mon Jul 24 06:14:19 2000 +0000
+++ b/lib/ChangeLog	Mon Jul 24 06:14:32 2000 +0000
@@ -1,3 +1,15 @@
+2000-07-23  Paul Eggert  <eggert@twinsun.com>
+
+	* lib/quotearg.c:
+	Include <wchar.h> even if ! (HAVE_MBRTOWC && 1 < MB_LEN_MAX),
+	so that mbstate_t is always defined.
+
+	Do not inspect MB_LEN_MAX, since it's incorrectly defined to
+	be 1 in at least one GCC installation, and this configuration
+	error is likely to be common.  Ignoring MB_LEN_MAX hurts
+	performance on hosts that have mbrtowc but have only unibyte
+	locales, but I assume these hosts are rare.
+
 2000-07-23  Paul Eggert  <eggert@twinsun.com>
 
 	* lib/quotearg.c: Streamline by invoking multibyte code only if needed.