cvs commit: src/include ctype.h

YONETANI Tomokazu qhwt+dfly at les.ath.cx
Fri May 6 01:48:39 PDT 2005


On Fri, May 06, 2005 at 01:56:58PM +0900, YONETANI Tomokazu wrote:
> diff -u -r1.3 isctype.c
> --- lib/libc/gen/isctype.c	21 Apr 2005 16:36:34 -0000	1.3
> +++ lib/libc/gen/isctype.c	6 May 2005 01:53:09 -0000
> @@ -91,7 +91,7 @@
>  int
>  isprint(int c)
>  {
> -	return((__libc_ctype_ + 1)[c] & (_P|_U|_L|_N|_B));
> +	return((__libc_ctype_ + 1)[c] & (_P|_U|_L|_N|_B|_W));
                                         ^^^^^^^^^^^^^^^^^
>  }
>  
>  #undef ispunct
> 

Argh, of course this part should have been _P|_U|_L|_N|_W, not
_P|_U|_L|_N|_B|_W .





More information about the Commits mailing list