[Glibc-bsd-commits] r4648 - trunk/glibc-ports/fbtl
Petr Salinger
ps-guest at alioth.debian.org
Mon Jul 8 12:48:19 UTC 2013
Author: ps-guest
Date: 2013-06-28 17:33:57 +0000 (Fri, 28 Jun 2013)
New Revision: 4648
Modified:
trunk/glibc-ports/fbtl/tst-cancel4.c
Log:
__FreeBSD_kernel__ have slightly different requirements on socketpair ...
Modified: trunk/glibc-ports/fbtl/tst-cancel4.c
===================================================================
--- trunk/glibc-ports/fbtl/tst-cancel4.c 2013-06-28 17:32:25 UTC (rev 4647)
+++ trunk/glibc-ports/fbtl/tst-cancel4.c 2013-06-28 17:33:57 UTC (rev 4648)
@@ -2137,7 +2137,11 @@
int val;
socklen_t len;
+#ifdef __FreeBSD_kernel__
+ if (socketpair (AF_UNIX, SOCK_STREAM, 0, fds) != 0)
+#else
if (socketpair (AF_UNIX, SOCK_STREAM, PF_UNIX, fds) != 0)
+#endif
{
perror ("socketpair");
exit (1);
More information about the Glibc-bsd-commits
mailing list