Fix printf tests for perl-5.22 without ithreads support

The comment in r1702395 is wrong. It's not because of the thread context that the number of arguments is wrong, it's because of the way WrapXS.pm handles functions with variable parameter length (i.e. ... functions).

In the .xs code items is the number of elements in the MARK array. However when WrapXS.pm generates code for a ... function, it will increment MARK, so that it points to the second argument to the function. It will not, however decrement items, which means that items and MARK now are out of sync. We suspect that MARK is incremented to skip the object that the function is called on.

This patch updates the comment and removes the ifdef around the decrementation of items, which solves the test failures for non-threaded perl 5.22.

Thanks to Klaus S. Madsen <ksm@jobindex.dk> for the patch.

git-svn-id: https://svn.apache.org/repos/asf/perl/modperl/trunk@1733564 13f79535-47bb-0310-9956-ffa450edef68
1 file changed