From a8cf509a06cdc42568e446dea8a54a398e1c003b Mon Sep 17 00:00:00 2001 From: Benjamin Reed Date: Wed, 22 Jul 2009 08:47:51 -0400 Subject: [PATCH] Fix compilation on non-Linux: the F_DUPFD_CLOEXEC check was reversed Signed-off-by: Thiago Macieira --- dbus/dbus-sysdeps-unix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dbus/dbus-sysdeps-unix.c b/dbus/dbus-sysdeps-unix.c index f0f1e7067..e60e61447 100644 --- a/dbus/dbus-sysdeps-unix.c +++ b/dbus/dbus-sysdeps-unix.c @@ -3043,7 +3043,7 @@ _dbus_dup(int fd, return -1; } -#ifndef F_DUPFD_CLOEXEC +#ifdef F_DUPFD_CLOEXEC if (!cloexec_done) #endif { -- 2.47.3