Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
perl #122747: localize PL_curpm to null in _core_swash_init
Set PL_curpm to null before we do any swash intialization in _core_swash_init(). This "hides" the current regop from the swash code, with the intent of prevent weird reentrancy bugs when the swashes are initialized. Long term you could argue that we should just not use the regex engine to initialize a swash, and then this would be unnecessary. Thanks to FC for the suggestion! (cherry picked from commit 2c1f00b)
- Loading branch information
1 parent
817b6ac
commit b0ed92c
Showing
1 changed file
with
17 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters