This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
PATCH: [perl #130666]: Revert "toke.c, S_scan_ident(): Don't take a "end of buffer...
authorKarl Williamson <khw@cpan.org>
Sun, 29 Jan 2017 22:56:20 +0000 (15:56 -0700)
committerKarl Williamson <khw@cpan.org>
Mon, 30 Jan 2017 04:05:54 +0000 (21:05 -0700)
commitd2067945159644d284f8064efbd41024f9e8448a
tree8504ca6351ac76eec85df5154d2f9236c1fadc32
parent62a74c3704bd55cf2797db36535df425e3e0c675
PATCH: [perl #130666]: Revert "toke.c, S_scan_ident(): Don't take a "end of buffer" argument, use PL_bufend"

This reverts commit b5248d1e210c2a723adae8e9b7f5d17076647431.

This commit, dating from 2013, was made unnecessary by later removal of
the MAD code.  It temporarily changed the PL_bufend variable; doing that
ran afoul of an assertion, added in
fac0f7a38edc4e50a7250b738699165079b852d8, that expects PL_bufend to
point to a terminating NUL.

Beyond the reversion, a test is added here.
embed.fnc
embed.h
proto.h
t/lib/warnings/toke
toke.c