X-Git-Url: https://pd.if.org/git/?p=pdclib;a=blobdiff_plain;f=functions%2Fstdlib%2Fqsort.c;h=fedda0f58f710e851f3d2151cc9d668ecceb9c20;hp=8941e6db7a187e73aee6fcc03668396bcd63f8fc;hb=4bf4b212eb8f7a96145b06f91db453fbec396ce8;hpb=b3418d66bba8ec0ec0adde6d62ab19962cfc4a34 diff --git a/functions/stdlib/qsort.c b/functions/stdlib/qsort.c index 8941e6d..fedda0f 100644 --- a/functions/stdlib/qsort.c +++ b/functions/stdlib/qsort.c @@ -154,8 +154,12 @@ int main() strcpy( s, presort ); qsort( s, 1, 1, compare ); TESTCASE( strcmp( s, presort ) == 0 ); +#if __BSD_VISIBLE + puts( "qsort.c: Skipping test #4 for BSD as it goes into endless loop here." ); +#else qsort( s, 100, 0, compare ); TESTCASE( strcmp( s, presort ) == 0 ); +#endif return TEST_RESULTS; }