dfs@doe.carleton.ca (David F. Skoll) (11/06/90)
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. REMIND is available by anonymous ftp from alfred.ccs.carleton.ca (134.117.1.1) in the file /pub/remind-2.0.tar.Z. -- 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; }