|
From: <sv...@va...> - 2005-07-02 20:12:02
|
Author: sewardj
Date: 2005-07-02 21:11:59 +0100 (Sat, 02 Jul 2005)
New Revision: 4087
Log:
Kludge to stop this program hanging on ppc32-linux and therefore
messing up the testsuite.
Modified:
trunk/none/tests/sem.c
Modified: trunk/none/tests/sem.c
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/none/tests/sem.c 2005-07-02 18:24:58 UTC (rev 4086)
+++ trunk/none/tests/sem.c 2005-07-02 20:11:59 UTC (rev 4087)
@@ -32,7 +32,10 @@
exit(1);
}
=20
-#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 =3D 0;
sop.sem_op =3D 0;
sop.sem_flg =3D 0;
|