projects
/
platform
/
upstream
/
dbus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
81839c9
)
Fix use of _dbus_make_file_world_readable.
author
Marcus Brinkmann
<marcus.brinkmann@ruhr-uni-bochum.de>
Mon, 6 Sep 2010 13:50:16 +0000
(15:50 +0200)
committer
Ralf Habacker
<ralf.habacker@freenet.de>
Wed, 8 Sep 2010 14:19:01 +0000
(16:19 +0200)
dbus/dbus-file-win.c
patch
|
blob
|
history
diff --git
a/dbus/dbus-file-win.c
b/dbus/dbus-file-win.c
index
53a3fc5
..
8b858b0
100644
(file)
--- 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);