Levente Uzonyi uploaded a new version of Kernel to project The Trunk:
http://source.squeak.org/trunk/Kernel-ul.340.mcz==================== Summary ====================
Name: Kernel-ul.340
Author: ul
Time: 22 December 2009, 8:11:40 am
UUID: d012b8cc-226a-6a48-b920-543e38da2e2f
Ancestors: Kernel-ar.339
- fix CompiledMethodTrailer >> #decodeZip (by Igor)
=============== Diff against Kernel-ar.339 ===============
Item was changed:
----- Method: CompiledMethodTrailer>>decodeZip (in category 'private') -----
decodeZip
"data := <trailer> unzip utf8ToSqueak"
+ | len bytes |
- | len |
len := self decodeLengthField.
+ bytes := ByteArray new: len.
+ 1 to: len do: [ :i |
+ bytes at: i put: (method at: method size - size + i) ].
+
+ data := (ZipReadStream on: bytes) contents asString convertFromEncoding: 'utf8'!
-
- data := (ZipReadStream on: method from: method size - size+1 to: method size - size + len) contents asString convertFromEncoding: 'utf8'.
-
- !