Bug 652870
| Summary: | strtol man page lies about thousands separator. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | JW <ohtmvyyn> |
| Component: | man-pages | Assignee: | Ivana Varekova <varekova> |
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | low | ||
| Version: | 14 | CC: | jan.kratochvil, mtk.manpages, varekova |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-01-25 14:38:17 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
JW
2010-11-13 04:53:24 UTC
Thanks. Fixed in man-pages-3.32-3.fc15. I have applied the following patch in upstream: diff --git a/man3/strtol.3 b/man3/strtol.3 index 32ce1e1..f45a753 100644 --- a/man3/strtol.3 +++ b/man3/strtol.3 @@ -158,7 +158,12 @@ and then determine if an error occurred by checking whether .I errno has a nonzero value after the call. -In locales other than the "C" locale, other strings may also be accepted. +According to POSIX.1-2001, +in locales other than the "C" and "POSIX", +these functions may accept other, +implementation-defined numeric strings. + +other implementation-defined strings may be accepted. (For example, the thousands separator of the current locale may be supported.) .LP |