Branch: refs/heads/smoke-me/khw-darwin_locale
  Home:   https://github.com/Perl/perl5
  Commit: b9e1bad6f6d5e1f104a66ed42e87997b9af098a2
      
https://github.com/Perl/perl5/commit/b9e1bad6f6d5e1f104a66ed42e87997b9af098a2
  Author: Karl Williamson <k...@cpan.org>
  Date:   2025-04-03 (Thu, 03 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.



To unsubscribe from these emails, change your notification settings at 
https://github.com/Perl/perl5/settings/notifications

Reply via email to