X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=functions%2Fstdlib%2Fqsort.c;h=c6e9b8024739dfed7653bcfd14a4e82c7472f0a9;hb=e1c526e9bad3f6e69391e94059096145390508d3;hp=3e349fb683179a2adbe9553c24a447256d1dede5;hpb=ffa73a4a2673fece7cd63c471476db6bc4aef9e6;p=pdclib diff --git a/functions/stdlib/qsort.c b/functions/stdlib/qsort.c index 3e349fb..c6e9b80 100644 --- a/functions/stdlib/qsort.c +++ b/functions/stdlib/qsort.c @@ -1,5 +1,3 @@ -/* $Id$ */ - /* qsort( void *, size_t, size_t, int(*)( const void *, const void * ) ) This file is part of the Public Domain C Library (PDCLib). @@ -154,7 +152,7 @@ int main( void ) strcpy( s, presort ); qsort( s, 1, 1, compare ); TESTCASE( strcmp( s, presort ) == 0 ); -#if __BSD_VISIBLE +#if defined(REGTEST) && (__BSD_VISIBLE || __APPLE__) puts( "qsort.c: Skipping test #4 for BSD as it goes into endless loop here." ); #else qsort( s, 100, 0, compare );