Branch: refs/heads/smoke-me/khw-alpine
  Home:   https://github.com/Perl/perl5
  Commit: 80698d013342726d075ff7b7f0f177b16833ee78
      
https://github.com/Perl/perl5/commit/80698d013342726d075ff7b7f0f177b16833ee78
  Author: Karl Williamson <k...@cpan.org>
  Date:   2024-01-24 (Wed, 24 Jan 2024)

  Changed paths:
    M locale.c

  Log Message:
  -----------
  locale.c: Fix ALT_DIGITS on Alpine

Alpine, for the C and equivalent locales, doesn't return anything like
what the Posix Standard says it should for nl_langinfo(ALT_DIGITS).
It's supposed to be a string of up to 99 semi-colon-separated values.
Instead, it is a string "0123456789".  There are no separators and these
are standard digits, not alternate.  This commit causes any platform
that returns a standard digit when alternates are requested to instead
return the empty string, which is used elsewhere, and now here, to
indicate there are no alternate digits for this locale.


Reply via email to