From: Karl Williamson Date: Fri, 15 Jan 2010 04:21:37 +0000 (-0700) Subject: Clarify that count is bytes not unicode characters X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=1c8f8eb1d500716bc7368dab00869ae3be841e0c;p=p5sagit%2Fp5-mst-13.2.git Clarify that count is bytes not unicode characters --- diff --git a/regexec.c b/regexec.c index 8c68639..307e274 100644 --- a/regexec.c +++ b/regexec.c @@ -2200,7 +2200,7 @@ Perl_regexec_flags(pTHX_ REGEXP * const rx, char *stringarg, register char *stre RE_PV_QUOTED_DECL(quoted,do_utf8,PERL_DEBUG_PAD_ZERO(1), s,strend-s,60); PerlIO_printf(Perl_debug_log, - "Matching stclass %.*s against %s (%d chars)\n", + "Matching stclass %.*s against %s (%d bytes)\n", (int)SvCUR(prop), SvPVX_const(prop), quoted, (int)(strend - s)); }