This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Given that S_feature_is_enabled() is a static function, we can know all
authorNicholas Clark <nick@ccl4.org>
Tue, 16 Oct 2007 09:48:48 +0000 (09:48 +0000)
committerNicholas Clark <nick@ccl4.org>
Tue, 16 Oct 2007 09:48:48 +0000 (09:48 +0000)
commit4a731d7b697551fe227bb3efe87565699446d220
treecfc1a6e72b31b00cd861e2384abde9d234fd4eef
parent5686ee583d95bf194b657486beb96283ecfc182b
Given that S_feature_is_enabled() is a static function, we can know all
the possible strings that can be passed to it, and their lengths. So we
can avoid my_strlcpy() and instead use memcpy().
Brought to you by the Campaign for the Elimination of strlen().

p4raw-id: //depot/perl@32114
toke.c