summaryrefslogtreecommitdiff
path: root/pp_sys.c
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2004-12-29 21:04:43 +0000
committerNicholas Clark <nick@ccl4.org>2004-12-29 21:04:43 +0000
commit9b9d7ce8d832b4fbcb890a8f326b7b630d9396fa (patch)
treecbf9acfeba454869845f4267eedabe2e9bb09be0 /pp_sys.c
parent8c51517677f7444669d829b895c0ed1364734bbc (diff)
downloadperl-9b9d7ce8d832b4fbcb890a8f326b7b630d9396fa.tar.gz
Ooops. Fix unitialised variable
p4raw-id: //depot/perl@23705
Diffstat (limited to 'pp_sys.c')
-rw-r--r--pp_sys.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/pp_sys.c b/pp_sys.c
index edb69c29af..356f6f2a8f 100644
--- a/pp_sys.c
+++ b/pp_sys.c
@@ -1604,6 +1604,7 @@ PP(pp_sysread)
buffer = SvPVutf8_force(bufsv, blen);
/* UTF-8 may not have been set if they are all low bytes */
SvUTF8_on(bufsv);
+ buffer_utf8 = 0;
}
else {
buffer = SvPV_force(bufsv, blen);