On Fri, Dec 17, 2010 at 6:20 AM, Cyril Hrubis <[email protected]> wrote:
> Hi!
> Newer glibc returns 200809 as a result from sysconf(_SC_ASYNCHRONOUS_IO)
> (the git commit was done on 26 Feb 2009) and the change seems to be
> propagated into stable glibc versions (mine is 2.11.2-r3).
>
> The problem is that nearly all aio testcases starts with
>
> if (sysconf(_SC_ASYNCHRONOUS_IO) != 200112L)
>        return PTS_UNRESOLVED;
>
> So these tests are disabled with newer glibc.
>
> However the changes between posix 200112 and 200908 seems to be minimal
> (I haven't been able to find the full list of changes, but at least the
>  testcases seems to work.)
>
> My proposal is to do one of the following:
>
> * remove these two lines to enable the tests
>
> * change them to sysconf(_SC_ASYNCHRONOUS_IO) >= 200112L

Option 2 is better than option 1.
Thanks!
-Garrett

------------------------------------------------------------------------------
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to