[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Removing the --enable-utf8 flag

From: Ulrich Drepper <drepper_at_redhat.com>
Date: 2002-07-21 09:33:39 CEST

On Sun, 2002-07-21 at 00:14, Ulrich Drepper wrote:

> /* Check whether the buffer contains any non-ASCII characters. */
> while (len-- > 0)
> {
> if (*buf < 0x20 || *buf >= 0x7f)
> goto out;
> ++buf;
> }

The test is incomplete. '\n' and '\t' should also be allowed (I guess
'\r' has to be added, too).

-- 
---------------.                          ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Red Hat          `--' drepper at redhat.com   `------------------------

Received on Sun Jul 21 09:34:14 2002

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.