home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Dream 49
/
Amiga_Dream_49.iso
/
amiga
/
workbench
/
commodoties
/
version.readme
< prev
next >
Wrap
Text File
|
1998-02-11
|
1KB
|
66 lines
Short: Bugfixed c:version command
Author: Urs Eprecht
Uploader: fsteinfe@iiic.ethz.ch (Frederic Steinfels)
Version: 40.1
Type: util/shell
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