svn commit: r241618 - head/usr.sbin/cron/lib

Maxim Sobolev sobomax at FreeBSD.org
Tue Oct 16 21:34:03 UTC 2012


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);


More information about the svn-src-all mailing list