On Fri, Dec 17, 2010 at 1:55 PM, Garrett Cooper <[email protected]> wrote: > 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.
That being said though, it would be nice if we had tests specific to these requirements, in addition to ones that aren't, and if glibc is unnecessarily bumping values then someone needs to talk to Ulrich about not creating unnecessary churn. 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
