Use g_file_open_tmp within create_tempfile
authorMichael Mann <mmann78@netscape.net>
Sun, 1 Sep 2019 18:37:38 +0000 (14:37 -0400)
committerRoland Knall <rknall@gmail.com>
Fri, 20 Dec 2019 19:26:38 +0000 (19:26 +0000)
commit2925fb0850ee3ab005dd02d69994390827c2e008
tree94813abb14d09312998be4ac497302fb32ddb7f7
parentc247a8351f4d2be224e8cc424e104d8823450f5d
Use g_file_open_tmp within create_tempfile

Much better to use a known library than create it ourselves.

Also remove get_tempfile_path as it's not used.

Bug: 15992
Change-Id: I17b9bd879e8bdb540f79db83c6c138f8ee724764
Reviewed-on: https://code.wireshark.org/review/34420
Reviewed-by: Tomasz Moń <desowin@gmail.com>
Petri-Dish: Tomasz Moń <desowin@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Roland Knall <rknall@gmail.com>
debian/libwsutil0.symbols
dumpcap.c
extcap.c
file.c
ui/export_pdu_ui_utils.c
ui/qt/endpoint_dialog.cpp
wiretap/file_access.c
wiretap/nettrace_3gpp_32_423.c
wsutil/tempfile.c
wsutil/tempfile.h