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/9b27739d67f5
branches:  trunk
changeset: 744890:9b27739d67f5
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 4b7b11002cb8 -r 9b27739d67f5 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