[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-smalltalk] Re: closing a socket when using

From: Stephen
Subject: Re: [Help-smalltalk] Re: closing a socket when using
Date: Wed, 31 Dec 2008 00:17:03 +1300
User-agent: Thunderbird (Macintosh/20081105)

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;
     return (old);

Well done, you got it. That did the trick and no errors now on the echo
server or my script.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]