projects
/
p5sagit/p5-mst-13.2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
be41e5d
)
Use sv_setpvn where we know the length.
Nicholas Clark [Thu, 30 Jun 2005 17:37:56 +0000 (17:37 +0000)]
p4raw-id: //depot/perl@25030
universal.c
patch
|
blob
|
blame
|
history
diff --git
a/universal.c
b/universal.c
index
ad80a21
..
507ab14
100644
(file)
--- a/
universal.c
+++ b/
universal.c
@@
-418,7
+418,7
@@
XS(XS_version_new)
else {
/* create empty object */
vs = sv_newmortal();
- sv_setpv(vs,"");
+ sv_setpvn(vs,"",0);
}
}
else if ( items == 3 ) {