Linker advises not to use tmpnam:
yanet-builder meson compile -C build_autotest shows
":(.text+0x2761): warning: the use of tmpnam is dangerous, better use mkstemp "
Introduce function to get tmp file path based on current time.
I.e we went from: "/tmp/filecQmvY8.pcap" to "/tmp/file1712574386700751477.pcap"
Linker advises not to use tmpnam::(.text+0x2761): warning: the use of
yanet-builder meson compile -C build_autotest
shows "tmpnam
is dangerous, better usemkstemp
"Introduce function to get tmp file path based on current time. I.e we went from: "/tmp/filecQmvY8.pcap" to "/tmp/file1712574386700751477.pcap"