From: Julian Seward Date: Sat, 2 Jul 2005 20:11:59 +0000 (+0000) Subject: Kludge to stop this program hanging on ppc32-linux and therefore X-Git-Tag: svn/VALGRIND_3_0_0~231 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7b0afe576e471971f6c27d1bac4da4b3058dfd58;p=thirdparty%2Fvalgrind.git Kludge to stop this program hanging on ppc32-linux and therefore messing up the testsuite. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4087 --- diff --git a/none/tests/sem.c b/none/tests/sem.c index 65c28b89db..f892e930cd 100644 --- a/none/tests/sem.c +++ b/none/tests/sem.c @@ -32,7 +32,10 @@ int main(int argc, char **argv) exit(1); } -#ifdef HAVE_SEMTIMEDOP + /* The next call to semtimedop causes the program to hang on + ppc32-linux (Yellow Dog 4.0). I don't know why. Hence the + extended ifdef. */ +#if defined(HAVE_SEMTIMEDOP) && !defined(__powerpc__) sop.sem_num = 0; sop.sem_op = 0; sop.sem_flg = 0;