Searched refs:tmp_filename_c (Results 1 - 2 of 2) sorted by relevance
/external/dbus/dbus/ |
H A D | dbus-file-unix.c | 173 const char *tmp_filename_c; local 213 tmp_filename_c = _dbus_string_get_const_data (&tmp_filename); 215 fd = open (tmp_filename_c, O_WRONLY | O_BINARY | O_EXCL | O_CREAT, 220 "Could not create %s: %s", tmp_filename_c, 233 "Could not chmod %s: %s", tmp_filename_c, 256 "Could not write to %s: %s", tmp_filename_c, 269 tmp_filename_c, _dbus_strerror (errno)); 278 tmp_filename_c, _dbus_strerror (errno)); 285 if (rename (tmp_filename_c, filename_c) < 0) 289 tmp_filename_c, filename_ [all...] |
H A D | dbus-file-win.c | 221 const char *tmp_filename_c; local 262 tmp_filename_c = _dbus_string_get_const_data (&tmp_filename); 265 hnd = CreateFileA (tmp_filename_c, GENERIC_WRITE, 278 _dbus_make_file_world_readable (tmp_filename_c); 280 _dbus_verbose ("tmp file %s hnd %p opened\n", tmp_filename_c, hnd); 300 "Could not write to %s: %s", tmp_filename_c, emsg); 312 "Could not close file %s: %s", tmp_filename_c, emsg); 320 if (!MoveFileExA (tmp_filename_c, filename_c, MOVEFILE_REPLACE_EXISTING)) 325 tmp_filename_c, filename_c, emsg); 341 if (need_unlink && DeleteFileA (tmp_filename_c) [all...] |
Completed in 507 milliseconds