This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
dquote.c: Use memchr() instead of strchr()
authorKarl Williamson <khw@cpan.org>
Sat, 25 Mar 2017 17:39:05 +0000 (11:39 -0600)
committerKarl Williamson <khw@cpan.org>
Mon, 6 Nov 2017 21:31:45 +0000 (14:31 -0700)
commite82786390b5c81fdb1fb8320a8e7238e84ff7d30
tree82c6c71e65f6fdb247bbed998431f8fabe21fcea
parentd5e32b932ce9902855a6a3afe374f68e28e2d701
dquote.c: Use memchr() instead of strchr()

This allows \x and \o to work properly in the face of embedded NULs.
A limit parameter is added to each function, and that is passed to
memchr (which replaces strchr).  See the branch merge message for more
information.
dquote.c
embed.fnc
embed.h
proto.h
regcomp.c
toke.c