Branch: refs/heads/smoke-me/khw-darwin_locale Home: https://github.com/Perl/perl5 Commit: 847f94782c905854ccb6e9d26360ec30c37d8691 https://github.com/Perl/perl5/commit/847f94782c905854ccb6e9d26360ec30c37d8691 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: 89520a4d1f0be755e449d07b880a1ab882cec3ed https://github.com/Perl/perl5/commit/89520a4d1f0be755e449d07b880a1ab882cec3ed 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: c3be9b188fe2bd0a7575d0da7e24c6a92ce243af https://github.com/Perl/perl5/commit/c3be9b188fe2bd0a7575d0da7e24c6a92ce243af 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: 13d2b29c1478c27a08b49d78d57a67fcef2b8f00 https://github.com/Perl/perl5/commit/13d2b29c1478c27a08b49d78d57a67fcef2b8f00 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/6449b82b0355...13d2b29c1478 To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications