[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-smalltalk] Re: closing a socket when using NetServer.st
From: |
Paolo Bonzini |
Subject: |
Re: [Help-smalltalk] Re: closing a socket when using NetServer.st |
Date: |
Tue, 30 Dec 2008 16:15:54 +0100 |
User-agent: |
Thunderbird 2.0.0.18 (Macintosh/20081105) |
Stephen wrote:
>
>> Can you try this patch?
>>
>> diff --git a/libgst/cint.c b/libgst/cint.c
>> index 931aa86..f5e8451 100644
>> --- a/libgst/cint.c
>> +++ b/libgst/cint.c
>> @@ -269,7 +269,8 @@ get_errno (void)
>> the primitive still fails and the file/socket is closed by the
>> Smalltalk code. */
>> if (old == ESHUTDOWN || old == ECONNRESET
>> - || old == ECONNABORTED || old == ENETRESET)
>> + || old == ECONNABORTED || old == ENETRESET
>> + || old == EPIPE)
>> return 0;
>> else
>> return (old);
>>
>
> Well done, you got it. That did the trick and no errors now on the echo
> server or my script.
Thanks, pushed.
Paolo