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 >
Wrap
Internet Message Format
|
1990-12-28
|
1KB
From: dfs@doe.carleton.ca (David F. Skoll)
Newsgroups: alt.sources
Subject: REMIND 2.1 Patch 03
Message-ID: <dfs.657928135@chekov>
Date: 6 Nov 90 21:48:55 GMT
The following patch fixes a minor bug in REMIND 2.1. This bug
caused repeating reminders to be calculated incorrectly at times.
This is patch.03.
A fully-patched (patches 01 through 03) version of REMIND 2.1 is
available via anonymous ftp from alfred.ccs.carleton.ca in
/pub/remind-2.1.tar.Z.
--
David Skoll
---------- CUT HERE AND SAVE IN patch.03 ---------------
*** dorem.old.c Tue Nov 6 16:44:53 1990
--- dorem.c Tue Nov 6 16:45:52 1990
***************
*** 208,214 ****
FromJulian(jul, &d2, &m2, &y2);
}
if (jul < JulianToday) {
! jul += ((JulianToday - jul) / repeat) * repeat + repeat;
FromJulian(jul, &d2, &m2, &y2);
}
} else {
--- 208,215 ----
FromJulian(jul, &d2, &m2, &y2);
}
if (jul < JulianToday) {
! jul += ((JulianToday - jul) / repeat) * repeat;
! if (jul < JulianToday) jul += repeat;
FromJulian(jul, &d2, &m2, &y2);
}
} else {