diff options
author | Gilbert Ramirez <gram@alumni.rice.edu> | 2000-02-02 18:38:52 +0000 |
---|---|---|
committer | Gilbert Ramirez <gram@alumni.rice.edu> | 2000-02-02 18:38:52 +0000 |
commit | 16fbabe46f06cd416663ff7b9ddb9d1dd2d222f5 (patch) | |
tree | c97f6d2bbe3b4d5eb1fe21cc4229a131aeacec13 /capture.c | |
parent | 9b937a183aa31e7690e3b1b88683240356c07de9 (diff) | |
download | wireshark-16fbabe46f06cd416663ff7b9ddb9d1dd2d222f5.tar.gz wireshark-16fbabe46f06cd416663ff7b9ddb9d1dd2d222f5.tar.bz2 wireshark-16fbabe46f06cd416663ff7b9ddb9d1dd2d222f5.zip |
Also listen for GDK_INPUT_EXCEPTION on the sync pipe. On Solaris 2.6
this is needed to get the last message from the pipe.
svn path=/trunk/; revision=1595
Diffstat (limited to 'capture.c')
-rw-r--r-- | capture.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,7 +1,7 @@ /* capture.c * Routines for packet capture windows * - * $Id: capture.c,v 1.93 2000/01/30 17:10:29 nneul Exp $ + * $Id: capture.c,v 1.94 2000/02/02 18:38:52 gram Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@zing.org> @@ -234,7 +234,7 @@ do_capture(char *capfile_name) to read from the sync pipe, so that it's called when the child process wants to tell us something. */ cap_input_id = gtk_input_add_full(sync_pipe[0], - GDK_INPUT_READ, + GDK_INPUT_READ|GDK_INPUT_EXCEPTION, cap_file_input_cb, NULL, (gpointer) &cf, @@ -468,7 +468,7 @@ cap_file_input_cb(gpointer data, gint source, GdkInputCondition condition) /* restore pipe handler */ cap_input_id = gtk_input_add_full (sync_pipe[0], - GDK_INPUT_READ, + GDK_INPUT_READ|GDK_INPUT_EXCEPTION, cap_file_input_cb, NULL, (gpointer) cf, |