Bug#931139: perl: switching locales no longer invalidates gettext translation cache

2019-07-05 Thread Niko Tyni
On Thu, Jul 04, 2019 at 09:06:33PM +0300, Niko Tyni wrote: > On Thu, Jul 04, 2019 at 08:04:52PM +0300, Niko Tyni wrote: > > > > Starting with Perl 5.28, Perl uses POSIX 2008 thread-safe locales, so > > > it calls uselocale(3) underneath when the Perl side POSIX::setlocale() > > > function is invok

Bug#931139: perl: switching locales no longer invalidates gettext translation cache

2019-07-04 Thread Niko Tyni
Control: forwarded -1 https://rt.perl.org/Public/Bug/Display.html?id=134264 On Thu, Jul 04, 2019 at 08:04:52PM +0300, Niko Tyni wrote: > > Starting with Perl 5.28, Perl uses POSIX 2008 thread-safe locales, so > > it calls uselocale(3) underneath when the Perl side POSIX::setlocale() > > function

Bug#931139: perl: switching locales no longer invalidates gettext translation cache

2019-07-04 Thread Niko Tyni
On Thu, Jun 27, 2019 at 12:08:53AM +0300, Niko Tyni wrote: > Package: perl > Version: 5.28.1-6 > Severity: important > > As discussed in #924657, glibc has a cache of already loaded translations > that gets invalidated (by incrementing _nl_msg_cat_cntr) in setlocale(3), > bindtextdomain(3) and tex

Bug#931139: perl: switching locales no longer invalidates gettext translation cache

2019-06-26 Thread Niko Tyni
Package: perl Version: 5.28.1-6 Severity: important As discussed in #924657, glibc has a cache of already loaded translations that gets invalidated (by incrementing _nl_msg_cat_cntr) in setlocale(3), bindtextdomain(3) and textdomain(3) but not uselocale(3). Starting with Perl 5.28, Perl uses POSI