diff options
author | Nicholas Clark <nick@ccl4.org> | 2008-01-09 11:34:41 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2008-01-09 11:34:41 +0000 |
commit | d0328fd7d629f8429b08eacaee4fd3cb902fdf5e (patch) | |
tree | c5b0b175150520f22ca33e7902fbce4c2d8d8668 | |
parent | 192c1e277b50bfcbfdd3717ce2ae7c1a42fa9601 (diff) | |
download | perl-d0328fd7d629f8429b08eacaee4fd3cb902fdf5e.tar.gz |
newSV() + sv_upgrade() => newSV_type()
p4raw-id: //depot/perl@32912
-rw-r--r-- | pp_ctl.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -3209,8 +3209,7 @@ PP(pp_require) if (vms_unixname) #endif { - namesv = newSV(0); - sv_upgrade(namesv, SVt_PV); + namesv = newSV_type(SVt_PV); for (i = 0; i <= AvFILL(ar); i++) { SV * const dirsv = *av_fetch(ar, i, TRUE); |