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

Re: svn commit: rev 2429 - trunk/subversion/libsvn_subr

From: Karl Fogel <kfogel_at_newton.ch.collab.net>
Date: 2002-07-08 18:05:00 CEST

philip@tigris.org writes:
> * subversion/libsvn_subr/utf.c (check_non_ascii): Correct bit test.

D'oh! Thanks, Philip :-).

-K

> Modified: trunk/subversion/libsvn_subr/utf.c
> ==============================================================================
> --- trunk/subversion/libsvn_subr/utf.c (original)
> +++ trunk/subversion/libsvn_subr/utf.c Mon Jul 8 05:58:08 2002
> @@ -326,7 +326,7 @@
> for (; len > 0; --len, data++)
> {
> if (/* Check if eighth bit set: */
> - ((*(unsigned char *)data) && 128)
> + ((*(unsigned char *)data) & 128)
> /* Look for ESC, to detect ISO-2022 etc: */
> || *(unsigned char *)data == 27)
> return svn_error_create (SVN_ERR_UNSUPPORTED_FEATURE, 0, NULL, pool,

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Jul 8 18:15:20 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.