Hi,
I'm wondering, why within dumpcap the ifdef _WIN32 is handle in 2 different
ways within the same source file or - OTOH - should the patch below be
applied ? :
tfoerste@n22 ~/devel/wireshark $ svn diff --diff-cmd diff dumpcap.c
Index: dumpcap.c
===================================================================
--- dumpcap.c (revision 27209)
+++ dumpcap.c (working copy)
@@ -2332,10 +2332,9 @@
#ifdef _WIN32
WSADATA wsaData;
-#endif /* _WIN32 */
-#ifndef _WIN32
+#else
struct sigaction action, oldaction;
-#endif
+#endif /* _WIN32 */
gboolean start_capture = TRUE;
gboolean stats_known;
--
MfG/Sincerely
Toralf Förster
pgp finger print: 7B1A 07F4 EC82 0F90 D4C2 8936 872A E508 7DB6 9DA3
Attachment:
signature.asc
Description: This is a digitally signed message part.