REMIND 2.0 Patch #1
David F. Skoll
dfs at doe.carleton.ca
Tue Nov 6 02:23:30 AEST 1990
The following patch fixes two minor bugs in REMIND:
1) REMIND will print "23th" instead of "23rd"
2) If you supply a blank BANNER, REMIND will not reset the banner to
the correct default.
* Save everything below the "CUT HERE" line to a file called patch.01 in
the REMIND source directory
* Type patch < patch.01
* Type make to rebuild REMIND.
--
David F. Skoll
----- CUT HERE --------
*** main.c Fri Nov 2 12:26:17 1990
--- ../merged/main.c Mon Nov 5 10:19:13 1990
***************
*** 282,288 ****
if (! *Banner)
{
if (Debug) Eprint("Empty banner.\n");
! strcpy(Banner, "Reminders for %d %m, %y%o:");
}
if (NumRem && Debug) Eprint("Warning: Banner after reminder.\n");
return 0;
--- 282,288 ----
if (! *Banner)
{
if (Debug) Eprint("Empty banner.\n");
! strcpy(Banner, "Reminders for %w, %d%s %m, %y%o:");
}
if (NumRem && Debug) Eprint("Warning: Banner after reminder.\n");
return 0;
*** dosubst.c Fri Nov 2 12:26:13 1990
--- ../merged/dosubst.c Mon Nov 5 10:18:04 1990
***************
*** 51,57 ****
case 2:
case 22: plu = "nd"; break;
! case 3: plu = "rd"; break;
default: plu = "th"; break;
}
--- 51,58 ----
case 2:
case 22: plu = "nd"; break;
! case 3:
! case 23: plu = "rd"; break;
default: plu = "th"; break;
}
More information about the Alt.sources
mailing list