{#} Replies are directed back to [EMAIL PROTECTED]
{#} To reply to the author, write to Jason Townsend <[EMAIL PROTECTED]>
on 2/17/02 6:58 PM, Jason Townsend <[EMAIL PROTECTED]> wrote:
> Looks like the notification which would cause a reconnect/update of the UI
> is not getting sent in the SIGPIPE case. Here's a guess at what the fix
> would be:
>
> Index: Yahoo/YahooCFunctions.m
> ===================================================================
> RCS file: /cvsroot/fire/fire/Yahoo/YahooCFunctions.m,v
> retrieving revision 1.10
> diff -u -r1.10 YahooCFunctions.m
> --- Yahoo/YahooCFunctions.m 27 Jan 2002 00:25:13 -0000 1.10
> +++ Yahoo/YahooCFunctions.m 17 Feb 2002 21:11:27 -0000
> @@ -423,4 +424,5 @@
> {
> printf("Lost connection to server (SIGPIPE).\n");
> printf("This will be handled better in a future version.\n");
> + [[YahooCommunicationController sharedInstance] disconnected];
> }
>
> I haven't tried this out yet however.
OK, this isn't the right fix. With my change in the next time I got the
SIGPIPE Fire crashed instead of just disconnecting Yahoo. The real fix is
probably to post an event or something since certain operations are not safe
inside a signal handler.
-Jason
--
<http://homepage.mac.com/townsend/>
"I have an existential map; it has 'you are here' written all over it."
- Steven Wright
{#} ----------------------------------------------------+[ fire ]+---