Austin Group Defect Tracker

Aardvark Mark IV


Viewing Issue Simple Details Jump to Notes ] Issue History ] Print ]
ID Category Severity Type Date Submitted Last Update
0001376 [1003.1(2016/18)/Issue7+TC2] System Interfaces Objection Error 2020-07-16 08:19 2021-01-13 16:06
Reporter geoffclare View Status public  
Assigned To
Priority normal Resolution Accepted  
Status Applied  
Name Geoff Clare
Organization The Open Group
User Reference
Section asctime(), ctime(), gmtime(), localtime()
Page Number 600, 727, 1113, 1265
Line Number 20907, 24771, 37681, 42218
Interp Status ---
Final Accepted Text
Summary 0001376: CX shading on C99 time conversion functions
Description The 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 Action On 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.

Tags tc3-2008
Attached Files

- Relationships

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


Mantis 1.1.6[^]
Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker