Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 0f6d56ff0430d23ba77e1da2d0a8117eada8d85b
      
https://github.com/Perl/perl5/commit/0f6d56ff0430d23ba77e1da2d0a8117eada8d85b
  Author: Karl Williamson <k...@cpan.org>
  Date:   2023-09-13 (Wed, 13 Sep 2023)

  Changed paths:
    M locale.c

  Log Message:
  -----------
  Return from win32_setlocale() needs to be stable

Prior to this commit it was subject to freeing when the scope was
exited.

This commit repurposes the already-existing per-thread buffer that holds
the return of setlocale(), stable until the next call to it.  Instead of
being used for setlocale() which isn't called directly on Windows
platforms, it uses it for win32_setlocale().


Reply via email to