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

Defect in XSH fdopen

To: yyyyyyyyyyyyyyy@xxxxxxxxxxxxx
Subject: Defect in XSH fdopen
From: yyyyyy@xxxxxxxxxxxxx
Date: Mon, 11 Aug 2003 08:55:28 +0100 (BST)
        Defect report from : yyyyyy@xxxxxxxxxxxxx , The Open Group

(Please direct followup comments direct to yyyyyyyyyyyyyy@xxxxxxxxxxxxx)

@ page 343 line 11246 section fdopen comment {fdopen.impldefined}

Problem:

Edition of Specification (Year): 2003

Defect code :  1. Error

The RATIONALE for fdopen states

"The file descriptor may have been obtained from open(), creat(), pipe(), 
dup(), or fcntl(); inherited through fork() or exec; or perhaps obtained by 
implementation-defined means, such as the 4.3 BSD socket() call."

This seems to predate the inclusion of sockets into the specification.
Its unclear what value the sentence has, and an attempt is made below
to update it and generalize it.

Action:

Change to:

The file descriptor may have been obtained from open(), creat(), pipe(), dup(), 
fcntl() or socket(); inherited through fork(), posix_spawn() or exec; or 
perhaps obtained by other means.

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