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:
190d0b2
)
use newSVpvs() on the constant string "isa", rather than newSVpv().
author
Nicholas Clark
<nick@ccl4.org>
Thu, 18 Oct 2007 17:14:38 +0000
(17:14 +0000)
committer
Nicholas Clark
<nick@ccl4.org>
Thu, 18 Oct 2007 17:14:38 +0000
(17:14 +0000)
p4raw-id: //depot/perl@32134
universal.c
patch
|
blob
|
blame
|
history
diff --git
a/universal.c
b/universal.c
index
457fffa
..
fa0ccd3
100644
(file)
--- a/
universal.c
+++ b/
universal.c
@@
-161,7
+161,7
@@
Perl_sv_does(pTHX_ SV *sv, const char *name)
XPUSHs(sv_2mortal(newSVpv(name, 0)));
PUTBACK;
- methodname = sv_2mortal(newSVpv
("isa", 0
));
+ methodname = sv_2mortal(newSVpv
s("isa"
));
/* ugly hack: use the SvSCREAM flag so S_method_common
* can figure out we're calling DOES() and not isa(),
* and report eventual errors correctly. --rgs */