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

  1. From: dfs@doe.carleton.ca (David F. Skoll)
  2. Newsgroups: alt.sources
  3. Subject: REMIND 2.0 Patch #1
  4. Message-ID: <dfs.657818610@scotty>
  5. Date: 5 Nov 90 15:23:30 GMT
  6.  
  7. The following patch fixes two minor bugs in REMIND:
  8.  
  9. 1) REMIND will print "23th" instead of "23rd"
  10.  
  11. 2) If you supply a blank BANNER, REMIND will not reset the banner to
  12.    the correct default.
  13.  
  14. * Save everything below the "CUT HERE" line to a file called patch.01 in
  15.   the REMIND source directory
  16.  
  17. * Type patch < patch.01
  18.  
  19. * Type make to rebuild REMIND.
  20.  
  21. --
  22. David F. Skoll
  23.  
  24. ----- CUT HERE --------
  25. *** main.c    Fri Nov  2 12:26:17 1990
  26. --- ../merged/main.c    Mon Nov  5 10:19:13 1990
  27. ***************
  28. *** 282,288 ****
  29.      if (! *Banner)
  30.      {
  31.         if (Debug) Eprint("Empty banner.\n");
  32. !       strcpy(Banner, "Reminders for %d %m, %y%o:");
  33.      }
  34.      if (NumRem && Debug) Eprint("Warning: Banner after reminder.\n");
  35.      return 0;
  36. --- 282,288 ----
  37.      if (! *Banner)
  38.      {
  39.         if (Debug) Eprint("Empty banner.\n");
  40. !       strcpy(Banner, "Reminders for %w, %d%s %m, %y%o:");
  41.      }
  42.      if (NumRem && Debug) Eprint("Warning: Banner after reminder.\n");
  43.      return 0;
  44. *** dosubst.c    Fri Nov  2 12:26:13 1990
  45. --- ../merged/dosubst.c    Mon Nov  5 10:18:04 1990
  46. ***************
  47. *** 51,57 ****
  48.         case 2:
  49.         case 22: plu = "nd"; break;
  50.         
  51. !       case 3:  plu = "rd"; break;
  52.         
  53.         default: plu = "th"; break;
  54.      }
  55. --- 51,58 ----
  56.         case 2:
  57.         case 22: plu = "nd"; break;
  58.         
  59. !       case 3:
  60. !       case 23: plu = "rd"; break;
  61.         
  62.         default: plu = "th"; break;
  63.      }
  64.