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
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Don't fold constants in sprintf() if locales are used
[perl5.git]
/
op.c
diff --git
a/op.c
b/op.c
index
1502628
..
ce9c220
100644
(file)
--- a/
op.c
+++ b/
op.c
@@
-2606,6
+2606,7
@@
S_fold_constants(pTHX_ register OP *o)
case OP_SLE:
case OP_SGE:
case OP_SCMP:
+ case OP_SPRINTF:
/* XXX what about the numeric ops? */
if (PL_hints & HINT_LOCALE)
goto nope;