Austin Group Defect Tracker

Aardvark Mark III


Viewing Issue Simple Details Jump to Notes ] Issue History ] Print ]
ID Category Severity Type Date Submitted Last Update
0000122 [1003.1(2008)/Issue 7] System Interfaces Objection Error 2009-07-13 15:43 2009-08-20 15:18
Reporter geoffclare View Status public  
Assigned To ajosey
Priority normal Resolution Accepted  
Status Resolved  
Name Geoff Clare
Organization The Open Group
User Reference
Section ftell
Page Number 956
Line Number 32054, 32056
Interp Status ---
Final Accepted Text
Summary 0000122: ESPIPE inconsistencies
Description There are some inconsistencies between the ESPIPE errors for the
various stream I/O seek functions.

For ftell() there is a "shall fail" ESPIPE for pipes and FIFOs,
and a "may fail" ESPIPE for sockets.

For ftello() there is a "shall fail" ESPIPE for pipes and FIFOs,
and no ESPIPE for sockets.

For fgetpos() there is a "may fail" ESPIPE for all three file types.

For fseek() and fseeko() there is a "shall fail" ESPIPE for pipes and
FIFOs, and no ESPIPE for sockets.

For fsetpos() there is a "shall fail" ESPIPE for all three file types.

Presumably where an ESPIPE for sockets is omitted this is simply an
oversight. For ftell() I can see no reason for the ESPIPE
requirements to be different for sockets than for pipes and FIFOs.
Likewise the requirements for fgetpos() should be the same as for
ftell() and ftello().

A related problem is that EBADF is "may fail" for fgetpos() but
"shall fail" for all the other functions.
Desired Action On line 32054 change "pipe or FIFO" to "pipe, FIFO, or socket".

Delete lines 32055 and 32056 (ftell "may fail" text and ESPIPE).

On the fgetpos() page delete line 28249 ("may fail" text) and
move EBADF to the beginning of the errors list.

On the fseek() page at line 31450 change "pipe or FIFO" to "pipe,
FIFO, or socket".
Tags tc1-2008
Attached Files

- Relationships

There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2009-07-13 15:43 geoffclare New Issue
2009-07-13 15:43 geoffclare Status New => Under Review
2009-07-13 15:43 geoffclare Assigned To => ajosey
2009-07-13 15:43 geoffclare Name => Geoff Clare
2009-07-13 15:43 geoffclare Organization => The Open Group
2009-07-13 15:43 geoffclare Section => ftell
2009-07-13 15:43 geoffclare Page Number => 956
2009-07-13 15:43 geoffclare Line Number => 32054, 32056
2009-08-20 15:18 ajosey Interp Status => ---
2009-08-20 15:18 ajosey Status Under Review => Resolved
2009-08-20 15:18 ajosey Resolution Open => Accepted
2010-08-27 13:16 ajosey Tag Attached: tc1-2008


Mantis 1.1.6[^]
Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker