summaryrefslogtreecommitdiff
path: root/pp.c
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2008-01-03 17:42:27 +0000
committerNicholas Clark <nick@ccl4.org>2008-01-03 17:42:27 +0000
commit84bafc024a74c819ac3d2b4406253dbe983e6502 (patch)
tree078faf96a8959e8d6ede5d541caf7896de32c569 /pp.c
parent59cd0e26eb6c10499b25d783562357dd68cc16f2 (diff)
downloadperl-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 'pp.c')
-rw-r--r--pp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pp.c b/pp.c
index d25a55c59c..7e5cef32e2 100644
--- a/pp.c
+++ b/pp.c
@@ -413,7 +413,7 @@ PP(pp_prototype)
|| code == -KEY_exec || code == -KEY_system)
goto set;
if (code == -KEY_mkdir) {
- ret = sv_2mortal(newSVpvs("_;$"));
+ ret = newSVpvs_flags("_;$", SVs_TEMP);
goto set;
}
if (code == -KEY_readpipe) {