model-writtenrun 5789 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Victor Wagner reported that Perl 5.28 made locale-management internals private, breaking the Windows PL/Perl build, and supplied a patch using the public Perl_setlocale function while retaining the copied implementation for older Perl #1.
- Victor reported successful compilation with ActiveState Perl 5.28 and Strawberry Perl 5.30.2.1, but questioned whether Perl still required the locale-restoration workaround; the thread contains no explicit resolution of that broader question #1.
- After a long gap, Dagfinn Ilmari Mannsåker warned that checking PERL_VERSION alone would mishandle a future major-version increase and requested full-version comparison macros, proposing a separate ppport.h update to support older Perl #2.
- Andres Freund supplied a revision using PERL_VERSION_LT(5, 28, 0), improving comments and omitting the original MSVC header workaround; he described it as one of two fixes needed for Windows testing with Perl 5.32, with the other handled separately #3.
- The thread ended with Andres's revised attachment #3, which subsequently landed unchanged as c89f409749, crediting Victor as author and Dagfinn as reviewer and receiving backports to all supported branches.