This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Fix black Win32 smoke broken by my v5.21.1-11-g4077a6b (yet again)
authorÆvar Arnfjörð Bjarmason <avar@cpan.org>
Sat, 21 Jun 2014 21:13:43 +0000 (21:13 +0000)
committerÆvar Arnfjörð Bjarmason <avar@cpan.org>
Sat, 21 Jun 2014 21:20:07 +0000 (21:20 +0000)
commit3101bb05368cd2d7eedfcfb9ad57c2f47cf5b7a2
tree58cfad24053dbca3853feb21a620f6524c714565
parentd3ae482b1fbb8a275f4933ce8f7d28aed9e6f166
Fix black Win32 smoke broken by my v5.21.1-11-g4077a6b (yet again)

I was being silly with my test improvements in v5.21.1-12-g826af13 and
v5.21.1-13-g43d7f0d. I haven't been able to test this on Win32 where
it's breaking, but if the sprintf format isn't recognized there we're
going to get a warning about a *redundant* argument in printf, not a
missing one, i.e. just like this:

    $ ./perl -Ilib -we 'printf "%æ\n", "str"'
    Invalid conversion in printf: "%\303" at -e line 1.
    Redundant argument in printf at -e line 1.
    %s

So fix that, I'm certain this will fix the black smoke on Win32, if not
I have no idea what's going on.
t/op/sprintf2.t