[Vm-dev] VM Maker: ImageFormat-dtl.54.mcz

commits at source.squeak.org commits at source.squeak.org
Sat Jun 25 13:50:08 UTC 2022


David T. Lewis uploaded a new version of ImageFormat to project VM Maker:
http://source.squeak.org/VMMaker/ImageFormat-dtl.54.mcz

==================== Summary ====================

Name: ImageFormat-dtl.54
Author: dtl
Time: 25 June 2022, 9:50:07.52 am
UUID: 8a01d097-350c-48a7-9124-4fba1aa0e22f
Ancestors: ImageFormat-dtl.53

Fix an editing slip in ImageFileHeader class>>fromFile:

=============== Diff against ImageFormat-dtl.53 ===============

Item was changed:
  ----- Method: ImageFileHeader class>>fromFile: (in category 'instance creation') -----
  fromFile: imageFile
  	"Answer a new instance from a saved image file."
  
  	"ImageFileHeader fromFile: Smalltalk imageName"
  
  	| fs |
+ 	fs := (FileStream readOnlyFileNamed: imageFile) binary.
- 	fs := (FileStream readOnlyFileNamed: Smalltalk imageName) binary.
  	^ ([ImageFileHeader readFrom: fs] ensure: [fs close])
  !



More information about the Vm-dev mailing list