[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-smalltalk] What is supposed to happen when upToAll: hits the
From: |
Paolo Bonzini |
Subject: |
Re: [Help-smalltalk] What is supposed to happen when upToAll: hits the end of stream? |
Date: |
Fri, 21 May 2010 18:30:00 +0200 |
On Fri, May 21, 2010 at 18:21, Rick Flower <address@hidden> wrote:
> On Fri, 21 May 2010 09:16:13 +0200, Paolo Bonzini <address@hidden> wrote:
>
>> After actually debugging it, the bug is in pipes. The following patch
>> fixes it, though I am committing another one that gets rid of the
>> "atEnd" instance variable completely.
>>
>> diff --git a/kernel/FileDescr.st b/kernel/FileDescr.st
>> index 8f1d23f..54c29e2 100644
>> --- a/kernel/FileDescr.st
>> +++ b/kernel/FileDescr.st
>> @@ -740,7 +740,7 @@ do arbitrary processing on the files.'>
>> <category: 'initialize-release'>
>> self addToBeFinalized.
>> access isNil ifTrue: [access := 3].
>> - atEnd := false
>> + atEnd := nil
>> ]
>
> Thanks Paolo! I tried changing the one line above in my 3.2
> version of FileDescr.st and rebuilt.. However, now streams appear
> to be completely broken.. Is there another piece to the puzzle
> perhaps?
No idea, I tested it very lightly. Keep an eye on the repository.
Paolo
- [Help-smalltalk] What is supposed to happen when upToAll: hits the end of stream?, Rick Flower, 2010/05/20
- Re: [Help-smalltalk] What is supposed to happen when upToAll: hits the end of stream?, Paolo Bonzini, 2010/05/20
- Re: [Help-smalltalk] What is supposed to happen when upToAll: hits the end of stream?, Rick Flower, 2010/05/21
- Re: [Help-smalltalk] What is supposed to happen when upToAll: hits the end of stream?, Paolo Bonzini, 2010/05/21
- Re: [Help-smalltalk] What is supposed to happen when upToAll: hits the end of stream?, Rick Flower, 2010/05/21
- Re: [Help-smalltalk] What is supposed to happen when upToAll: hits the end of stream?,
Paolo Bonzini <=
- [Help-smalltalk] Re: What is supposed to happen when upToAll: hits the end of stream?, Paolo Bonzini, 2010/05/23
- [Help-smalltalk] Re: What is supposed to happen when upToAll: hits the end of stream?, Rick Flower, 2010/05/24
- [Help-smalltalk] Re: What is supposed to happen when upToAll: hits the end of stream?, Paolo Bonzini, 2010/05/25