View Issue Details

IDProjectCategoryView StatusLast Update
00013811003.1(2016/18)/Issue7+TC2System Interfacespublic2024-06-11 09:08
Reportergeoffclare Assigned To 
PrioritynormalSeverityObjectionTypeOmission
Status ClosedResolutionAccepted 
NameGeoff Clare
OrganizationThe Open Group
User Reference
Sectionftruncate()
Page Number980
Line Number33344
Interp Status---
Final Accepted Text
Summary0001381: ftruncate() missing EINVAL from POSIX.1-1996
DescriptionPOSIX.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 ActionOn 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.)
Tagstc3-2008

Activities

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 => ---
2020-12-17 17:09 Don Cragun Status New => Resolved
2020-12-17 17:09 Don Cragun Resolution Open => Accepted
2020-12-17 17:09 Don Cragun Tag Attached: tc3-2008
2021-01-15 16:26 geoffclare Status Resolved => Applied
2024-06-11 09:08 agadmin Status Applied => Closed