In perl.git, the branch smoke-me/khw-invlist has been created
<http://perl5.git.perl.org/perl.git/commitdiff/c014facbe76347473e312588ade7b97beb2d00bc?hp=0000000000000000000000000000000000000000>
at c014facbe76347473e312588ade7b97beb2d00bc (commit)
- Log -----------------------------------------------------------------
commit c014facbe76347473e312588ade7b97beb2d00bc
Author: Karl Williamson <[email protected]>
Date: Thu Apr 19 10:27:29 2012 -0600
PATCH: [perl #112530] Panic with inversion lists
The code assumed that all property definitions would be well-formed,
meaning, in part, that they would be numerically sorted by code point,
with each range disjoint from all others. So, the code was just
appending each range as it is found to the inversion list it is
building.
This assumption is true for all definitions generated by mktables, but
it might not be true for user-defined ones. The solution is merely to
change from calling the function that appends to instead call the
existing function that handles the more general case.
However, that function was not previously used outside the file it was
defined in, so must now be made public. Also, this whole interface is
considered volatile, so the names of the public functions in it begin
with an underscore to further discourage XS writers from using them.
Therefore the more general add function is renamed to begin with an
underscore.
And, the append function is no longer needed outside the file it is
defined in, so again to keep XS writers from using it, this commit makes
it static.
-----------------------------------------------------------------------
--
Perl5 Master Repository