|
From: <sv...@va...> - 2014-10-22 09:25:14
|
Author: florian
Date: Wed Oct 22 10:25:03 2014
New Revision: 14649
Log:
Followup to r14646. The symbol TIOCSIG is not necessarily defined,
e.g. on s390x with glibc 2.3.4. Modify the testcase to bypass the ioctl
call in that case.
Modified:
trunk/memcheck/tests/linux/ioctl-tiocsig.c
Modified: trunk/memcheck/tests/linux/ioctl-tiocsig.c
==============================================================================
--- trunk/memcheck/tests/linux/ioctl-tiocsig.c (original)
+++ trunk/memcheck/tests/linux/ioctl-tiocsig.c Wed Oct 22 10:25:03 2014
@@ -2,6 +2,8 @@
int main()
{
+#ifdef TIOCSIG
ioctl(9, TIOCSIG, 9);
+#endif
return 0;
}
|