Email List: Xaustin-review-lX
[All Lists]

Defect in XSH gmtime_r

To: yyyyyyyyyyyyyyy@xxxxxxxxxxxxx
Subject: Defect in XSH gmtime_r
From: yyyyyy@xxxxxxxxxxxxx
Date: Tue, 23 Apr 2002 11:54:50 +0100 (BST)
        Defect report from : Andrew Josey , The Open Group

(Please direct followup comments direct to yyyyyyyyyyyyyy@xxxxxxxxxxxxx)

@ page 577 line 18971 section gmtime_r comment {pasc-1003.1-133}

Problem:

Defect code :  1. Error

(fwd'd from the PASC interps process which has now closed)

The standard says gmtime_r() shall return a NULL pointer if "UTC is
not available".  But section 9945-1:1996 section 8.1 (page 206 lines
47-52) clearly states that in POSIX (unlike in ISO C) the relationship
 between the time_t argument to gmtime() and the resulting tm 
structure only depends on the "seconds since the Epoch" expression, 
and this should always be available.



Action:

The words "or UTC is not available," are unnecessary and confusing,
and they should be removed.

<Prev in Thread] Current Thread [Next in Thread>
  • Defect in XSH gmtime_r, ajosey <=