cvs commit: src/usr.sbin/newsyslog newsyslog.c

Garance A Drosehn gad at FreeBSD.org
Fri Jun 18 20:28:48 PDT 2004


gad         2004-06-19 03:28:42 UTC

  FreeBSD src repository

  Modified files:
    usr.sbin/newsyslog   newsyslog.c 
  Log:
  Fix the check for a "duplicate filename to compress", so that we're checking
  the *filename* and not the pid_file(!).   Stupid brain-fault on my part.
  This could cause a segfault under -neworder if newsyslog had to rotate
  multiple files, and later ones had specifed the 'N' flag.
  
  Bug first reported by:  le
  MFC after:      3 days
  
  Revision  Changes    Path
  1.94      +1 -1      src/usr.sbin/newsyslog/newsyslog.c


More information about the cvs-src mailing list