diff options
Diffstat (limited to 'meta/recipes-devtools/perl/perl-5.12.3/debian/fixes/lc-numeric-sprintf.diff')
-rw-r--r-- | meta/recipes-devtools/perl/perl-5.12.3/debian/fixes/lc-numeric-sprintf.diff | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/meta/recipes-devtools/perl/perl-5.12.3/debian/fixes/lc-numeric-sprintf.diff b/meta/recipes-devtools/perl/perl-5.12.3/debian/fixes/lc-numeric-sprintf.diff deleted file mode 100644 index 9fe07eb294..0000000000 --- a/meta/recipes-devtools/perl/perl-5.12.3/debian/fixes/lc-numeric-sprintf.diff +++ /dev/null | |||
@@ -1,31 +0,0 @@ | |||
1 | Upstream-Status:Inappropriate [debian patch] | ||
2 | |||
3 | From: Niko Tyni <ntyni@debian.org> | ||
4 | Subject: Fix sprintf not to ignore LC_NUMERIC with constants | ||
5 | Bug-Debian: http://bugs.debian.org/601549 | ||
6 | Bug: http://rt.perl.org/rt3/Ticket/Display.html?id=78632 | ||
7 | Origin: upstream, http://perl5.git.perl.org/perl.git/commit/b3fd61496ebc585b1115807e3195f17714662a09 | ||
8 | |||
9 | Don't fold constants in sprintf() if locales are used | ||
10 | |||
11 | An upstream regression in 5.10.1 made sprintf() ignore LC_NUMERIC for | ||
12 | numeric constants. | ||
13 | |||
14 | --- | ||
15 | op.c | 1 + | ||
16 | 1 files changed, 1 insertions(+), 0 deletions(-) | ||
17 | |||
18 | diff --git a/op.c b/op.c | ||
19 | index e94f158..3c6badb 100644 | ||
20 | --- a/op.c | ||
21 | +++ b/op.c | ||
22 | @@ -2503,6 +2503,7 @@ S_fold_constants(pTHX_ register OP *o) | ||
23 | case OP_SLE: | ||
24 | case OP_SGE: | ||
25 | case OP_SCMP: | ||
26 | + case OP_SPRINTF: | ||
27 | /* XXX what about the numeric ops? */ | ||
28 | if (PL_hints & HINT_LOCALE) | ||
29 | goto nope; | ||
30 | -- | ||
31 | tg: (a508b62..) fixes/lc-numeric-sprintf (depends on: upstream) | ||