Viewing Issue Simple Details
[ Jump to Notes ]
|
[ Issue History ]
[ Print ]
|
ID |
Category |
Severity |
Type |
Date Submitted |
Last Update |
0001381 |
[1003.1(2016/18)/Issue7+TC2] System Interfaces |
Objection |
Omission |
2020-07-23 09:34 |
2021-01-15 16:26 |
|
Reporter |
geoffclare |
View Status |
public |
|
Assigned To |
|
Priority |
normal |
Resolution |
Accepted |
|
Status |
Applied |
|
|
|
|
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 |
tc3-2008 |
|
Attached Files |
|
|