View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0001584 | 1003.1(2016/18)/Issue7+TC2 | System Interfaces | public | 2022-05-11 23:57 | 2022-05-12 11:09 |
| Reporter | bhaible | Assigned To | |||
| Priority | normal | Severity | Editorial | Type | Error |
| Status | Closed | Resolution | Withdrawn | ||
| Name | Bruno Haible | ||||
| Organization | GNU | ||||
| User Reference | |||||
| Section | strfmon_l | ||||
| Page Number | 2039 | ||||
| Line Number | 65333-65334 | ||||
| Interp Status | --- | ||||
| Final Accepted Text | |||||
| Summary | 0001584: strfmon_l should be conditional on [CX] | ||||
| Description | The declaration of strfmon_l in https://pubs.opengroup.org/onlinepubs/9699919799.2018edition/functions/strfmon_l.html makes use of the locale_t type. This type is only defined if [CX], see https://pubs.opengroup.org/onlinepubs/9699919799.2018edition/basedefs/locale.h.html Therefore this function should only be declared if [CX] is in effect. | ||||
| Desired Action | Mark all declarations and references to strfmon_l in the standard as conditional on [CX]. | ||||
| Tags | No tags attached. | ||||
|
|
The entire strfmon() page specifies things that are not in the C standard, and therefore nothing on that page needs CX shading any more than anything on, say, the getpid() page does. The fact that locale_t is shaded CX on the <locale.h> page is irrelevant. The locale_t definition for strfmon_l() is provided by <monetary.h> (where it is not CX shaded). The bug should be processed either as withdrawn (with Bruno's permission) or as rejected. |
|
|
Indeed, the entire <monetary.h> and strfmon pages are implicitly wholly [CX] shaded. I withdraw the bug. |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2022-05-11 23:57 | bhaible | New Issue | |
| 2022-05-11 23:57 | bhaible | Name | => Bruno Haible |
| 2022-05-11 23:57 | bhaible | Organization | => GNU |
| 2022-05-11 23:57 | bhaible | Section | => strfmon_l |
| 2022-05-11 23:57 | bhaible | Page Number | => 2039 |
| 2022-05-11 23:57 | bhaible | Line Number | => 65333-65334 |
| 2022-05-12 09:25 | geoffclare | Note Added: 0005831 | |
| 2022-05-12 10:18 | bhaible | Note Added: 0005832 | |
| 2022-05-12 11:09 | geoffclare | Interp Status | => --- |
| 2022-05-12 11:09 | geoffclare | Status | New => Closed |
| 2022-05-12 11:09 | geoffclare | Resolution | Open => Withdrawn |