From: Nicholas Clark Date: Sat, 6 Oct 2007 15:29:44 +0000 (+0000) Subject: Fix precedence bug in the logic for PERL_PV_ESCAPE_NOCLEAR in X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=9ed8b5e58d73d379c3d5afef51c51e3c1c2955f8;p=p5sagit%2Fp5-mst-13.2.git Fix precedence bug in the logic for PERL_PV_ESCAPE_NOCLEAR in Perl_pv_escape() p4raw-id: //depot/perl@32050 --- diff --git a/dump.c b/dump.c index ece587a..beeba77 100644 --- a/dump.c +++ b/dump.c @@ -219,7 +219,7 @@ Perl_pv_escape( pTHX_ SV *dsv, char const * const str, const char * const end = pv + count; /* end of string */ octbuf[0] = esc; - if (!flags & PERL_PV_ESCAPE_NOCLEAR) { + if (!(flags & PERL_PV_ESCAPE_NOCLEAR)) { /* This won't alter the UTF-8 flag */ sv_setpvn(dsv, "", 0); }