On Fri, Mar 25, 2011 at 14:33, Holger Hans Peter Freyther <[email protected]> wrote: > On 03/25/2011 01:08 PM, Paolo Bonzini wrote: > >> The correct #ifFail: would probably be to check errno. >> >> We should also look for cases where raising an exception is appropriate >> instead of calling the failure block. > > When the fileOp primitive fails we still go through File>>#checkError to at > least check the errno. This means that in this case the errno was not set, I > agree that it would be nice to know how the read has failed but the problem is > hard to reproduce (and means dropping out of vpn).
Are you sure the problem isn't in the arguments to #nextAvailable:? Paolo _______________________________________________ help-smalltalk mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-smalltalk
