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
commitae3dfdc1f29fcb74d72e5e7661e89f0329a129fc (patch)
treed983a32e00e6d1fd319d2a383ea5066b0fbc6f66 /sv.c
parentb0e47665895517e3979bf2f7daead8451782b8db (diff)
downloadperl-ae3dfdc1f29fcb74d72e5e7661e89f0329a129fc.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);
}