This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f92a212
)
Fix precedence bug in the logic for PERL_PV_ESCAPE_NOCLEAR in
author
Nicholas Clark
<nick@ccl4.org>
Sat, 6 Oct 2007 15:29:44 +0000
(15:29 +0000)
committer
Nicholas Clark
<nick@ccl4.org>
Sat, 6 Oct 2007 15:29:44 +0000
(15:29 +0000)
Perl_pv_escape()
p4raw-id: //depot/perl@32050
dump.c
patch
|
blob
|
blame
|
history
diff --git
a/dump.c
b/dump.c
index
ece587a
..
beeba77
100644
(file)
--- 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);
}