Subj : REDATE2.ZIP
To   : andrew clarke
From : Gerald Miller
Date : Thu Oct 24 2002 08:34 pm

Hello Andrew,

   On Thursday October 24 2002 at 14:56,
   Andrew Clarke [3:633/285.4] wrote to Gerald Miller,
   about:  REDATE2.ZIP

>> I would suggest that you locate the REDATE2.ZIP archive, because if
>> you're proficient at programming with C, the code is in the archive.
>> Currently, it fixes the date for PAK, ZIP, ARJ and LZH files.

AC> I missed the "C source code available" on the first read!  As it turns
AC> out, the source code is very DOS-specific, and not portable, so a lot
AC> of work is needed there, but you could then have a version that worked
AC> natively under Windows/UNIX (that would support long file names for
AC> eg.).

OS/2 would be nice, also.   :-))))

>> Now, if someone could fix the Y2K bug in the code.....

AC> Resetting file date on TEST.ZIP to 10/24/102  14:57:50

AC> Is that the only Y2K bug?  Just a display issue?  That's all I
AC> noticed.  I changed line 106 of redate.c to read:

((mbrdate >>> YEAR_SHIFT) + DOS_EPOCH) % 100,

AC> Resetting file date on TEST.ZIP to 10/24/02  14:57:50

AC> I assume you didn't want the century to show (like the old version).

Century is not necessary as I don't believe it's really required.  "Like the
old version"???  The redate version that I have does not show the century when
"Resetting file date on ...."; only the last two figures of the year!  ???

AC> You can download the new source + executable from

AC> http://homepages.ihug.com.au/~ozzmosis/redate2/

Thank you.  I'll have to get a friend to scoop it.  I won't have my INet
connection up until the middle of next month (at the latest).....

Just curious....  I created an ARJ archive today, with the switches that set
archive date to newest date in archive (1991), then I touched it with today's
date.  Ran REDATE (my Y2K "bug" version) on the archive - I'm almost positive
that REDATE sets the date on ARJ archives to the "time of creation" and not to
that of the newest file in the archive.  Can you verify this behavior?

          Cheers ... Gerald

... Go ahead, make yourself at home... you can start by doing the dishes.
--- GoldED+/386 v1.1.5-21011
* Origin: Young at heart.  Slightly older in other areas. (1:342/512)