Chris Muller uploaded a new version of Files to project The Trunk:
http://source.squeak.org/trunk/Files-cmm.155.mcz==================== Summary ====================
Name: Files-cmm.155
Author: cmm
Time: 20 May 2016, 3:29:53.0841 pm
UUID: 2d1395ee-9f47-47f6-91f5-dbd18af891e7
Ancestors: Files-ul.154
Fix ability to load OSProcess after recent mode-conversion changes.
=============== Diff against Files-ul.154 ===============
Item was changed:
----- Method: StandardFileStream>>ascii (in category 'properties-setting') -----
ascii
+ "Read and/or write in ASCII mode."
+ buffer1
+ ifNil: [ buffer1 := ByteString new: 1 ]
+ ifNotNil: [ ByteString adoptInstance: buffer1 ].
- "opposite of binary"
-
- ByteString adoptInstance: buffer1.
collection ifNotNil: [ ByteString adoptInstance: collection ].
+ lastWritten ifNotNil:
+ [ lastWritten isInteger ifTrue: [ lastWritten := lastWritten asCharacter ] ]!
- lastWritten ifNotNil: [lastWritten isInteger ifTrue: [lastWritten := lastWritten asCharacter]]!
Item was changed:
----- Method: StandardFileStream>>binary (in category 'properties-setting') -----
binary
+ "Read and/or write in binary mode."
+ buffer1
+ ifNil: [ buffer1 := ByteArray new: 1 ]
+ ifNotNil: [ ByteArray adoptInstance: buffer1 ].
-
- ByteArray adoptInstance: buffer1.
collection ifNotNil: [ ByteArray adoptInstance: collection ].
+ lastWritten ifNotNil:
+ [ lastWritten isCharacter ifTrue: [ lastWritten := lastWritten asInteger ] ]!
- lastWritten ifNotNil: [lastWritten isCharacter ifTrue: [lastWritten := lastWritten asInteger]]!