projects
/
p5sagit/p5-mst-13.2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
5d170f3
)
Thinko in #12783.
Jarkko Hietaniemi [Wed, 31 Oct 2001 02:08:27 +0000 (
02:08
+0000)]
p4raw-id: //depot/perl@12784
sv.c
patch
|
blob
|
blame
|
history
diff --git
a/sv.c
b/sv.c
index
542de0d
..
c5511b0
100644
(file)
--- a/
sv.c
+++ b/
sv.c
@@
-10377,7
+10377,7
@@
The PV of the sv is returned.
char *
Perl_sv_recode_to_utf8(pTHX_ SV *sv, SV *encoding)
{
- if (SvPOK(sv) && !SvUTF8(sv) && !SvROK(sv)) {
+ if (SvPOK(sv) && !SvUTF8(sv) && SvROK(encoding)) {
SV *uni;
STRLEN len;
char *s;