This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
partial PL_statbuf removal
authorDaniel Dragan <bulk88@hotmail.com>
Fri, 14 Aug 2015 22:34:09 +0000 (18:34 -0400)
committerDavid Mitchell <davem@iabyn.com>
Thu, 8 Oct 2015 15:51:11 +0000 (16:51 +0100)
commit45a23732c73c80f49ab3dcbcbfc7ccc88aa98065
tree855b61f7985918fc43c07736518610c4c899f4e8
parent0ee3fa26f660ac426e3e082f77d806c9d1471f93
partial PL_statbuf removal

Perl_nextargv has to have access to the Stat_t that is written to inside
S_openn_cleanup or else run/switches.t, io/argv.t, io/inplace.t, and
io/iprefix.t will fail. Removing the uses of PL_statbuf that are using
PL_statbuf due to historical reason, and not using PL_statbuf to pass data
between different funcs/different callstacks. This patch makes it easier to
remove PL_statbuf in the future since the number uses of it has been
reduced.

-in Perl_apply move SETERRNO before tot--; so the branch can be combined
 with other "tot--;" branches by CC optmizer
-combine 2 Perl_croak(aTHX_ "Illegal suidscript"); statements in
 S_validate_suid to make code look simpler, drop my_perl arg for space
 efficiency on threads of rarely executed code
doio.c
perl.c
pp_hot.c
pp_sys.c
util.c