Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libdm Let's not write temporary files to fixed paths in ...



details:   https://anonhg.NetBSD.org/src/rev/4f0a0cdd2e5f
branches:  trunk
changeset: 969330:4f0a0cdd2e5f
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sat Feb 15 22:55:22 2020 +0000

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

XXX pullup

diffstat:

 lib/libdm/libdm_ioctl.c |  2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r aacec715a020 -r 4f0a0cdd2e5f lib/libdm/libdm_ioctl.c
--- a/lib/libdm/libdm_ioctl.c   Sat Feb 15 19:03:15 2020 +0000
+++ b/lib/libdm/libdm_ioctl.c   Sat Feb 15 22:55:22 2020 +0000
@@ -171,14 +171,12 @@
        }
        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);



Home | Main Index | Thread Index | Old Index