DragonFly BSD
DragonFly commits List (threaded) for 2005-05
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: cvs commit: src/include ctype.h


From: YONETANI Tomokazu <qhwt+dfly@xxxxxxxxxx>
Date: Fri, 6 May 2005 17:48:14 +0900

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 .



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]