View Issue Details

IDProjectCategoryView StatusLast Update
00003211003.1(2004)/Issue 6System Interfacespublic2013-04-16 13:06
Reporterajosey Assigned Toajosey  
PrioritynormalSeverityCommentTypeError
Status ClosedResolutionAccepted 
NameAndrew Josey
OrganizationThe Open Group
User ReferenceXSHbug2.txt Enhancement Request Number 253
Sectionctime
Page Number715
Line Number24090
Interp Status---
Final Accepted Text
Summary0000321: ctime needs to be consistent with localtime_r to mention timezone and daylight
Description(note line numbers are D5.1 of Issue 7)
For the revision, the text describing localtime_r() was adjusted to mention
timezone and daylight, where formerly only tzname was mentioned (lines 40835
to 40836):

[[
Unlike localtime(), the localtime_r() function is not required to set tzname.
If localtime_r() does not set tzname, it shall not set daylight and shall not
set timezone.
]]

However, no corresponding change was made for the specification of ctime_r(),
where line 24090 reads just:

[[
Unlike ctime(), the thread-safe version ctime_r() is not required to set tzname.
]]

For consistency, the ctime_r() spec should mirror the localtime_r() spec.

Desired ActionReplace line 24090 by:

[[
Unlike ctime(), the ctime_r() function is not required to set tzname. If
ctime_r() does not set tzname, it shall not set daylight and shall not set
timezone.
]]
Tagstc1-2008

Relationships

related to 0000664 Closedajosey 1003.1(2008)/Issue 7 localtime_r() has incomplete daylight and timezone requirements 

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2010-09-17 09:02 ajosey New Issue
2010-09-17 09:02 ajosey Status New => Under Review
2010-09-17 09:02 ajosey Assigned To => ajosey
2010-09-17 09:02 ajosey Name => Andrew Josey
2010-09-17 09:02 ajosey Organization => The Open Group
2010-09-17 09:02 ajosey User Reference => XSHbug2.txt Enhancement Request Number 253
2010-09-17 09:02 ajosey Section => ctime
2010-09-17 09:02 ajosey Page Number => 715
2010-09-17 09:02 ajosey Line Number => 24090
2010-09-17 09:02 ajosey Interp Status => ---
2010-09-17 09:03 ajosey Status Under Review => Resolved
2010-09-17 09:03 ajosey Resolution Open => Accepted
2010-09-17 09:03 ajosey Desired Action Updated
2010-09-17 09:03 ajosey Tag Attached: tc1-2008
2013-02-25 10:21 geoffclare Relationship added related to 0000664
2013-04-16 13:06 ajosey Status Resolved => Closed