ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
July 17th, 2024 | 10:00am-11:55am SGT (UTC+8) | Online

Wireshark-dev: [Wireshark-dev] localtime_r() in gtk/timeshift_dlg.c

From: Gisle Vanem <gisle.vanem@xxxxxxxxx>
Date: Tue, 16 Aug 2011 00:17:10 +0200
This:
 #ifdef _MSC_VER
 #define localtime_r(a, b) memcpy((b), localtime((a)), sizeof(struct tm));
 #endif

doesn't look so safe. We should maybe use the localtime_r() in
wsutil/strptime.c?

--gv