openbsd-ports/x11/dbus/patches/patch-tools_dbus-launch_c
ajacoutot 978381c7b1 Bring some fixes from upstream:
* sync configure.ac patch
* dbus-spawn: set SIGPIPE to SIG_IGN before activating services
* dbus-sysdeps-pthread.c: don't fail if !HAVE_MONOTONIC_CLOCK under -Werror=unused
* Remove redundant close() calls
* Don't leak temporary fds pointing to /dev/null
2013-01-08 09:30:27 +00:00

18 lines
607 B
Plaintext

$OpenBSD: patch-tools_dbus-launch_c,v 1.1 2013/01/08 09:30:27 ajacoutot Exp $
From 9a9b0e2736378d1a8961fb264d7314e921231e8e Mon Sep 17 00:00:00 2001
From: Michel HERMIER <hermier@frugalware.org>
Date: Fri, 09 Nov 2012 15:44:43 +0000
Subject: Don't leak temporary fds pointing to /dev/null
--- tools/dbus-launch.c.orig Fri Sep 28 21:17:26 2012
+++ tools/dbus-launch.c Tue Jan 8 09:58:11 2013
@@ -633,6 +633,7 @@ babysit (int exit_with_session,
s = getenv ("DBUS_DEBUG_OUTPUT");
if (s == NULL || *s == '\0')
dup2 (dev_null_fd, 2);
+ close (dev_null_fd);
}
else
{