dbus/bus bus.c,1.74,1.75

Ralf Habacker rhabacker at kemper.freedesktop.org
Thu Mar 8 12:25:17 PST 2007


Update of /cvs/dbus/dbus/bus
In directory kemper:/tmp/cvs-serv16278/bus

Modified Files:
	bus.c 
Log Message:
* bus/bus.c, dbus/dbus-sysdeps-unix.c, dbus/dbus-sysdeps.h: rename pipe related write() function calls to _dbus_write_pipe().

Index: bus.c
===================================================================
RCS file: /cvs/dbus/dbus/bus/bus.c,v
retrieving revision 1.74
retrieving revision 1.75
diff -u -d -r1.74 -r1.75
--- bus.c	20 Dec 2006 06:18:19 -0000	1.74
+++ bus.c	8 Mar 2007 20:25:15 -0000	1.75
@@ -625,7 +625,7 @@
         }
 
       bytes = _dbus_string_get_length (&addr);
-      if (_dbus_write_socket (print_addr_fd, &addr, 0, bytes) != bytes)
+      if (_dbus_write_pipe (print_addr_fd, &addr, 0, bytes) != bytes)
         {
           dbus_set_error (error, DBUS_ERROR_FAILED,
                           "Printing message bus address: %s\n",
@@ -726,7 +726,7 @@
         }
 
       bytes = _dbus_string_get_length (&pid);
-      if (_dbus_write_socket (print_pid_fd, &pid, 0, bytes) != bytes)
+      if (_dbus_write_pipe (print_pid_fd, &pid, 0, bytes) != bytes)
         {
           dbus_set_error (error, DBUS_ERROR_FAILED,
                           "Printing message bus PID: %s\n",



More information about the dbus-commit mailing list