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:
459f542
)
Unnecessary downgrades.
author
Jarkko Hietaniemi
<jhi@iki.fi>
Sun, 12 Aug 2001 23:05:14 +0000
(23:05 +0000)
committer
Jarkko Hietaniemi
<jhi@iki.fi>
Sun, 12 Aug 2001 23:05:14 +0000
(23:05 +0000)
p4raw-id: //depot/perl@11655
doop.c
patch
|
blob
|
blame
|
history
diff --git
a/doop.c
b/doop.c
index
8c61398
..
560dbe2
100644
(file)
--- a/
doop.c
+++ b/
doop.c
@@
-386,9
+386,6
@@
S_do_trans_simple_utf8(pTHX_ SV *sv)/* SPC - OK */
}
SvSETMAGIC(sv);
SvUTF8_on(sv);
- /* Downgrading just 'cos it will is suspect - NI-S */
- if (!isutf8 && !(PL_hints & HINT_UTF8))
- sv_utf8_downgrade(sv, TRUE);
return matches;
}
@@
-590,8
+587,6
@@
S_do_trans_complex_utf8(pTHX_ SV *sv) /* SPC - NOT OK */
SvCUR_set(sv, d - dstart);
}
SvUTF8_on(sv);
- if (!isutf8 && !(PL_hints & HINT_UTF8))
- sv_utf8_downgrade(sv, TRUE);
SvSETMAGIC(sv);
return matches;