[BUG] Criticl MultiByteFileStream and StandardFileStream in 3.8g

Brent Pinkney brent.pinkney at aircom.co.za
Thu Feb 3 04:34:53 UTC 2005


Hi,

> On Wednesday 02 February 2005 1:46 am, Brent Pinkney wrote:
>> I have submitted some problems with MultiByteFileStream in 3.8 not  
>> being  
>> able to open on an image (.png).
>>
>> However if one reverts FileStream class>>concreteStream to  
>> StandardFileStream then the FileList cannot be used to open files as  
>> StandardFileStream does not implement #converter: and friends.
>>
>> This is a critical bug.
>
> Where are you noticing it?
>
> I can, for instance, open PNGs from the FileList.
> If you're reading from a stream of your own, you should call
> (some stream) converter: Latin1TextConverter new
> to kill off the text conversion.
> Yes, this is a pain.
> Have you looked for my various changes regarding this?
> I have recommended that we have a distinct set of open methods that do  
> this:
> readOnlyBinaryFileNamed:
> oldBinaryFileNamed:
> newBinaryFileNamed:
>
> etc.

I am noticing this if I set up Comanche to serve static pages and then try  
open a .png in a browser.

Brent



More information about the Squeak-dev mailing list