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

Defect in XSH gmtime_r()

To: yyyyyyyyyyyyyyy@xxxxxxxxxxxxx
Subject: Defect in XSH gmtime_r()
From: yyyyyyy@xxxxxxx
Date: Tue, 28 Jan 2003 12:37:42 GMT
        Defect report from : Joanna Farley , Sun Microsystems

(Please direct followup comments direct to yyyyyyyyyyyyyy@xxxxxxxxxxxxx)

@ page 577 line 18970-18972  section gmtime_r() objection {sunw-jf03-rk-1}

Problem:

Defect code :  2. Omission

TC Change Number: XSH/TC1/D6/27 [XSH ERN 27,28] should apply to 
gmtime_r() as well as gmtime(). Changes are required to both XSH and 
the text approved in TC1. 

Action:


  Change XSH text lines 18970-18972 from 
   
          "Upon successful completion, gmtime_r() shall return the  
          address of the structure pointed to by the argument result.  
          If an error is detected, or UTC is not available, gmtime_r()  
          shall return a null pointer". 
   
  to  
          "Upon successful completion, gmtime_r() shall return the  
          address of the structure pointed to by the argument result.  
          If an error is detected, gmtime_r() shall return 
          a null pointer and set errno to indicate the error". 
   
  Note "or UTC is not available," was removed in XSH/TC1/D6/27. 
   
  In the text changed by XSH/TC1/D6/27 [XSH ERN 27,28] change: 
   
      
  0657    "The gmtime() function shall fail if: 
      
  0658    [EOVERFLOW]  The result cannot be represented." 
      
  to 
   
          "The gmtime() and gmtime_r() function shall fail if: 
      
          [EOVERFLOW]  The result cannot be represented." 
   
  with "and gmtime_r()" shaded and margined marked TSF. 
   
  The limitations of shading and margin markings may mean the 
  above change to TC1 text to be impossible editorially. If that is 
  so then just a seperate paragraph for gmtime_r should be added 
  to Errors section: 
   
  In XSH at line 18974 replace the line with: 
   
          "The gmtime_r() function shall fail if: 
      
          [EOVERFLOW]  The result cannot be represented." 
   
  with the text shaded and margined marked TSF.

<Prev in Thread] Current Thread [Next in Thread>
  • Defect in XSH gmtime_r(), joannaf <=