]> git.ipfire.org Git - thirdparty/dbus.git/commitdiff
Fix compilation on non-Linux: the F_DUPFD_CLOEXEC check was reversed
authorBenjamin Reed <rangerrick@befunk.com>
Wed, 22 Jul 2009 12:47:51 +0000 (08:47 -0400)
committerThiago Macieira <thiago@kde.org>
Wed, 29 Jul 2009 17:13:26 +0000 (19:13 +0200)
Signed-off-by: Thiago Macieira <thiago@kde.org>
dbus/dbus-sysdeps-unix.c

index f0f1e706776bf0fd57d17c2da5c402552b8024e7..e60e6144741e52abf2d519b79a61c70bd55d7e7a 100644 (file)
@@ -3043,7 +3043,7 @@ _dbus_dup(int        fd,
     return -1;
   }
 
-#ifndef F_DUPFD_CLOEXEC
+#ifdef F_DUPFD_CLOEXEC
   if (!cloexec_done)
 #endif
     {