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

Defect in XSH freopen

To: yyyyyyyyyyyyyyy@xxxxxxxxxxxxx
Subject: Defect in XSH freopen
From: Geoff Clare <yyy@xxxxxxxxxxxxx>
Date: Tue, 16 May 2006 15:57:13 +0100
@ page 439 line 14434 section freopen objection [gwc freopen flush]

Problem:

Defect code :  3. Clarification required

The freopen() page states "The freopen() function shall first attempt
to flush the stream", but it does not make clear that what it means
by "flush the stream" is the same action as would be performed by
fflush().  (Note that in the next revision this will include the
actions that will be added to the fflush() page by AI-002.)

Action:

Change:

    "The freopen() function shall first attempt to flush the stream
    and close any file descriptor associated with stream."

to:
    "The freopen() function shall first attempt to flush the stream
    as if by a call to fflush(stream) and close any file descriptor
    associated with stream."

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