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

2020-10-22 Thread Bug Watch Updater
** Changed in: glibc
   Status: New => Unknown

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

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1898902]

2020-10-22 Thread Florian Weimer
The manual pages are maintained by the Linux man-pages project.  I
submitted a patch: https://lore.kernel.org/linux-
man/87zh4vdc7d@oldenburg2.str.redhat.com/T/

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

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

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

2020-10-09 Thread Florian Weimer
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@oldenburg2.str.redhat.com/T/

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

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

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

2020-10-07 Thread Bug Watch Updater
Launchpad has imported 1 comments from the remote bug at
https://sourceware.org/bugzilla/show_bug.cgi?id=26715.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.


On 2020-10-07T17:19:10+00:00 Hugo van der Sanden wrote:

In the section for LC_NUMERIC, locale(5) says:

  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. It appears this is
actually constrained by processors to be a single character, as at
https://code.woboq.org/userspace/glibc/locale/programs/ld-
numeric.c.html#229

It is not clear if that is part of the spec: if so, I think this should
be made explicit in the man page; if not, it is probably still worth
noting that some applications (such as localedef) require it.

I have not checked, but it seems likely that thousands_sep has the same
constraint, and would need similar treatment.

Initially reported for Ubuntu at
https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1898902, they
recommended I re-post upstream.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1898902/comments/2


** Changed in: glibc
   Status: Unknown => New

** Changed in: glibc
   Importance: Unknown => Medium

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

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

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

2020-10-07 Thread Balint Reczey
** Changed in: glibc (Ubuntu)
   Status: New => Confirmed

** Changed in: glibc (Ubuntu)
   Importance: Undecided => Wishlist

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

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

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

2020-10-07 Thread Gunnar Hjalmarsson
** Also affects: glibc via
   https://sourceware.org/bugzilla/show_bug.cgi?id=26715
   Importance: Unknown
   Status: Unknown

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

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

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

2020-10-07 Thread Hugo van der Sanden
Thanks, reported upstream at
https://sourceware.org/bugzilla/show_bug.cgi?id=26715

** Bug watch added: Sourceware.org Bugzilla #26715
   https://sourceware.org/bugzilla/show_bug.cgi?id=26715

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

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

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

2020-10-07 Thread Gunnar Hjalmarsson
Thanks for your report. Looks like there is room for clarification of
that man page.

I would suggest that you report it upstream:

https://sourceware.org/bugzilla/enter_bug.cgi?product=glibc;component=locale

But don't refer to locale-gen() when doing so, but rather localedef().
Also, if you file an upstream bug, please post the URL to it here.

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

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

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

2020-10-07 Thread Hugo van der Sanden
Public bug reported:

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.

** Affects: glibc (Ubuntu)
 Importance: Undecided
 Status: New

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

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs