diff options
author | Karl Williamson <khw@cpan.org> | 2019-03-18 21:17:03 -0600 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2019-03-19 10:20:28 -0600 |
commit | 9edbb8b2d2f1fc6dd6ab01894735f5fd43a32966 (patch) | |
tree | c727273f4fad2b4f7ae49e18fab81a489a11543f /pp_sys.c | |
parent | 44b0aff01ba282b14dc62a1137996136282bc17a (diff) | |
download | perl-9edbb8b2d2f1fc6dd6ab01894735f5fd43a32966.tar.gz |
pp.c, pp_sys.c: Use DO_UTF8 instead of its expansion
We have a macro to hide the details of this; use it
Diffstat (limited to 'pp_sys.c')
-rw-r--r-- | pp_sys.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1736,7 +1736,7 @@ PP(pp_sysread) } else { buffer = SvPV_force(bufsv, blen); - buffer_utf8 = !IN_BYTES && SvUTF8(bufsv); + buffer_utf8 = DO_UTF8(bufsv); } if (DO_UTF8(bufsv)) { blen = sv_len_utf8_nomg(bufsv); |