home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 182.lha / ARexxCron / datebug.txt next >
Text File  |  1988-04-28  |  3KB  |  82 lines

  1. Here is part of the article from USENET that describes the patch
  2. for the bug in DATE().  I have deleted the C program and uuencode,
  3. because I am not sure of their integrity, to reduce the size of
  4. this archive, and because the patch is so small that it is easier
  5. to just zap the file manually.
  6.                                     ...Bob Rethemeyer
  7.  
  8. =================================================================
  9.  
  10. Subject: AREXX v1.06 DATE() patch
  11. From: lfk@amdahl.uts.amdahl.com (Lynn Kerby)
  12. Date: 2 Aug 88 07:22:07 GMT
  13.  
  14. What follows is a shell archive that contains a patch to correct
  15. a problem in the Arexx date() function.  This patch will only
  16. apply to the version of rexxsyslib.library that came out with the
  17. v1.06 upgrade.
  18.  
  19. Now comes my turn to put in a plug for ARexx!  Not only is the
  20. program great, but support is outstanding - everytime I have
  21. called the author, he was very helpful in getting the the fix
  22. into my hands.  In this case, I decided to do him a favor and
  23. post the program I wrote to patch the library.
  24.  
  25. Watch out for the signature at the end and feed this to /bin/sh.
  26.  
  27.                                         Lynn Kerby
  28.                                         lfk@uts.amdahl.com
  29. --------
  30. #! /bin/sh
  31. # This is a shell archive, meaning:
  32. # 1. Remove everything above the #! /bin/sh line.
  33. # 2. Save the resulting text in a file.
  34. # 3. Execute the file with /bin/sh (not csh) to create:
  35. #       README
  36. #       rxpatch.c
  37. #       rxpatch.uue
  38. # This archive created: Tue Aug  2 00:14:00 1988
  39. # By:   Lynn Kerby (Amdahl Corporation, Sunnyvale, CA)
  40. export PATH; PATH=/bin:/usr/bin:$PATH
  41. if test -f 'README'
  42. then
  43.         echo shar: "will not over-write existing file 'README'"
  44. else
  45. cat << \SHAR_EOF > 'README'
  46.  
  47. This is a small program to patch (and unpatch if desired) the
  48. rexxsyslib.library file for AREXX v1.06.  It attempts to do
  49. reasonable things on error, but doesn't go as far as it probably
  50. could.  If you are not running v1.06, do not try running the
  51. patch program!!
  52.  
  53. The problem is that the new DATE() function doesn't understand
  54. that people like to see dates like 31-jul-88 instead of 00-aug-88.
  55. I called Bill Hawes and he said the change was pretty minor, so
  56. I decided to try finding the code in rexxsyslib.library that
  57. needed replacing.
  58.  
  59. If you don't feel like trusting my code, the change is pretty easy
  60. to make using a filezap utility.
  61. OFFSET  0x7c88
  62. VER     0xb44064ee
  63. REPL    0xb44062ee
  64. (Using NewZAP, the mod goes at offset 0x88 in sector 63 of the file)
  65.  
  66. The program makes it a little easier.  Syntax is rxpatch [-r].  The
  67. -r option will remove the patch if you want to get rid of it.
  68.  
  69. All standard disclaimers apply, and please keep a copy of the old
  70. rexxsyslib.library around in case something goes wrong!
  71.  
  72. *********************** TEDIOUS C PROGRAM AND UUENCODE REMOVED ***************
  73. --
  74.      Lynn Kerby  -  Amdahl Corporation
  75.                     Sunnyvale, CA
  76.                     ...amdahl!lfk
  77.                     lfk@uts.amdahl.com
  78.  
  79. Disclaimer: Any and all opinions expressed herein are my own and do not
  80.             necessarily represent the views of anyone, especially my
  81.             employer.
  82.