diff options
author | Nicholas Clark <nick@ccl4.org> | 2008-01-03 17:42:27 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2008-01-03 17:42:27 +0000 |
commit | 84bafc024a74c819ac3d2b4406253dbe983e6502 (patch) | |
tree | 078faf96a8959e8d6ede5d541caf7896de32c569 /cop.h | |
parent | 59cd0e26eb6c10499b25d783562357dd68cc16f2 (diff) | |
download | perl-84bafc024a74c819ac3d2b4406253dbe983e6502.tar.gz |
Add newSVpvs_flags() as a wrapper to newSVpvn_flags(), and rework
sv_2mortal(newSVpvs(...)) constructions to use it.
p4raw-id: //depot/perl@32819
Diffstat (limited to 'cop.h')
-rw-r--r-- | cop.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -261,7 +261,7 @@ struct cop { PL_hints |= HINT_LOCALIZE_HH | HINT_ARYBASE; \ (c)->cop_hints_hash \ = Perl_refcounted_he_new(aTHX_ (c)->cop_hints_hash, \ - sv_2mortal(newSVpvs("$[")), \ + newSVpvs_flags("$[", SVs_TEMP), \ sv_2mortal(newSViv(b))); \ } \ } STMT_END |