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:
c0e1089
)
One more SvPV_const
author
Nicholas Clark
<nick@ccl4.org>
Wed, 8 Jun 2005 09:09:52 +0000
(09:09 +0000)
committer
Nicholas Clark
<nick@ccl4.org>
Wed, 8 Jun 2005 09:09:52 +0000
(09:09 +0000)
p4raw-id: //depot/perl@24752
pp.c
patch
|
blob
|
blame
|
history
diff --git
a/pp.c
b/pp.c
index
8c50719
..
4feb59d
100644
(file)
--- a/
pp.c
+++ b/
pp.c
@@
-2358,7
+2358,7
@@
PP(pp_negate)
SETn(-SvNV(sv));
else if (SvPOKp(sv)) {
STRLEN len;
- c
har *s = SvPV
(sv, len);
+ c
onst char *s = SvPV_const
(sv, len);
if (isIDFIRST(*s)) {
sv_setpvn(TARG, "-", 1);
sv_catsv(TARG, sv);