Date: Mon, 6 May 2013 22:07:11 +0000 (UTC) From: Guido Falsi <madpilot@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r317554 - head/comms/openobex/files Message-ID: <201305062207.r46M7BfE087070@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: madpilot Date: Mon May 6 22:07:11 2013 New Revision: 317554 URL: http://svnweb.freebsd.org/changeset/ports/317554 Log: Fix comparison in patch from my previous commit. Modified: head/comms/openobex/files/patch-lib_cloexec.h Modified: head/comms/openobex/files/patch-lib_cloexec.h ============================================================================== --- head/comms/openobex/files/patch-lib_cloexec.h Mon May 6 21:58:11 2013 (r317553) +++ head/comms/openobex/files/patch-lib_cloexec.h Mon May 6 22:07:11 2013 (r317554) @@ -13,7 +13,7 @@ socklen_t *addrlen) { -#ifdef SOCK_CLOEXEC -+#if defined(SOCK_CLOEXEC) && __FreeBSD_version < 1000032 ++#if defined(SOCK_CLOEXEC) && __FreeBSD_version > 1000032 return accept4(sockfd, addr, addrlen, SOCK_CLOEXEC); #else socket_t fd = accept(sockfd, addr, addrlen);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201305062207.r46M7BfE087070>