cvs commit: src/usr.sbin/newsyslog extern.h newsyslog.c ptimes.c

Garance A Drosehn gad at
Mon Sep 22 17:00:27 PDT 2003

gad         2003/09/22 17:00:26 PDT

  FreeBSD src repository

  Modified files:
    usr.sbin/newsyslog   extern.h newsyslog.c ptimes.c 
  Restructure the time processing routines, mainly to fix up the
  "will trim at" message printed when the user requests '-v'.  The
  previous code would often print the wrong time, such as:
  On Sept 22, run:   newsyslog -nv /var/log/wtmp
          And see:   will trim at Mon Sep  1 05:00:00 2003
      correct msg:   will trim at Wed Oct  1 05:00:00 2003
  MFC after:      20 days
  Revision  Changes    Path
  1.2       +25 -5     src/usr.sbin/newsyslog/extern.h
  1.82      +96 -41    src/usr.sbin/newsyslog/newsyslog.c
  1.3       +359 -39   src/usr.sbin/newsyslog/ptimes.c

More information about the cvs-src mailing list