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

Defect in XBD stdio.h

To: yyyyyyyyyyyyyyy@xxxxxxxxxxxxx
Subject: Defect in XBD stdio.h
From: Geoff Clare <yyy@xxxxxxxxxxxxx>
Date: Fri, 3 Nov 2006 16:59:49 +0000
@ page 325 line 11571 section stdio.h objection [gwc TMP_MAX conflict]

Problem:

Defect code :  1. Error

There is a conflict between POSIX.1 and C99 over the description of
TMP_MAX.

POSIX.1 describes it as: "Minimum number of unique filenames generated
by tmpnam(). Maximum number of times an application can call tmpnam()
reliably."

C99 says it is "the maximum number of unique file names that can be
generated by the tmpnam function".

Action:

Change 

    "Minimum number of unique filenames generated by tmpnam(). Maximum
    number of times an application can call tmpnam() reliably."

to
    "Maximum number of unique filenames that can be generated by the
    tmpnam() function."

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