Blame SOURCES/0004-Fix-regression-in-handling-1-5-crontab-entries.patch

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