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);
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to