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

Defect in XSH fgetws

To: yyyyyyyyyyyyyyy@xxxxxxxxxxxxx
Subject: Defect in XSH fgetws
From: yyyyyyyyyyyy@xxxxxxx
Date: Sat, 18 Oct 2003 01:23:58 +0100 (BST)
        Defect report from : Carol Fields , Sun Microsystems

(Please direct followup comments direct to yyyyyyyyyyyyyy@xxxxxxxxxxxxx)

@ page 370 line 11959 section fgetws editorial {cf5}

Problem:

Edition of Specification (Year): 2001

Defect code :  1. Error

fgetws(): pg 370, line 11959 states:
"If the stream is a end-of-file, the end-of-file indicator for the
stream shall be set and fgetws() shall return a null pointer."

Action:

It should be similiar to fgetc() behavior, ie: it should state:
"If the end-of-file indicator for the stream is set, or
if the stream is a end-of-file, the end-of-file indicator for the stream
shall be set and fgetws() shall return a null pointer."

<Prev in Thread] Current Thread [Next in Thread>
  • Defect in XSH fgetws, Carol.Fields <=