[Pkg] Installer: Installer-Core-ar.291.mcz
squeak-dev-noreply at lists.squeakfoundation.org
squeak-dev-noreply at lists.squeakfoundation.org
Sun Feb 15 06:56:53 UTC 2009
A new version of Installer-Core was added to project Installer:
http://www.squeaksource.com/Installer/Installer-Core-ar.291.mcz
==================== Summary ====================
Name: Installer-Core-ar.291
Author: ar
Time: 14 February 2009, 10:56:46 pm
UUID: 00efb748-118a-2441-801f-991bfed8253a
Ancestors: Installer-Core-kph.290
Another try at saving the fix for the zero-byte stream BOM test.
=============== Diff against Installer-Core-kph.290 ===============
Item was changed:
----- Method: Installer>>installDefault:from: (in category 'mantis') -----
installDefault: aFileName from: stream
"Check for UTF-8 input before filing it in"
| pos bom |
pos := stream position.
bom := stream next: 3.
+ (bom size = 3
+ and:[(bom at: 1) asInteger = 16rEF]
- ((bom at: 1) asInteger = 16rEF
and:[(bom at: 2) asInteger = 16rBB]
and:[(bom at: 3) asInteger = 16rBF])
ifTrue:[(RWBinaryOrTextStream on: stream upToEnd utf8ToSqueak) fileIn]
ifFalse:[stream position: pos; fileIn]
!
More information about the Packages
mailing list