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

Defect in XSH tmpnam

To: yyyyyyyyyyyyyyy@xxxxxxxxxxxxx
Subject: Defect in XSH tmpnam
From: yyyyyyyyyy@xxxxxxx
Date: Fri, 1 Aug 2003 21:37:13 +0100 (BST)
        Defect report from : Don Cragun , Sun Microsystems, Inc.

(Please direct followup comments direct to yyyyyyyyyyyyyy@xxxxxxxxxxxxx)

@ page 1533 line 47433-47434 section tmpnam objection {dwc-tmpnam()20030801}

Problem:

Edition of Specification (Year): 2003

Defect code :  3. Clarification required

The description of tmpnam() on XSH6, P1533, L47433-47434 says "The
implementation shall behave as if no function defined in this volume
of IEEE Std 1003.1-2001 calls tmpnam(), but the description of
tempnam() on XSH6, P1513, L46807 says "implementations of tempnam()
may use tmpnam() internally".

This inconsistency does not violate the C standard (C does not
include a definition of tempnam()), it is just an inconsistency in
internal POSIX.1-2001 requirements.

Action:

Change:
        "The implementation shall behave as if no function defined
        in this volume of IEEE Std 1003.1-2001 calls tmpnam()."
on P1533, L47433-47434 to either say:
        "The implementation shall behave as if no function defined
        in this volume of IEEE Std 1003.1-2001 except tempnam()
        calls tmpnam()."
or to say:
        "The implementation shall behave as if no function defined
        in ISO C calls tmpnam()."

<Prev in Thread] Current Thread [Next in Thread>
  • Defect in XSH tmpnam, don.cragun <=