projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b399897
)
remove silly redundant SvGMAGICAL() test for $\
author
Chip Salzenberg
<chip@pobox.com>
Wed, 11 Jul 2012 07:03:37 +0000
(
00:03
-0700)
committer
Chip Salzenberg
<chip@pobox.com>
Wed, 11 Jul 2012 07:03:37 +0000
(
00:03
-0700)
that was introduced by some guy named Chip in 1997 (
e3c19b7bc9
)
mg.c
patch
|
blob
|
history
diff --git
a/mg.c
b/mg.c
index
c60c277
..
1c01152
100644
(file)
--- a/
mg.c
+++ b/
mg.c
@@
-2772,7
+2772,7
@@
Perl_magic_set(pTHX_ SV *sv, MAGIC *mg)
break;
case '\\':
SvREFCNT_dec(PL_ors_sv);
- if (SvOK(sv)
|| SvGMAGICAL(sv)
) {
+ if (SvOK(sv)) {
PL_ors_sv = newSVsv(sv);
}
else {