In perl.git, the branch smoke-me/jkeenan/hv/134172-sprintf has been created
<https://perl5.git.perl.org/perl.git/commitdiff/faef172d72c55e8e2f171243b347f32b2213ab85?hp=0000000000000000000000000000000000000000> at faef172d72c55e8e2f171243b347f32b2213ab85 (commit) - Log ----------------------------------------------------------------- commit faef172d72c55e8e2f171243b347f32b2213ab85 Author: Hugo van der Sanden <[email protected]> Date: Mon Jul 22 16:29:13 2019 +0100 restrict scope of locale changes during sprintf In some environments we must hold a mutex for the duration of a temporary locale change, so we must ensure that mutex is released appropriately. This means intervening code must not croak, or otherwise bypass the unlock. In sv_vcatpvfn_flags(), that requirement was violated when attempting to avoid multiple temporary locale changes by collapsing them into a single one. This partially undoes that to fix the problem, while still attempting to retain some of the benefits by caching the expensive hints check. ----------------------------------------------------------------------- -- Perl5 Master Repository
