This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
PATCH: [perl #134059] panic outputting a warning
authorKarl Williamson <khw@cpan.org>
Mon, 29 Apr 2019 21:24:18 +0000 (15:24 -0600)
committerKarl Williamson <khw@cpan.org>
Fri, 24 May 2019 23:09:29 +0000 (17:09 -0600)
commitcc16d262eb72677cdda2aa9395e943818b85ba38
tree4c0e6340783ead08185264ae10f3ec52f588eebc
parentd38c72a57261a93e56e738d286c7739608801d41
PATCH: [perl #134059] panic outputting a warning

This was due to a logic error on my part.  We need to save and restore a
value.  Instead, it was getting restored to the wrong value.

This particular instance of the bug was outputting a fatal error
message, so that the only harm is not giving the user the correct info,
and creating unnecessary work for them and us when it gets reported.
But this bug could manifest itself when trying to output just a warning
that the program otherwise would carry on from.
regcomp.c
t/re/reg_mesg.t