diff options
author | Niko Tyni <ntyni@debian.org> | 2010-10-27 10:56:24 +0300 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2010-10-27 05:52:22 -0700 |
commit | b3fd61496ebc585b1115807e3195f17714662a09 (patch) | |
tree | 3466930c913145aebb2da4ef7fe12a0152be71eb /op.c | |
parent | 903eb63f7d8d47a38971a8e9af7201b9927882cf (diff) | |
download | perl-b3fd61496ebc585b1115807e3195f17714662a09.tar.gz |
Don't fold constants in sprintf() if locales are used
Commit c427f4d2d4575fbc8a5190932fe321136c7597b3 in 5.10.1 made sprintf()
ignore LC_NUMERIC for numeric constants.
Diffstat (limited to 'op.c')
-rw-r--r-- | op.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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; |