home *** CD-ROM | disk | FTP | other *** search
/ Dream 49 / Amiga_Dream_49.iso / amiga / workbench / commodoties / version.readme < prev    next >
Text File  |  1998-02-11  |  1KB  |  66 lines

  1. Short:    Bugfixed c:version command
  2. Author:   Urs Eprecht
  3. Uploader: fsteinfe@iiic.ethz.ch (Frederic Steinfels)
  4. Version:  40.1
  5. Type:     util/shell
  6.  
  7. TITLE
  8.  
  9.    Version
  10.  
  11. VERSION
  12.  
  13.    40.1  (bug removed)
  14.  
  15. AUTHOR
  16.  
  17.    Urs Eprecht
  18.    
  19.    EMail: not yet (but you can EMail to me: fsteinfe@iiic.ethz.ch)
  20.  
  21. DESCRIPTION
  22.  
  23.    This is a patch/replacement for the original c:version command.
  24.    It had a nasty bug: If the last four bytes of a file contained
  25.    a $ sign, the version command went into an endless loop.
  26.    The new version command contains a work aournd for this
  27.    problem: It internally reduces the file size by four bytes.
  28.    This is save as the last four bytes can't contain a complete
  29.    version string.
  30.    The workaround code requires 14 bytes. They were gained by
  31.    shortening the text: 
  32.      "This disk requires Kickstart version 2.04 or greater"
  33.    to
  34.      "Kickstart 2.04 or greater required"
  35.    This was much easier than increasing the file size.
  36.  
  37. USAGE
  38.  
  39.    To apply the patch, enter
  40.    
  41.    spatch -oc:version.new -pversion.pch c:version
  42.    rename c:version c:version.old
  43.    rename c:version.new c:versioin
  44.    
  45. SPECIAL REQUIREMENTS
  46.  
  47.    Required:
  48.       c:version command with the size of 4764 bytes and version
  49.       number 40.1
  50.  
  51. AVAILABILITY
  52.  
  53.    Aminet
  54.      ftp://ftp.wustl.edu/aminet/util/shell/version.lha
  55.  
  56. PRICE
  57.  
  58.    Free
  59.  
  60. DISTRIBUTABILITY
  61.  
  62.    Distributed as freeware.
  63.  
  64.    The version command is Copyrigth by the owner of AmigaOS
  65.    The patch is Copyright by Urs Eprecht
  66.