[BUG] DVS cross-platform file error
Julian Fitzell
julian at beta4.com
Tue May 6 00:34:31 UTC 2003
Avi Bryant wrote:
> On Mon, 5 May 2003, Julian Fitzell wrote:
>
>
>>Mmm... how do we fix it though? The FileSelector returns a stream on
>>the file so you can't get a CrLfFileStream after that. I guess we could
>>manually do our own processing of the line endings...
>>
>>What did you have in mind as the obvious fix?
>
>
> Well, unless someone has a better idea, couldn't we just do:
>
> CrLfFileStream fileNamed: stdFileStream fullName
Well, duh :) Somehow it escaped my mind that the file stream had the
file name... yes, that would work as an immediate fix. Though I still
think the file selector should be able to return something more general
than a StandardFileStream in the long-run.
Julian
More information about the Squeak-dev
mailing list
|