View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001542 | 1003.1(2016/18)/Issue7+TC2 | System Interfaces | public | 2021-12-21 10:15 | 2022-11-10 17:30 |
Reporter | andras_farkas | Assigned To | |||
Priority | normal | Severity | Comment | Type | Enhancement Request |
Status | Closed | Resolution | Rejected | ||
Name | Andras Farkas | ||||
Organization | |||||
User Reference | |||||
Section | puts | ||||
Page Number | |||||
Line Number | |||||
Interp Status | --- | ||||
Final Accepted Text | |||||
Summary | 0001542: A certain example for puts, fputs, time, localtime, and localtime_r isn't consistent between them all | ||||
Description | This is a very minor issue: In some examples in the standard, the following text is used "There are %d minutes to the event.\n" while in other (often otherwise identical) examples, the following text is used "There are still %d minutes to the event.\n" It's easy to grep the standard for these instances, but they appear on: https://pubs.opengroup.org/onlinepubs/9699919799/functions/puts.html https://pubs.opengroup.org/onlinepubs/9699919799/functions/fputs.html https://pubs.opengroup.org/onlinepubs/9699919799/functions/localtime.html https://pubs.opengroup.org/onlinepubs/9699919799/functions/localtime_r.html https://pubs.opengroup.org/onlinepubs/9699919799/functions/time.html They could be changed for consistency. | ||||
Desired Action | Simply for consistency in these examples, change all instances of "There are %d minutes to the event.\n" to "There are still %d minutes to the event.\n" | ||||
Tags | No tags attached. |
|
This was discussed during the 2022-02-17 conference call. Each of the examples cited show output that is consistent with the format strings given. (So there is no bug here.) Half of those present wanted to reject this request; the other half thought we could remove "still" from the place(s) where it appears (rather than add "still" to the place(s) where it does not appear. We decided keep this open and defer it to a time when we have nothing else to do. |
|
Since there is nothing wrong with any of the examples doing what they are intended to do, we do not see any reason to make any changes here. This bug is rejected. |
Date Modified | Username | Field | Change |
---|---|---|---|
2021-12-21 10:15 | andras_farkas | New Issue | |
2021-12-21 10:15 | andras_farkas | Name | => Andras Farkas |
2021-12-21 10:15 | andras_farkas | Section | => puts |
2022-02-17 17:39 | Don Cragun | Note Added: 0005676 | |
2022-02-17 17:40 | Don Cragun | Note Edited: 0005676 | |
2022-11-10 17:30 | Don Cragun | Interp Status | => --- |
2022-11-10 17:30 | Don Cragun | Note Added: 0006050 | |
2022-11-10 17:30 | Don Cragun | Status | New => Closed |
2022-11-10 17:30 | Don Cragun | Resolution | Open => Rejected |