Ethereal-dev: Re: [Ethereal-dev] [PATCH] Flush tethereal capture file if FIFO

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

From: Guy Harris <gharris@xxxxxxxxx>
Date: Fri, 28 Jun 2002 02:57:33 -0700
On Sun, Jun 23, 2002 at 01:37:33PM -0700, Guy Harris wrote:
> BTW, several people have reported that if you try to ^C out of Tethereal
> on Windows, it (Tethereal) crashes; I think the problem is that the
> "longjmp()" fails - I don't know why that happens.

It happens because signal handlers and control-C event handlers execute
in a separate thread on Windows, so you *can't* just "longjmp()" in the
signal handler.

I've checked in a fix.