View Issue Details

IDProjectCategoryView StatusLast Update
00015421003.1(2016/18)/Issue7+TC2System Interfacespublic2022-11-10 17:30
Reporterandras_farkas Assigned To 
PrioritynormalSeverityCommentTypeEnhancement Request
Status ClosedResolutionRejected 
NameAndras Farkas
Organization
User Reference
Sectionputs
Page Number
Line Number
Interp Status---
Final Accepted Text
Summary0001542: A certain example for puts, fputs, time, localtime, and localtime_r isn't consistent between them all
DescriptionThis 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 ActionSimply 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"
TagsNo tags attached.

Activities

Don Cragun

2022-02-17 17:39

manager   bugnote:0005676

Last edited: 2022-02-17 17:40

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.

Don Cragun

2022-11-10 17:30

manager   bugnote:0006050

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.

Issue History

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