public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug locale/26715] New: (doc) decimal_point
@ 2020-10-07 17:19 hv at crypt dot org
  2020-10-09  8:42 ` [Bug locale/26715] " fweimer at redhat dot com
  0 siblings, 1 reply; 2+ messages in thread
From: hv at crypt dot org @ 2020-10-07 17:19 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=26715

            Bug ID: 26715
           Summary: (doc) decimal_point
           Product: glibc
           Version: unspecified
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: locale
          Assignee: unassigned at sourceware dot org
          Reporter: hv at crypt dot org
  Target Milestone: ---

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.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug locale/26715] (doc) decimal_point
  2020-10-07 17:19 [Bug locale/26715] New: (doc) decimal_point hv at crypt dot org
@ 2020-10-09  8:42 ` fweimer at redhat dot com
  0 siblings, 0 replies; 2+ messages in thread
From: fweimer at redhat dot com @ 2020-10-09  8:42 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=26715

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
              Flags|                            |security-
                 CC|                            |fweimer at redhat dot com
         Resolution|---                         |MOVED

--- Comment #1 from Florian Weimer <fweimer at redhat dot com> ---
The manual pages are maintained by the Linux man-pages project.  I submitted a
patch:
https://lore.kernel.org/linux-man/87zh4vdc7d.fsf@oldenburg2.str.redhat.com/T/

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-10-09  8:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-07 17:19 [Bug locale/26715] New: (doc) decimal_point hv at crypt dot org
2020-10-09  8:42 ` [Bug locale/26715] " fweimer at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).