Ethereal-dev: Re: [ethereal-dev] Possible crash problem in file.c

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Ben Fowler <wapdev@xxxxxxxxxxxx>
Date: Wed, 28 Jun 2000 18:43:09 +0100
At 06:01 AM 6/27/00, Guy Harris wrote:
On Sun, Jun 25, 2000 at 10:32:06PM +0100, Ben Fowler wrote:
> Unless there is an obvious way to get that routine to bail out, it
> might be a good idea to have file_quit_cmd_cb() stuff a suitable
> USER_CANCELLED_READ value in the capture_file structure,
> and have the read routine check this whenever it receives
> control back from the event loop.

Unfortunately, that means the only way to abort the reading of a capture
file is to quit Ethereal; one might want to abort it but still have
Ethereal running, so that one could, say, open another file instead.

I had no intention of making this the only way of aborting a file read.
My problem was that when one did quit ethereal is was possible for
Bad Things (tm) to happen.


Ben.


--
Leedsnet - The information resource for Leeds and the West Riding
< URL:http://www.leedsnet.com/mobile/ >