This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Change upper limit handling of -Dr output
authorKarl Williamson <khw@cpan.org>
Fri, 27 Oct 2017 18:28:57 +0000 (12:28 -0600)
committerKarl Williamson <khw@cpan.org>
Fri, 27 Oct 2017 18:48:13 +0000 (12:48 -0600)
commiteecd4d1156438b131ac47c72b020788f66b6d178
tree505113b7fd1bd74077f8fc653ca3c4d4f75316c3
parent5cde1e48fc4b594cb096ce7f78f6757d53d4f19a
Change upper limit handling of -Dr output

Commit 2bfbbbaf9ef1783ba914ff9e9270e877fbbb6aba changed things so -Dr
output could be changed through an environment variable to truncate
the output differently than the default.

For most purposes, the default is good enough, but for someone trying to
debug the regcomp internals, sometimes one wants to see more than is
output by default.

That commit did not catch all the places.  This one changes the handling
so that any place that use the previous default maximum now uses the
environment variable (if set) instead.
intrpvar.h
regcomp.c
regcomp.h
regexec.c