Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Jul 2004 17:24:12 +0000 (UTC)
From:      Maxim Sobolev <sobomax@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/usr.sbin/newsyslog newsyslog.c
Message-ID:  <200407041724.i64HOCZc051893@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200407041724.i64HOCZc051893>