[PATCH] Fix use of _dbus_make_file_world_readable.
Marcus Brinkmann
marcus.brinkmann at ruhr-uni-bochum.de
Mon Sep 6 06:50:16 PDT 2010
---
dbus/dbus-file-win.c | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/dbus/dbus-file-win.c b/dbus/dbus-file-win.c
index 53a3fc5..8b858b0 100644
--- a/dbus/dbus-file-win.c
+++ b/dbus/dbus-file-win.c
@@ -275,7 +275,10 @@ _dbus_string_save_to_file (const DBusString *str,
goto out;
}
if (world_readable)
- _dbus_make_file_world_readable (tmp_filename_c);
+ {
+ if (! _dbus_make_file_world_readable (tmp_filename, error))
+ goto out;
+ }
_dbus_verbose ("tmp file %s hnd %p opened\n", tmp_filename_c, hnd);
--
1.7.0.4
--------------080109090705070604000406--
More information about the dbus
mailing list