Austin Group Defect Tracker

Aardvark Mark IV


Viewing Issue Simple Details Jump to Notes ] Issue History ] Print ]
ID Category Severity Type Date Submitted Last Update
0001381 [1003.1(2016)/Issue7+TC2] System Interfaces Objection Omission 2020-07-23 09:34 2020-07-23 09:34
Reporter geoffclare View Status public  
Assigned To
Priority normal Resolution Open  
Status New  
Name Geoff Clare
Organization The Open Group
User Reference
Section ftruncate()
Page Number 980
Line Number 33344
Interp Status ---
Final Accepted Text
Summary 0001381: ftruncate() missing EINVAL from POSIX.1-1996
Description POSIX.1-1996 specified the following error for ftruncate():
[EINVAL] The fildes argument does not refer to a file on which this operation is possible.
This was omitted when POSIX.1-1996 and SUSv2 were merged to form POSIX.1-2001/SUSv3.

For consistency, truncate() should also have an equivalent EINVAL error.
Desired Action On page 980 line 33344 section ftruncate() EINVAL, change:
The length argument was less than 0.
to:
The length argument is less than 0 or the fildes argument refers to a file on which this operation is not possible (for example, a pipe, FIFO or socket).

On page 2178 line 69765 section truncate() EINVAL, change:
The length argument was less than 0.
to:
The length argument is less than 0 or the path argument refers to a file, other than a directory, on which this operation is not possible (for example, a FIFO or socket).

(The editors may also want to rearrange both ERRORS sections into alphabetical order.)
Tags No tags attached.
Attached Files

- Relationships

There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2020-07-23 09:34 geoffclare New Issue
2020-07-23 09:34 geoffclare Name => Geoff Clare
2020-07-23 09:34 geoffclare Organization => The Open Group
2020-07-23 09:34 geoffclare Section => ftruncate()
2020-07-23 09:34 geoffclare Page Number => 980
2020-07-23 09:34 geoffclare Line Number => 33344
2020-07-23 09:34 geoffclare Interp Status => ---


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