Date: Sun, 2 Jun 2013 01:20:00 GMT From: dfilter@FreeBSD.ORG (dfilter service) To: freebsd-bugs@FreeBSD.org Subject: Re: bin/179122: commit references a PR Message-ID: <201306020120.r521K0bj061101@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/179122; it has been noted by GNATS. From: dfilter@FreeBSD.ORG (dfilter service) To: bug-followup@FreeBSD.org Cc: Subject: Re: bin/179122: commit references a PR Date: Sun, 2 Jun 2013 01:10:56 +0000 (UTC) Author: markj Date: Sun Jun 2 01:10:49 2013 New Revision: 251240 URL: http://svnweb.freebsd.org/changeset/base/251240 Log: We want to stat the archived log file rather than the logfile itself. PR: bin/179122 Submitted by: Oliver Fromme <olli@secnetix.de> MFC after: 3 days Modified: head/usr.sbin/newsyslog/newsyslog.c Modified: head/usr.sbin/newsyslog/newsyslog.c ============================================================================== --- head/usr.sbin/newsyslog/newsyslog.c Sun Jun 2 01:07:38 2013 (r251239) +++ head/usr.sbin/newsyslog/newsyslog.c Sun Jun 2 01:10:49 2013 (r251240) @@ -2326,7 +2326,7 @@ mtime_old_timelog(const char *file) if (validate_old_timelog(dir_fd, dp, logfname, &tm) == 0) continue; - if (fstatat(dir_fd, logfname, &sb, AT_SYMLINK_NOFOLLOW) == -1) { + if (fstatat(dir_fd, dp->d_name, &sb, AT_SYMLINK_NOFOLLOW) == -1) { warn("Cannot stat '%s'", file); continue; } _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201306020120.r521K0bj061101>