Date: Tue, 16 Oct 2012 21:34:02 +0000 (UTC) From: Maxim Sobolev <sobomax@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r241618 - head/usr.sbin/cron/lib Message-ID: <201210162134.q9GLY2Uu025122@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201210162134.q9GLY2Uu025122>