Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: ef39fd6bfe3ce94b63a83f44d4a819f3c8a33cb0 https://github.com/Perl/perl5/commit/ef39fd6bfe3ce94b63a83f44d4a819f3c8a33cb0 Author: Karl Williamson <k...@cpan.org> Date: 2025-04-22 (Tue, 22 Apr 2025)
Changed paths: M locale.c Log Message: ----------- locale.c: Change name of macro This is in preparation for the next commit where it will be split out to be a stand-alone macro. Commit: 185010b079fbc2d96fb6a1995ec72f9cc126c9b5 https://github.com/Perl/perl5/commit/185010b079fbc2d96fb6a1995ec72f9cc126c9b5 Author: Karl Williamson <k...@cpan.org> Date: 2025-04-22 (Tue, 22 Apr 2025) Changed paths: M locale.c Log Message: ----------- locale.c: Don't do asymmetric back out on failure This fixes #23519 When something goes wrong doing locale-aware string collation, the code attempts to carry on as well as can be expected. Prior to this commit the backout code was asymmetric, trying to undo things that had not been done. This happened when the failure was early on. In the case of this ticket, the platform has a defective locale that was detectable before getting very far along. The solution adopted here is to jump to a different label for those early failures that does less backout than for later failures. Commit: 28f675e94003a0cc347d29213ac0358c0c8e4f96 https://github.com/Perl/perl5/commit/28f675e94003a0cc347d29213ac0358c0c8e4f96 Author: Karl Williamson <k...@cpan.org> Date: 2025-04-22 (Tue, 22 Apr 2025) Changed paths: M locale.c Log Message: ----------- mem_collxfrm(): Return early if locale collation not sane This changes a subsidiary function's return value from void to bool, returning false if it finds the locale doesn't have sane collation. The calling function is changed to check this, and give up immediately if the locale isn't sane. Commit: 6c95af259446617ae373fdde05775eb8ed4973af https://github.com/Perl/perl5/commit/6c95af259446617ae373fdde05775eb8ed4973af Author: Karl Williamson <k...@cpan.org> Date: 2025-04-22 (Tue, 22 Apr 2025) Changed paths: M locale.c Log Message: ----------- mem_collxfrm(): White space, comments, only The previous commit removed a block; so can outdent Compare: https://github.com/Perl/perl5/compare/5b9aabc0af37...6c95af259446 To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications