Subject: Re: bin/21645: Localized comments and indent(1)
To: None <netbsd-bugs@netbsd.org>
From: David Laight <david@l8s.co.uk>
List: netbsd-bugs
Date: 05/28/2003 16:08:45
> >Synopsis:       indent(1) doesn't handle non English characters in comments

> -		if (*buf_ptr > 040 && *buf_ptr != '*')
> +		if (!iscntrl(*buf_ptr) && *buf_ptr != '*')

This, and other parts of this patch, are not correct because *buf_ptr
is a signed char but the domain of iscntrl() (and the other isxxx()
functions) is -1..255 not -128..127

	David

-- 
David Laight: david@l8s.co.uk