This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
be41e5d
)
Use sv_setpvn where we know the length.
author
Nicholas Clark
<nick@ccl4.org>
Thu, 30 Jun 2005 17:37:56 +0000
(17:37 +0000)
committer
Nicholas Clark
<nick@ccl4.org>
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_setpv
n(vs,"",0
);
}
}
else if ( items == 3 ) {