git: aio: Make sysconf() report correct value.

Stathis Kamperis beket at crater.dragonflybsd.org
Mon Dec 21 13:40:52 PST 2009


commit 08fc2af97081039b29e8979adab62acd128edfc9
Author: Stathis Kamperis <beket at dragonflybsd.org>
Date:   Mon Dec 21 22:42:39 2009 +0200

    aio: Make sysconf() report correct value.
    
    Issue 6 says that _POSIX_ASYNCHRONOUS_IO shall be defined equal to
    -1, 0, or 200112L. But sysconf() shall report either -1 or 200112L.
    
    We provide headers, data types and functions for the AIO interface,
    but not any actual implementation. This means that the symbol
    _POSIX_ASYNCHRONOUS_IO shall be 0 (it is already) and sysconf()
    shall return -1 (it didn't until now).

Summary of changes:
 sys/kern/kern_p1003_1b.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/08fc2af97081039b29e8979adab62acd128edfc9


-- 
DragonFly BSD source repository





More information about the Commits mailing list