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

Maxim Sobolev sobomax at FreeBSD.org
Sun Jul 4 10:24:13 PDT 2004


sobomax     2004-07-04 17:24:12 UTC

  FreeBSD src repository

  Modified files:
    usr.sbin/newsyslog   newsyslog.c 
  Log:
  Nothing says that /var/log can't be not a directory but a symbolic link
  to a directory. Therefore, use stat(2) instead of lstat(2) to check if
  /var/log exists.
  
  MFC after:      7 days
  
  Revision  Changes    Path
  1.96      +2 -2      src/usr.sbin/newsyslog/newsyslog.c


More information about the cvs-all mailing list