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:
101b44f
)
I think SvCUR() was intended rather than SvLEN()
author
Nicholas Clark
<nick@ccl4.org>
Wed, 1 Jun 2005 20:42:29 +0000
(20:42 +0000)
committer
Nicholas Clark
<nick@ccl4.org>
Wed, 1 Jun 2005 20:42:29 +0000
(20:42 +0000)
p4raw-id: //depot/perl@24664
ext/Storable/Storable.xs
patch
|
blob
|
blame
|
history
diff --git
a/ext/Storable/Storable.xs
b/ext/Storable/Storable.xs
index
e5db8f6
..
d746c55
100644
(file)
--- a/
ext/Storable/Storable.xs
+++ b/
ext/Storable/Storable.xs
@@
-2633,7
+2633,7
@@
static int store_code(pTHX_ stcxt_t *cxt, CV *cv)
CROAK(("Unexpected return value from B::Deparse::coderef2text\n"));
text = POPs;
- len = Sv
LEN
(text);
+ len = Sv
CUR
(text);
reallen = strlen(SvPV_nolen(text));
/*