[Top][All Lists]

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

Re: [Help-smalltalk] Re: Exception in the socket code

From: Paolo Bonzini
Subject: Re: [Help-smalltalk] Re: Exception in the socket code
Date: Sat, 26 Mar 2011 11:25:47 +0100
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20101209 Fedora/3.1.7-0.35.b3pre.fc14 Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.7

On 03/26/2011 11:23 AM, Holger Hans Peter Freyther wrote:
On 03/26/2011 11:11 AM, Paolo Bonzini wrote:

Yes, your original idea of returning 0 now is correct.  checkError will return
0 for you:

What about the following?

+                    ifFail: [self checkError].

                ifFail: [SystemExceptions.EndOfStream signalOn: self]
what do you think?

What about changing ^0 to "self pastEnd. ^0" in checkError?


reply via email to

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