11516b05d1
Resolves: rhbz#2090691
25 lines
642 B
Diff
25 lines
642 B
Diff
From d1a4e2b1a091df104881a6dcd0e41d805c86cb1a Mon Sep 17 00:00:00 2001
|
|
From: w30023233 <wangyuhang27@huawei.com>
|
|
Date: Wed, 23 Mar 2022 15:40:01 +0800
|
|
Subject: [PATCH 5/5] Fix regression in handling 1-5 crontab entries
|
|
|
|
---
|
|
src/entry.c | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
diff --git a/src/entry.c b/src/entry.c
|
|
index e9e258b..bb7cb62 100644
|
|
--- a/src/entry.c
|
|
+++ b/src/entry.c
|
|
@@ -595,6 +595,7 @@ get_range(bitstr_t * bits, int low, int high, const char *names[],
|
|
return (EOF);
|
|
|
|
case R_RANGE:
|
|
+ unget_char(ch, file);
|
|
if (get_number(&num2, low, names, file) != EOF) {
|
|
state = R_RANGE_NUM2;
|
|
break;
|
|
--
|
|
2.36.1
|
|
|