Bugfixed c:version command
- Size
- 10K (10,352 bytes)
- Added
- 2026-11-20 17:29
- Downloads
- 1
- Long Description
- TITLE Version VERSION 40.1 (bug removed) AUTHOR Urs Eprecht EMail: not yet (but you can EMail to me: fsteinfe@iiic.ethz.ch) DESCRIPTION This is a patch/replacement for the original c:version command. It had a nasty bug: If the last four bytes of a file contained a $ sign, the version command went into an endless loop. The new version command contains a work aournd for this problem: It internally reduces the file size by four bytes. This is save as the last four bytes can't contain a complete version string. The workaround code requires 14 bytes. They were gained by shortening the text: "This disk requires Kickstart version 2.04 or greater" to "Kickstart 2.04 or greater required" This was much easier than increasing the file size. USAGE To apply the patch, enter spatch -oc:version.new -pversion.pch c:version rename c:version c:version.old rename c:version.new c:versioin SPECIAL REQUIREMENTS Required: c:version command with the size of 4764 bytes and version number 40.1 AVAILABILITY Aminet ftp://ftp.wustl.edu/aminet/util/shell/version.lha PRICE Free DISTRIBUTABILITY Distributed as freeware. The version command is Copyrigth by the owner of AmigaOS The patch is Copyright by Urs Eprecht
- SHA-256
ec753e5256a4fa49f1de55500650e118191d00dcc27e220a39f2a3d2c0a6dc95