svn commit: r317554 - head/comms/openobex/files

Guido Falsi madpilot at FreeBSD.org
Mon May 6 22:07:12 UTC 2013


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);


More information about the svn-ports-all mailing list