You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Karl Fogel <kf...@newton.ch.collab.net> on 2002/07/08 16:05:00 UTC

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

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