cvs commit: src/usr.bin/calendar day.c

Greg Lehey grog at FreeBSD.org
Thu Jun 15 01:16:37 UTC 2006


grog        2006-06-15 01:16:36 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_6)
    usr.bin/calendar     day.c 
  Log:
  MFC: Don't go past the end of the month with a repetitive entry of the
  style "every Monday":
  
       mon *        Do Foo.
  
  Previously, at the end of the month, this could cause a printout of
  the following nature when invoked with -A 7:
  
       36 May* Do Foo
  
  If the entry runs into the following month, adjust month and day,
  wrapping round into next year where necessary.
  
  Revision  Changes    Path
  1.21.2.1  +5 -0      src/usr.bin/calendar/day.c


More information about the cvs-src mailing list