dbus/dbus dbus-sysdeps-util-unix.c,1.12,1.13

Ralf Habacker rhabacker at kemper.freedesktop.org
Mon Mar 12 00:51:04 PDT 2007


Update of /cvs/dbus/dbus/dbus
In directory kemper:/tmp/cvs-serv16545/dbus

Modified Files:
	dbus-sysdeps-util-unix.c 
Log Message:
* dbus/dbus-sysdeps-util-unix.c (_dbus_become_daemon): fix _dbus_pid_fd check.

Index: dbus-sysdeps-util-unix.c
===================================================================
RCS file: /cvs/dbus/dbus/dbus/dbus-sysdeps-util-unix.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- dbus-sysdeps-util-unix.c	10 Mar 2007 09:10:36 -0000	1.12
+++ dbus-sysdeps-util-unix.c	12 Mar 2007 07:51:02 -0000	1.13
@@ -135,7 +135,7 @@
         }
 
       /* Write PID if requested */
-      if (print_pid_fd >= 0)
+      if (_dbus_pipe_is_valid(print_pid_fd))
 	{
 	  DBusString pid;
 	  int bytes;



More information about the dbus-commit mailing list