Module Name: src Committed By: christos Date: Wed May 1 19:59:08 UTC 2024
Modified Files: src/lib/libutil: parsedate.y Log Message: next should increement by 1 not 2. To generate a diff of this commit: cvs rdiff -u -r1.38 -r1.39 src/lib/libutil/parsedate.y Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/lib/libutil/parsedate.y diff -u src/lib/libutil/parsedate.y:1.38 src/lib/libutil/parsedate.y:1.39 --- src/lib/libutil/parsedate.y:1.38 Thu Feb 29 15:55:35 2024 +++ src/lib/libutil/parsedate.y Wed May 1 15:59:07 2024 @@ -12,7 +12,7 @@ #include <sys/cdefs.h> #ifdef __RCSID -__RCSID("$NetBSD: parsedate.y,v 1.38 2024/02/29 20:55:35 rillig Exp $"); +__RCSID("$NetBSD: parsedate.y,v 1.39 2024/05/01 19:59:07 christos Exp $"); #endif #include <stdio.h> @@ -546,7 +546,7 @@ static const TABLE OtherTable[] = { { "now", tMINUTE_UNIT, 0 }, { "last", tUNUMBER, -1 }, { "this", tMINUTE_UNIT, 0 }, - { "next", tUNUMBER, 2 }, + { "next", tUNUMBER, 1 }, { "first", tUNUMBER, 1 }, { "one", tUNUMBER, 1 }, /* { "second", tUNUMBER, 2 }, */