In perl.git, the branch smoke-me/arc/rt125469 has been created <http://perl5.git.perl.org/perl.git/commitdiff/ffc8a7c9933ebc39c9e5800c61880885a99b83b6?hp=0000000000000000000000000000000000000000>
at ffc8a7c9933ebc39c9e5800c61880885a99b83b6 (commit) - Log ----------------------------------------------------------------- commit ffc8a7c9933ebc39c9e5800c61880885a99b83b6 Author: Aaron Crane <a...@cpan.org> Date: Mon Jun 29 16:35:11 2015 +0100 sv_vcatpvfn_flags(): make warnings more precise - RT#125469 points out that no "redundant argument" warning should be emitted for code like C<< printf '<%*2$s>', "a", 6 >>; that's now fixed. - We no longer emit a "missing argument" warning for invalid format strings, so C<< printf '%4$K %d', 17 >> now emits one "invalid" warning, and no other warnings. (Perl 5.12 and subsequent versions have inappropriately emitted a "missing argument" warning in this case.) - We no longer treat the invalid format string in C<< printf '%1$$d', 17 >> as containing an explicit index, so (a) we emit an "invalid" warning for the double "$", and (b) we emit a "redundant argument" warning for the trailing argument. The "redundant argument" warning is new in this situation. M sv.c M t/op/sprintf.t commit feabe2534f42e1b854e9e53e5cfae1054077b2d3 Author: Aaron Crane <a...@cpan.org> Date: Mon Jun 29 16:34:45 2015 +0100 t/op/sprintf.t: include test comment in "ok" output, where available M t/op/sprintf.t ----------------------------------------------------------------------- -- Perl5 Master Repository