View Issue Details

IDProjectCategoryView StatusLast Update
00008231003.1(2013)/Issue7+TC1System Interfacespublic2019-06-10 08:54
Reportergeoffclare Assigned To 
PrioritynormalSeverityObjectionTypeError
Status ClosedResolutionAccepted 
NameGeoff Clare
OrganizationThe Open Group
User Reference
Sectionfwscanf
Page Number997
Line Number33711-33714
Interp Status---
Final Accepted TextSee desired action
Summary0000823: TC1 fscanf RETURN VALUE change needs to be done to fwscanf
DescriptionIn TC1 the following text in the RETURN VALUE section on the fscanf page:

   If the input ends before the first matching failure or conversion, EOF
   shall be returned. If any error occurs, EOF shall be returned, [CX]and
   errno shall be set to indicate the error[/CX]. If a read error occurs,
   the error indicator for the stream shall be set.

was changed to:

   If the input ends before the first conversion (if any) has completed,
   and without a matching failure having occurred, EOF shall be returned. If
   an error occurs before the first conversion (if any) has completed,
   and without a matching failure having occurred, EOF shall be returned
   [CX]and errno shall be set to indicate the error[/CX]. If a read error
   occurs, the error indicator for the stream shall be set.

The same change is needed on the fwscanf page.
Desired ActionChange:

   If the input ends before the first matching failure or conversion, EOF
   shall be returned. If any error occurs, EOF shall be returned, [CX]and
   errno shall be set to indicate the error[/CX]. If a read error occurs,
   the error indicator for the stream shall be set.

to:

   If the input ends before the first conversion (if any) has completed,
   and without a matching failure having occurred, EOF shall be returned. If
   an error occurs before the first conversion (if any) has completed,
   and without a matching failure having occurred, EOF shall be returned
   [CX]and errno shall be set to indicate the error[/CX]. If a read error
   occurs, the error indicator for the stream shall be set.
Tagstc2-2008

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2014-02-10 16:19 geoffclare New Issue
2014-02-10 16:19 geoffclare Name => Geoff Clare
2014-02-10 16:19 geoffclare Organization => The Open Group
2014-02-10 16:19 geoffclare Section => fwscanf
2014-02-10 16:19 geoffclare Page Number => 997
2014-02-10 16:19 geoffclare Line Number => 33711-33714
2014-02-10 16:19 geoffclare Interp Status => ---
2014-03-20 15:42 nick Final Accepted Text => See desired action
2014-03-20 15:42 nick Status New => Resolved
2014-03-20 15:42 nick Resolution Open => Accepted
2014-03-20 15:42 nick Tag Attached: tc2-2008
2019-06-10 08:54 agadmin Status Resolved => Closed