tst-aio - new version - reveals a bug in glibc

Mark Brown bmark@us.ibm.com
Thu Jul 27 15:30:00 GMT 2000


At 1:32 PM -0700 7/27/00, Ulrich Drepper wrote:
>Mark Brown <bmark@us.ibm.com> writes:
>
>> >Mark: it's probably something that has to be brought up in the AG.
>>
>> The current draft (AG Draft 3) for aio_cancel(), nor the SUSv2 (UNIX98)
>> spec for aio_cancel() mention specific fields.
>>
>> I'm not sure what document you are accessing...
>
>The aio_fsync() man page (in XBDd3) mentions aio_fildes and
>aio_sigevent and explicitly says that all other fields must be
>disregarded.

OK: in AG Draft 3, XSH (System Interfaces & Headers), for aio_fsync()
[not aio_cancel] it uses the same words as are in 1003.1-1996.

I can see where this might be read as a "general" statement, but really
this appears to be in reference to useage by applications for using the
struct with aio_error() etc.

You certainly cannot "ignore" the other members of the struct in all
the APIs in which it is used....

mark
-- 
-------------------------
Mark S. Brown                                                   bmark@us.ibm.com
IBM RS/6000 AIX System Architecture                    512.838.3926  T/L678.3926
IBM Corporation, Austin, Texas


More information about the Libc-hacker mailing list