summaryrefslogtreecommitdiff
path: root/dump.c
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2007-10-06 15:29:44 +0000
committerNicholas Clark <nick@ccl4.org>2007-10-06 15:29:44 +0000
commit9ed8b5e58d73d379c3d5afef51c51e3c1c2955f8 (patch)
tree7c05075983ef22c4e41e46f657423dbd1359ff0a /dump.c
parentf92a21223cc4e5d3eeba96e73da58d39e333b778 (diff)
downloadperl-9ed8b5e58d73d379c3d5afef51c51e3c1c2955f8.tar.gz
Fix precedence bug in the logic for PERL_PV_ESCAPE_NOCLEAR in
Perl_pv_escape() p4raw-id: //depot/perl@32050
Diffstat (limited to 'dump.c')
-rw-r--r--dump.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dump.c b/dump.c
index ece587a627..beeba772f0 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);
}