svn commit: r196981 - head/usr.bin/unzip

Andrey Chernov ache at nagual.pp.ru
Wed Sep 9 16:31:50 UTC 2009


On Wed, Sep 09, 2009 at 05:14:32PM +0200, Dag-Erling Sm??rgrav wrote:
> Andrey Chernov <ache at nagual.pp.ru> writes:
> > If I understand the purpose of this code right, better use
> > isalnum()+ispunct()+ispace()
> > combination to count non-ASCII people too.
> 
> uh, isprint() perhaps?

In some charsets there are a lots of printable characters which are rarely 
part of the regular text, i.e. pseudographics. isprint() looks too greedy.

-- 
http://ache.pp.ru/


More information about the svn-src-all mailing list