Subject: port-i386/30760: comment glitch in i386/limits.h
To: None <port-i386-maintainer@netbsd.org, gnats-admin@netbsd.org,>
From: None <dholland@eecs.harvard.edu>
List: netbsd-bugs
Date: 07/16/2005 05:17:00
>Number:         30760
>Category:       port-i386
>Synopsis:       obsolete comment in i386/limits.h
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    port-i386-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jul 16 05:17:00 +0000 2005
>Originator:     David A. Holland <dholland@eecs.harvard.edu>
>Release:        NetBSD 3.99.1 (and -current of 20050715)
>Organization:
   EECS
>Environment:
System: NetBSD tanaqui 3.99.1 NetBSD 3.99.1 (TANAQUI) #0: Wed Mar 23 18:53:32 EST 2005 dholland@tanaqui:/usr/src/sys/arch/i386/compile/TANAQUI i386
Architecture: i386
Machine: i386
>Description:
	There's an out of date comment in the i386 limits.h that
	claims we don't have multibyte character support. Patch
	follows.

>How-To-Repeat:
	N/A
>Fix:

Index: limits.h
===================================================================
RCS file: /cvsroot/src/sys/arch/i386/include/limits.h,v
retrieving revision 1.17
diff -u -r1.17 limits.h
--- limits.h	7 Aug 2003 16:27:59 -0000	1.17
+++ limits.h	16 Jul 2005 05:01:03 -0000
@@ -37,7 +37,7 @@
 #include <sys/featuretest.h>
 
 #define	CHAR_BIT	8		/* number of bits in a char */
-#define	MB_LEN_MAX	32		/* no multibyte characters */
+#define	MB_LEN_MAX	32		/* max multibyte character length */
 
 #define	SCHAR_MAX	0x7f		/* max value for a signed char */
 #define SCHAR_MIN	(-0x7f-1)	/* min value for a signed char */