]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Kludge to stop this program hanging on ppc32-linux and therefore
authorJulian Seward <jseward@acm.org>
Sat, 2 Jul 2005 20:11:59 +0000 (20:11 +0000)
committerJulian Seward <jseward@acm.org>
Sat, 2 Jul 2005 20:11:59 +0000 (20:11 +0000)
messing up the testsuite.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4087

none/tests/sem.c

index 65c28b89dbeaaac40278d4690b53a0d4f8d567a3..f892e930cd608a50596856aa038699a595cacbd8 100644 (file)
@@ -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;