summaryrefslogtreecommitdiff
path: root/sv.c
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>2000-05-04 16:09:28 +0000
committerGurusamy Sarathy <gsar@cpan.org>2000-05-04 16:09:28 +0000
commitd4b72afb43808dd2764041a193148285af045fec (patch)
treed983a32e00e6d1fd319d2a383ea5066b0fbc6f66 /sv.c
parente3f0c8c4c59a49ee4750c2bb04dc38a7a6203c81 (diff)
downloadperl-d4b72afb43808dd2764041a193148285af045fec.tar.gz
change#5921 neglected to make eq honor "use bytes"
p4raw-link: @5921 on //depot/perl: c5cc35007718d4b8a82486110aec2d59e69a4f79 p4raw-id: //depot/perl@6061
Diffstat (limited to 'sv.c')
-rw-r--r--sv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sv.c b/sv.c
index 7f7c9a6b57..e76e40ffe5 100644
--- a/sv.c
+++ b/sv.c
@@ -3923,7 +3923,7 @@ Perl_sv_eq(pTHX_ register SV *str1, register SV *str2)
if (cur1) {
if (!str2)
return 0;
- if (SvUTF8(str1) != SvUTF8(str2)) {
+ if (SvUTF8(str1) != SvUTF8(str2) && !IN_BYTE) {
if (SvUTF8(str1)) {
sv_utf8_upgrade(str2);
}