Marcel Taeumel uploaded a new version of VMMaker to project VM Maker: http://source.squeak.org/VMMaker/VMMaker.oscog-mt.3179.mcz
==================== Summary ====================
Name: VMMaker.oscog-mt.3179 Author: mt Time: 11 April 2022, 2:17:27.587592 pm UUID: c6fbcb07-2a19-ed4f-8b40-9c119a70882a Ancestors: VMMaker.oscog-mt.3178
Make default file-out encoding explicit and thus more robust.
=============== Diff against VMMaker.oscog-mt.3178 ===============
Item was changed: ----- Method: VMMaker class>>fileNamed: (in category 'file utilities') ----- fileNamed: aFilename + "Always output files in utf-8 and unix lf format. - "Always output files in unix lf format. A single format is friendlier to e.g. external version control systems. The Microsoft and old MacOS classic C compilers all accept lf format files."
^(MultiByteFileStream fileNamed: aFilename) + converter: UTF8TextConverter new; lineEndConvention: #lf; yourself!
Item was changed: ----- Method: VMMaker class>>forceNewFileNamed: (in category 'file utilities') ----- forceNewFileNamed: aFilename + "Always output files in utf-8 and unix lf format. - "Always output files in unix lf format. A single format is friendlier to e.g. external version control systems. The Microsoft and old MacOS classic C compilers all accept lf format files."
^(MultiByteFileStream forceNewFileNamed: aFilename) + converter: UTF8TextConverter new; lineEndConvention: #lf; yourself!
Item was changed: ----- Method: VMMaker class>>oldFileNamed: (in category 'file utilities') ----- oldFileNamed: aFilename + "Always output files in utf-8 and unix lf format. - "Always output files in unix lf format. A single format is friendlier to e.g. external version control systems. The Microsoft and old MacOS classic C compilers all accept lf format files."
^(MultiByteFileStream oldFileNamed: aFilename) + converter: UTF8TextConverter new; lineEndConvention: #lf; yourself!
Note that this also fixes the line-ending issue in #generateSpur64LeakChecker and #generateSpur32LeakChecker but so does the most recent Squeak Trunk.
Best, Marcel Am 11.04.2022 14:18:07 schrieb commits@source.squeak.org commits@source.squeak.org:
Marcel Taeumel uploaded a new version of VMMaker to project VM Maker: http://source.squeak.org/VMMaker/VMMaker.oscog-mt.3179.mcz
==================== Summary ====================
Name: VMMaker.oscog-mt.3179 Author: mt Time: 11 April 2022, 2:17:27.587592 pm UUID: c6fbcb07-2a19-ed4f-8b40-9c119a70882a Ancestors: VMMaker.oscog-mt.3178
Make default file-out encoding explicit and thus more robust.
=============== Diff against VMMaker.oscog-mt.3178 ===============
Item was changed: ----- Method: VMMaker class>>fileNamed: (in category 'file utilities') ----- fileNamed: aFilename + "Always output files in utf-8 and unix lf format. - "Always output files in unix lf format. A single format is friendlier to e.g. external version control systems. The Microsoft and old MacOS classic C compilers all accept lf format files."
^(MultiByteFileStream fileNamed: aFilename) + converter: UTF8TextConverter new; lineEndConvention: #lf; yourself!
Item was changed: ----- Method: VMMaker class>>forceNewFileNamed: (in category 'file utilities') ----- forceNewFileNamed: aFilename + "Always output files in utf-8 and unix lf format. - "Always output files in unix lf format. A single format is friendlier to e.g. external version control systems. The Microsoft and old MacOS classic C compilers all accept lf format files."
^(MultiByteFileStream forceNewFileNamed: aFilename) + converter: UTF8TextConverter new; lineEndConvention: #lf; yourself!
Item was changed: ----- Method: VMMaker class>>oldFileNamed: (in category 'file utilities') ----- oldFileNamed: aFilename + "Always output files in utf-8 and unix lf format. - "Always output files in unix lf format. A single format is friendlier to e.g. external version control systems. The Microsoft and old MacOS classic C compilers all accept lf format files."
^(MultiByteFileStream oldFileNamed: aFilename) + converter: UTF8TextConverter new; lineEndConvention: #lf; yourself!
vm-dev@lists.squeakfoundation.org