Short: Bugfixed c:version command Author: Urs Eprecht Uploader: fsteinfe iiic ethz ch (Frederic Steinfels) Type: util/shell Version: 40.1 Architecture: m68k-amigaos 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