Email List: Xaustin-review-lX
[All Lists]

Defect in XSH posix_fallocate

To: yyyyyyyyyyyyyyy@xxxxxxxxxxxxx
Subject: Defect in XSH posix_fallocate
From: yyyyyyyy@xxxxxxxxxx
Date: Tue, 2 Dec 2003 13:14:50 GMT
        Defect report from : William Toth , IBM Austin, UNIX Development

(Please direct followup comments direct to yyyyyyyyyyyyyy@xxxxxxxxxxxxx)

@ page 1404 line 28194 section posix_fallocate  comment {WLT-XSH-1}

Problem:

Edition of Specification (Year): 2003

Defect code :  2. Omission

The UNIX03 TC1 spec provides no way for a conforming application to determine 
if a file descriptor provided to posix_fallocate() is usable or not. It is 
expected that use of posix_fallocate() will be restricted to files opened on 
specific filesystems. None of the specified errnos can be used to determine if 
posix_fallocate() failed because the file has been opened on a filesystem that 
does not support it. Neither is there a constant that be passed to fpathconf() 
to determine support.

Action:

Add ENOTSUP to the list of allowable errnos

or 

add a constant like _POSIX_FALLOCATE_FILES for fpathconf()

<Prev in Thread] Current Thread [Next in Thread>
  • Defect in XSH posix_fallocate, mstrbill <=