[Bug 1898902] Re: (doc?) locale-gen disagrees with locale(5)

Florian Weimer 1898902 at bugs.launchpad.net
Fri Oct 9 08:43:55 UTC 2020


Please note that the manual pages come from the Linux man-pages project,
not glibc. I posted a patch: https://lore.kernel.org/linux-
man/87zh4vdc7d.fsf at oldenburg2.str.redhat.com/T/

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to glibc in Ubuntu.
https://bugs.launchpad.net/bugs/1898902

Title:
  (doc?) locale-gen disagrees with locale(5)

Status in GLibC:
  New
Status in glibc package in Ubuntu:
  Confirmed

Bug description:
  The LC_NUMERIC section of locale(5) includes:

         decimal_point
                followed by the string that will be used as the  decimal  delim-
                iter when formatting numeric quantities.

  .. without constraint on what the string may include. However locale-gen appears to reject any attempt to define decimal_point to a string longer than one character, with the message:
    LC_NUMERIC: value for field `decimal_point' must be a single character
    [error] LC_NUMERIC: field `decimal_point' not defined

  If that constraint is intended, I think locale(5) should specify it.
  (There may be a similar issue for thousands_sep, I didn't test that.)

  Found on bionic with locales-2.27-3ubuntu1.2, I did not check other
  releases.

  Motivation: I wanted to define a longer decimal_point so as to test
  the robustness of an application's number formatting.

To manage notifications about this bug go to:
https://bugs.launchpad.net/glibc/+bug/1898902/+subscriptions



More information about the foundations-bugs mailing list