home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Club Amiga de Montreal - CAM
/
CAM_CD_1.iso
/
files
/
182.lha
/
ARexxCron
/
datebug.txt
next >
Wrap
Text File
|
1988-04-28
|
3KB
|
82 lines
Here is part of the article from USENET that describes the patch
for the bug in DATE(). I have deleted the C program and uuencode,
because I am not sure of their integrity, to reduce the size of
this archive, and because the patch is so small that it is easier
to just zap the file manually.
...Bob Rethemeyer
=================================================================
Subject: AREXX v1.06 DATE() patch
From: lfk@amdahl.uts.amdahl.com (Lynn Kerby)
Date: 2 Aug 88 07:22:07 GMT
What follows is a shell archive that contains a patch to correct
a problem in the Arexx date() function. This patch will only
apply to the version of rexxsyslib.library that came out with the
v1.06 upgrade.
Now comes my turn to put in a plug for ARexx! Not only is the
program great, but support is outstanding - everytime I have
called the author, he was very helpful in getting the the fix
into my hands. In this case, I decided to do him a favor and
post the program I wrote to patch the library.
Watch out for the signature at the end and feed this to /bin/sh.
Lynn Kerby
lfk@uts.amdahl.com
--------
#! /bin/sh
# This is a shell archive, meaning:
# 1. Remove everything above the #! /bin/sh line.
# 2. Save the resulting text in a file.
# 3. Execute the file with /bin/sh (not csh) to create:
# README
# rxpatch.c
# rxpatch.uue
# This archive created: Tue Aug 2 00:14:00 1988
# By: Lynn Kerby (Amdahl Corporation, Sunnyvale, CA)
export PATH; PATH=/bin:/usr/bin:$PATH
if test -f 'README'
then
echo shar: "will not over-write existing file 'README'"
else
cat << \SHAR_EOF > 'README'
This is a small program to patch (and unpatch if desired) the
rexxsyslib.library file for AREXX v1.06. It attempts to do
reasonable things on error, but doesn't go as far as it probably
could. If you are not running v1.06, do not try running the
patch program!!
The problem is that the new DATE() function doesn't understand
that people like to see dates like 31-jul-88 instead of 00-aug-88.
I called Bill Hawes and he said the change was pretty minor, so
I decided to try finding the code in rexxsyslib.library that
needed replacing.
If you don't feel like trusting my code, the change is pretty easy
to make using a filezap utility.
OFFSET 0x7c88
VER 0xb44064ee
REPL 0xb44062ee
(Using NewZAP, the mod goes at offset 0x88 in sector 63 of the file)
The program makes it a little easier. Syntax is rxpatch [-r]. The
-r option will remove the patch if you want to get rid of it.
All standard disclaimers apply, and please keep a copy of the old
rexxsyslib.library around in case something goes wrong!
*********************** TEDIOUS C PROGRAM AND UUENCODE REMOVED ***************
--
Lynn Kerby - Amdahl Corporation
Sunnyvale, CA
...amdahl!lfk
lfk@uts.amdahl.com
Disclaimer: Any and all opinions expressed herein are my own and do not
necessarily represent the views of anyone, especially my
employer.