Let's not write temporary files to fixed paths in /tmp, shall we?

XXX pullup
This commit is contained in:
riastradh 2020-02-15 22:55:22 +00:00
parent defa864ee7
commit 57d4369975
1 changed files with 0 additions and 2 deletions

View File

@ -171,14 +171,12 @@ libdm_task_run(libdm_task_t libdm_task)
}
dict = prop_dictionary_internalize(prefp.pref_plist);
#else
prop_dictionary_externalize_to_file(libdm_task->ldm_task, "/tmp/libdm_in");
error = prop_dictionary_sendrecv_ioctl(libdm_task->ldm_task,
libdm_control_fd, NETBSD_DM_IOCTL, &dict);
if ( error != 0) {
libdm_control_close(libdm_control_fd);
return error;
}
prop_dictionary_externalize_to_file(dict, "/tmp/libdm_out");
#endif
libdm_control_close(libdm_control_fd);