home *** CD-ROM | disk | FTP | other *** search
/ Source Code 1992 March / Source_Code_CD-ROM_Walnut_Creek_March_1992.iso / usenet / altsrcs / 2 / 2042 < prev    next >
Internet Message Format  |  1990-12-28  |  1KB

  1. From: dfs@doe.carleton.ca (David F. Skoll)
  2. Newsgroups: alt.sources
  3. Subject: REMIND 2.1 Patch 03
  4. Message-ID: <dfs.657928135@chekov>
  5. Date: 6 Nov 90 21:48:55 GMT
  6.  
  7. The following patch fixes a minor bug in REMIND 2.1.  This bug
  8. caused repeating reminders to be calculated incorrectly at times.
  9. This is patch.03.
  10.  
  11. A fully-patched (patches 01 through 03) version of REMIND 2.1 is
  12. available via anonymous ftp from alfred.ccs.carleton.ca in
  13. /pub/remind-2.1.tar.Z.
  14. --
  15. David Skoll
  16.  
  17. ---------- CUT HERE AND SAVE IN patch.03 ---------------
  18. *** dorem.old.c    Tue Nov  6 16:44:53 1990
  19. --- dorem.c    Tue Nov  6 16:45:52 1990
  20. ***************
  21. *** 208,214 ****
  22.            FromJulian(jul, &d2, &m2, &y2);
  23.         }
  24.         if (jul < JulianToday) {
  25. !          jul += ((JulianToday - jul) / repeat) * repeat + repeat;
  26.            FromJulian(jul, &d2, &m2, &y2);
  27.         }
  28.      } else {
  29. --- 208,215 ----
  30.            FromJulian(jul, &d2, &m2, &y2);
  31.         }
  32.         if (jul < JulianToday) {
  33. !          jul += ((JulianToday - jul) / repeat) * repeat;
  34. !          if (jul < JulianToday) jul += repeat;
  35.            FromJulian(jul, &d2, &m2, &y2);
  36.         }
  37.      } else {
  38.