View Issue Details

IDProjectCategoryView StatusLast Update
00013761003.1(2016/18)/Issue7+TC2System Interfacespublic2024-06-11 09:08
Reportergeoffclare Assigned To 
PrioritynormalSeverityObjectionTypeError
Status ClosedResolutionAccepted 
NameGeoff Clare
OrganizationThe Open Group
User Reference
Sectionasctime(), ctime(), gmtime(), localtime()
Page Number600, 727, 1113, 1265
Line Number20907, 24771, 37681, 42218
Interp Status---
Final Accepted Text
Summary0001376: CX shading on C99 time conversion functions
DescriptionThe descriptions of asctime(), ctime(), gmtime(), and localtime() should not have CX shading on this paragraph:
The asctime(), ctime(), gmtime(), and localtime() functions shall return values in one of two static objects: a broken-down time structure and an array of type char. Execution of any of the functions may overwrite the information returned in either of these objects by any of the other functions.

The text is derived from the introductory paragraph for time conversion functions in C99 (7.23.3 para 1 in N1256). There is also a wording difference with C99 that is worth fixing.
Desired ActionOn page 600 line 20907 section asctime(),
page 727 line 24771 section ctime(),
page 1113 line 37681 section gmtime(),
page 1265 line 42218 section localtime(), remove CX shading from:
The asctime(), ctime(), gmtime(), and localtime() functions shall return values in one of two static objects: a broken-down time structure and an array of type char. Execution of any of the functions may overwrite the information returned in either of these objects by any of the other functions.
and change it to:
The asctime(), ctime(), gmtime(), and localtime() functions shall return values in one of two static objects: a broken-down time structure and an array of type char. Execution of any of the functions that return a pointer to one of these object types may overwrite the information in any object of the same type pointed to by the value returned from any previous call to any of them.

Tagstc3-2008

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2020-07-16 08:19 geoffclare New Issue
2020-07-16 08:19 geoffclare Name => Geoff Clare
2020-07-16 08:19 geoffclare Organization => The Open Group
2020-07-16 08:19 geoffclare Section => asctime(), ctime(), gmtime(), localtime()
2020-07-16 08:19 geoffclare Page Number => 600, 727, 1113, 1265
2020-07-16 08:19 geoffclare Line Number => 20907, 24771, 37681, 42218
2020-07-16 08:19 geoffclare Interp Status => ---
2020-12-17 16:40 Don Cragun Status New => Resolved
2020-12-17 16:40 Don Cragun Resolution Open => Accepted
2020-12-17 16:40 Don Cragun Tag Attached: tc3-2008
2021-01-13 16:06 geoffclare Status Resolved => Applied
2024-06-11 09:08 agadmin Status Applied => Closed