This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Adjust callsites that use UTF8SKIP without checking UTF
authorAlex Vandiver <alex@chmrr.net>
Mon, 23 Mar 2015 03:44:11 +0000 (23:44 -0400)
committerDavid Mitchell <davem@iabyn.com>
Mon, 29 Feb 2016 09:44:27 +0000 (09:44 +0000)
commit9538abec6048e8a6cce882124ce279a7db7acfd0
treece356b2dcbd6efcc0e5e2bc06659c48c896d7b83
parente90a17ab40a254b2139a4cbb2cbad46cd66df125
Adjust callsites that use UTF8SKIP without checking UTF

Assuming UTF-8 semantics and advancing character-by-character when 'use
utf8' is not enabled is not as problematic as the inverse.  However,
properly UTF8SKIP should only be used when UTF8 semantics are explicitly
asked for.

Change the three occurrences of UTF8SKIP that are not protected by UTF
checks.
toke.c