From owner-cvs-all@FreeBSD.ORG Tue Feb 22 02:48:20 2005 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 8E65D16A4CE; Tue, 22 Feb 2005 02:48:20 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 656F443D45; Tue, 22 Feb 2005 02:48:20 +0000 (GMT) (envelope-from delphij@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j1M2mKZH091983; Tue, 22 Feb 2005 02:48:20 GMT (envelope-from delphij@repoman.freebsd.org) Received: (from delphij@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j1M2mKhb091982; Tue, 22 Feb 2005 02:48:20 GMT (envelope-from delphij) Message-Id: <200502220248.j1M2mKhb091982@repoman.freebsd.org> From: Xin LI Date: Tue, 22 Feb 2005 02:48:20 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_5 Subject: cvs commit: src/usr.sbin/cron/lib entry.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: Tue, 22 Feb 2005 02:48:20 -0000 delphij 2005-02-22 02:48:20 UTC FreeBSD src repository Modified files: (Branch: RELENG_5) usr.sbin/cron/lib entry.c Log: MFC revision 1.16 date: 2005/02/14 14:09:21; author: delphij; state: Exp; lines: +4 -2 Fix parsing of '0' and non-alphanumerics in steps. Previously, an entry having stepping value of zero can cause crontab to hang there, and if the main crontab is being changed in this way, then cron(8) will keep spining. Obtained from: OpenBSD [src/usr.sbin/cron/entry.c,v 1.17] PR: 68683 (my own, but forgot to commit it...) MFC After: 1 week Revision Changes Path 1.15.8.1 +4 -2 src/usr.sbin/cron/lib/entry.c