From owner-svn-src-all@FreeBSD.ORG Tue Oct 16 21:34:03 2012 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 22DC18BE; Tue, 16 Oct 2012 21:34:03 +0000 (UTC) (envelope-from sobomax@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 0B8698FC0C; Tue, 16 Oct 2012 21:34:03 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q9GLY2ew025124; Tue, 16 Oct 2012 21:34:02 GMT (envelope-from sobomax@svn.freebsd.org) Received: (from sobomax@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q9GLY2Uu025122; Tue, 16 Oct 2012 21:34:02 GMT (envelope-from sobomax@svn.freebsd.org) Message-Id: <201210162134.q9GLY2Uu025122@svn.freebsd.org> From: Maxim Sobolev Date: Tue, 16 Oct 2012 21:34:02 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r241618 - head/usr.sbin/cron/lib X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Oct 2012 21:34:03 -0000 Author: sobomax Date: Tue Oct 16 21:34:02 2012 New Revision: 241618 URL: http://svn.freebsd.org/changeset/base/241618 Log: Properly handle non-keyword case by setting e->second to 0. Modified: head/usr.sbin/cron/lib/entry.c Modified: head/usr.sbin/cron/lib/entry.c ============================================================================== --- head/usr.sbin/cron/lib/entry.c Tue Oct 16 20:24:54 2012 (r241617) +++ head/usr.sbin/cron/lib/entry.c Tue Oct 16 21:34:02 2012 (r241618) @@ -222,6 +222,7 @@ load_entry(file, error_func, pw, envp) } } else { Debug(DPARS, ("load_entry()...about to parse numerics\n")) + bit_set(e->second, 0); ch = get_list(e->minute, FIRST_MINUTE, LAST_MINUTE, PPC_NULL, ch, file);