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

Defect in XBD stdio.h

To: yyyyyyyyyyyyyyy@xxxxxxxxxxxxx
Subject: Defect in XBD stdio.h
From: yyyyy@xxxxxxxxxx
Date: Wed, 12 Feb 2003 22:28:09 GMT
        Defect report from : Mark Brown , IBM

(Please direct followup comments direct to yyyyyyyyyyyyyy@xxxxxxxxxxxxx)

@ page 322 line 11518 section stdio.h objection {IBM-120201}

Problem:

Defect code :  2. Omission

The off_t data type is used in the definitions of fseeko() and ftello() in 
<stdio.h>, but there does not seem to be a way to legally include a definition 
of off_t in <stdio.h>.  <stdio.h> may include all the symbols from <stddef.h>, 
but <stddef.h> does not define off_t or include any other headers.  This 
appears to be an error in the description of <stdio.h>.   I did not see any 
correction in the TC1.
           I would expect the correction to be to the <stdio.h> definition in 
the section where it similarly allows for the definition of size_t.

Action:

Insert a new line after line 11518:

"off_t as described in <sys/types.h>"

<Prev in Thread] Current Thread [Next in Thread>