From: Bruno Haible Date: Fri, 22 Dec 2006 16:27:26 +0000 (+0000) Subject: Add comments. X-Git-Tag: cvs-readonly~1479 X-Git-Url: http://erislabs.org.uk/gitweb/?a=commitdiff_plain;h=5feb40015695ca27cd3ca51a7c09ca1787fd4483;p=gnulib.git Add comments. --- diff --git a/lib/wctype_.h b/lib/wctype_.h index 11efbbb55..77a68143c 100644 --- a/lib/wctype_.h +++ b/lib/wctype_.h @@ -18,13 +18,19 @@ /* Written by Bruno Haible and Paul Eggert. */ -/* iswctype, towctrans, towlower, towupper, wctrans, wctype, - wctrans_t, and wctype_t are not yet implemented. */ +/* + * ISO C 99 for platforms that lack it. + * + * + * iswctype, towctrans, towlower, towupper, wctrans, wctype, + * wctrans_t, and wctype_t are not yet implemented. + */ #ifndef _GL_WCTYPE_H #define _GL_WCTYPE_H -/* Tru64 with Desktop Toolkit C has a bug: must be included before +/* Solaris 2.5 has a bug: must be included before . + Tru64 with Desktop Toolkit C has a bug: must be included before . BSD/OS 4.1 has a bug: and must be included before . */ @@ -32,10 +38,14 @@ #include #include +/* Include the original if it exists. + BeOS 5 has the functions but no . */ #if @HAVE_WCTYPE_H@ # include @ABSOLUTE_WCTYPE_H@ #endif +/* IRIX 5.3 has a bug: its isw* macros reference an undefined variable + _ctmp_. */ #if @HAVE_WCTYPE_CTMP_BUG@ static wint_t _ctmp_; #endif diff --git a/m4/wctype.m4 b/m4/wctype.m4 index 4fd392e97..357c7a5f9 100644 --- a/m4/wctype.m4 +++ b/m4/wctype.m4 @@ -27,6 +27,8 @@ AC_DEFUN([gl_WCTYPE_H], WCTYPE_H=wctype.h HAVE_WCTYPE_CTMP_BUG=0 if test $ac_cv_header_wctype_h = yes; then + dnl IRIX 5.3 has a bug: its isw* macros reference an undefined variable + dnl _ctmp_. Test against this bug. AC_CACHE_CHECK([whether wctype macros need _ctmp_ declared], [gl_cv_wctype_ctmp_bug], [gl_cv_wctype_ctmp_bug=no