On Tue, Jan 25, 2000 at 01:01:26PM -0500, Edson Pereira wrote:
> Can someone point me to the sources of sattrack-3.1.6 or 3.1.7? Also, in a
> previous message there was a mention of a patch for the y2k issue. Where
> can I find the patch?

You can download my DEBs or RPMs converted from the DEBs at
ftp://ftp.rising.com.au/pub/hamish/

Whether or not you'll like my arrangement with the keps is another thing.
I'm not even sure I like it myself.

I don't think there is a 3.1.7 -- only 3.1.6. Here's the Y2K patch
if you want to build it from source. It's from Rob Janssen.


Hamish

diff -cr SatTrack-orig/src/sattrack/sattime.c SatTrack/src/sattrack/sattime.c
*** SatTrack-pe1chl/src/sattrack/sattime.c      Sat Jan  4 22:19:08 1997
--- SatTrack/src/sattrack/sattime.c     Sat Jan  1 14:19:51 2000
***************
*** 269,275 ****
      if (gdnY < 50)                  /* allow 4 or 2 digit year specifications */
          gdnY += 2000;
      else
!         if (gdnY < 100)
              gdnY += 1900;
  
      result = (long) ((((gdnY-1901)*1461) >> 2) + monthDays[gdnM-1] + gdnD+365);
--- 269,275 ----
      if (gdnY < 50)                  /* allow 4 or 2 digit year specifications */
          gdnY += 2000;
      else
!         if (gdnY < 200)
              gdnY += 1900;
  
      result = (long) ((((gdnY-1901)*1461) >> 2) + monthDays[gdnM-1] + gdnD+365);

-- 
Hamish Moffatt       Mobile: +61 412 011 176     [EMAIL PROTECTED]
Rising Software Australia Pty. Ltd.    http://www.risingsoftware.com/
Phone: +61 3 9894 4788    Fax: +61 3 9894 3362    USA: 1 888 667 7839

Reply via email to