Module Name: src
Committed By: martin
Date: Thu Feb 20 14:42:30 UTC 2020
Modified Files:
src/lib/libdm [netbsd-9]: libdm_ioctl.c
Log Message:
Pull up following revision(s) (requested by riastradh in ticket #713):
lib/libdm/libdm_ioctl.c: revision 1.4
Let's not write temporary files to fixed paths in /tmp, shall we?
XXX pullup
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.3.2.1 src/lib/libdm/libdm_ioctl.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/lib/libdm/libdm_ioctl.c
diff -u src/lib/libdm/libdm_ioctl.c:1.3 src/lib/libdm/libdm_ioctl.c:1.3.2.1
--- src/lib/libdm/libdm_ioctl.c:1.3 Thu Dec 27 14:05:54 2018
+++ src/lib/libdm/libdm_ioctl.c Thu Feb 20 14:42:30 2020
@@ -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);