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
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[perl #123843] fix SEGV reading data->flags
[perl5.git]
/
gv.c
diff --git
a/gv.c
b/gv.c
index
82db197
..
41cebeb
100644
(file)
--- a/
gv.c
+++ b/
gv.c
@@
-39,7
+39,7
@@
Perl stores its global variables.
#include "feature.h"
static const char S_autoload[] = "AUTOLOAD";
-static const STRLEN S_autolen = sizeof(S_autoload)-1;
+#define S_autolen (sizeof("AUTOLOAD")-1)
GV *
Perl_gv_add_by_type(pTHX_ GV *gv, svtype type)