diff options
author | Aaron Crane <arc@cpan.org> | 2015-07-07 18:16:36 +0100 |
---|---|---|
committer | Aaron Crane <arc@cpan.org> | 2015-07-15 14:26:06 +0100 |
commit | 46e58bd2391172ab5e4a73c29fb3313bebcf00bc (patch) | |
tree | 73a9c44d058a2d156c312fd951cfaf5b10569e27 /hv.h | |
parent | 638ca15aeec3bf86124489c8c913c5b42d4fee16 (diff) | |
download | perl-46e58bd2391172ab5e4a73c29fb3313bebcf00bc.tar.gz |
Document and ensure that sv_catpvf() does no argument ordering
sv_catpvf() and friends ultimately end up calling sv_vcatpvfn_flags() with a
C-style va_list argument (rather than with an array of SV pointers). When
the sprintf implementation in sv_vcatpvfn_flags() is called with a va_list
it always ignores any attempt by the format string to reorder the arguments.
This reasonable limitation is now documented, and the implementation throws
an exception when it encounters this situation.
Minimal tests for these exceptions have been added to XS::APItest.
Diffstat (limited to 'hv.h')
0 files changed, 0 insertions, 0 deletions