]> git.ipfire.org Git - thirdparty/dbus.git/commitdiff
* dbus/dbus-sysdeps-util-unix.c (_dbus_write_pid_file):
authorJohn (J5) Palmieri <johnp@redhat.com>
Thu, 14 Sep 2006 05:20:12 +0000 (05:20 +0000)
committerJohn (J5) Palmieri <johnp@redhat.com>
Thu, 14 Sep 2006 05:20:12 +0000 (05:20 +0000)
  use _dbus_close instead of close

ChangeLog
dbus/dbus-sysdeps-util-unix.c

index 9969b9e565a03245bef1946239d61077f3129676..0e456e2a6e6a8078f92ec0c1a86301dc11b2160b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2006-09-14  John (J5) Palmieri  <johnp@redhat.com>
+
+       * dbus/dbus-sysdeps-util-unix.c (_dbus_write_pid_file):
+       use _dbus_close instead of close
+
 2006-09-14  John (J5) Palmieri  <johnp@redhat.com>
 
        * dbus/dbus-sysdeps.c: Add support for LOCAL_CREDS socket
index 9fc7645b1106b7e5d5baea3b5dc1c488b7cd0bfd..6898acf5b909712a74c5c9e1625af78f6f50e58e 100644 (file)
@@ -210,7 +210,7 @@ _dbus_write_pid_file (const DBusString *filename,
     {
       dbus_set_error (error, _dbus_error_from_errno (errno),
                       "Failed to fdopen fd %d: %s", fd, _dbus_strerror (errno));
-      close (fd);
+      _dbus_close (fd);
       return FALSE;
     }