Wireshark mailing list archives
localtime_r() in gtk/timeshift_dlg.c
From: Gisle Vanem <gisle.vanem () gmail com>
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 ___________________________________________________________________________ Sent via: Wireshark-dev mailing list <wireshark-dev () wireshark org> Archives: http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-request () wireshark org?subject=unsubscribe
Current thread:
- localtime_r() in gtk/timeshift_dlg.c Gisle Vanem (Aug 16)
- Re: localtime_r() in gtk/timeshift_dlg.c Stig Bjørlykke (Aug 16)
- Re: localtime_r() in gtk/timeshift_dlg.c Gisle Vanem (Aug 16)
- Re: localtime_r() in gtk/timeshift_dlg.c Jakub Zawadzki (Aug 16)
- Re: localtime_r() in gtk/timeshift_dlg.c Gisle Vanem (Aug 16)
- Re: localtime_r() in gtk/timeshift_dlg.c Gerald Combs (Aug 16)
- Re: localtime_r() in gtk/timeshift_dlg.c Guy Harris (Aug 16)
- Re: localtime_r() in gtk/timeshift_dlg.c Gisle Vanem (Aug 16)
- Re: [Wireshark-dev] localtime_r() in gtk/timeshift_dlg.c Edwin Groothuis (Aug 17)
- Re: localtime_r() in gtk/timeshift_dlg.c Stig Bjørlykke (Aug 16)