From owner-cvs-all@FreeBSD.ORG Sat Jun 19 03:28:48 2004 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 48A7016A4CE; Sat, 19 Jun 2004 03:28:48 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2B47D43D49; Sat, 19 Jun 2004 03:28:48 +0000 (GMT) (envelope-from gad@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.11/8.12.11) with ESMTP id i5J3SgVB041149; Sat, 19 Jun 2004 03:28:42 GMT (envelope-from gad@repoman.freebsd.org) Received: (from gad@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id i5J3SgLZ041148; Sat, 19 Jun 2004 03:28:42 GMT (envelope-from gad) Message-Id: <200406190328.i5J3SgLZ041148@repoman.freebsd.org> From: Garance A Drosehn Date: Sat, 19 Jun 2004 03:28:42 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/usr.sbin/newsyslog newsyslog.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Jun 2004 03:28:48 -0000 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