Replace Perl_sv_setpvf(aTHX_ namesv, "%s/%s", dir, name); in require's
authorNicholas Clark <nick@ccl4.org>
Tue, 9 Oct 2007 20:45:49 +0000 (20:45 +0000)
committerNicholas Clark <nick@ccl4.org>
Tue, 9 Oct 2007 20:45:49 +0000 (20:45 +0000)
commitb640a14ad99660810209db046b8d70831781c646
tree1c1b1b07fe5b63ff535879914aed68984b810411
parent0786552a25399b1ea99930f794f6bf1973823a24
Replace Perl_sv_setpvf(aTHX_ namesv, "%s/%s", dir, name); in require's
loop over @INC with direct perl API calls that allocate sufficient
memory up front, avoid the need to parse a format string, and avoid
the need to call strlen() on either parameter.

p4raw-id: //depot/perl@32087
pp_ctl.c