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.
|