summaryrefslogtreecommitdiff
path: root/genpacksizetables.pl
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2012-10-01 06:28:48 -0700
committerFather Chrysostomos <sprout@cpan.org>2012-10-01 12:51:58 -0700
commit3f9147780a321aebc1c528741373d5c9f9d5c54b (patch)
tree5ef7149b3d2d7a52bcabea5ed92d1e45582061bc /genpacksizetables.pl
parent48a5da33bd0f1ec8d1516f90d3bdf25b24acda6e (diff)
downloadperl-3f9147780a321aebc1c528741373d5c9f9d5c54b.tar.gz
pp_sys.c: Simplify uses of sv_len_utf8
sv_len_utf8 is now careful not to record caches on magical or over- loaded scalars (any non-PV, in fact). It also returns the number of logical characters correctly, regardless of whether its input is utf8. So we can take advantage of that to simplify pp_sysread. For pp_syswrite, we can use sv_or_pv_len_utf8 with the existing string buffer.
Diffstat (limited to 'genpacksizetables.pl')
0 files changed, 0 insertions, 0 deletions