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

Defect in XSH localtime_r()

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

(Please direct followup comments direct to yyyyyyyyyyyyyy@xxxxxxxxxxxxx)

@ page 699 line 23038-23039  section localtime_r() objection {sunw-jf03-rk-2}

Problem:

Defect code :  2. Omission

TC Change Number: XSH/TC1/D6/32 [XSH ERN 35] should apply to 
localtime_r() as well as localtime(). Changes are required to both XSH 
and text approved in TC1.

Action:


  Change XSH text lines 23038-23039 from 
   
          "Upon successful completion, localtime_r() shall return a 
           pointer to the structure pointed to by the argument." 
   
  to 
          "Upon successful completion, localtime_r() shall return a 
           pointer to the structure pointed to by the argument. If 
           an error is detected, localtime_r() shall return 
          a null pointer and set errno to indicate the error". 
   
           
  In the text changed by XSH/TC1/D6/32 [XSH ERN 35] change: 
   
      
  0708    "The localtime() function shall fail if: 
      
  0709    [EOVERFLOW]  The result cannot be represented." 
      
  to 
   
          "The localtime() and localtime_r() function shall fail if: 
      
          [EOVERFLOW]  The result cannot be represented." 
   
  with "and localtime _r()" shaded and margined marked TSF. 
   
  Note the limitations of shading and margin markings may 
  require the above change to TC1 to be impossible editorially. If 
  that is so then just a seperate paragraph for localtime_r should 
  be added to Errors section: 
   
  At line 23041 replace the line with: 
   
          "The localtime_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 localtime_r(), joannaf <=