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:
2fe79dd
)
Don't use PL_na.
author
Rafael Garcia-Suarez
<rgarciasuarez@gmail.com>
Fri, 23 Mar 2007 18:25:43 +0000
(18:25 +0000)
committer
Rafael Garcia-Suarez
<rgarciasuarez@gmail.com>
Fri, 23 Mar 2007 18:25:43 +0000
(18:25 +0000)
p4raw-id: //depot/perl@30730
universal.c
patch
|
blob
|
blame
|
history
diff --git
a/universal.c
b/universal.c
index
e1ceea1
..
6fdf8b9
100644
(file)
--- a/
universal.c
+++ b/
universal.c
@@
-199,7
+199,7
@@
Perl_sv_does(pTHX_ SV *sv, const char *name)
if (sv_isobject(sv)) {
classname = sv_reftype(SvRV(sv),TRUE);
} else {
- classname = SvPV
(sv,PL_na
);
+ classname = SvPV
_nolen(sv
);
}
if (strEQ(name,classname))