Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package cronie for openSUSE:Factory checked 
in at 2022-04-16 00:13:15
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/cronie (Old)
 and      /work/SRC/openSUSE:Factory/.cronie.new.1941 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "cronie"

Sat Apr 16 00:13:15 2022 rev:85 rq:970164 version:unknown

Changes:
--------
--- /work/SRC/openSUSE:Factory/cronie/cronie.changes    2022-04-02 
18:20:48.686092662 +0200
+++ /work/SRC/openSUSE:Factory/.cronie.new.1941/cronie.changes  2022-04-16 
00:13:33.313593500 +0200
@@ -1,0 +2,6 @@
+Thu Apr 14 13:19:35 UTC 2022 - Danilo Spinella <danilo.spine...@suse.com>
+
+- Fix bsc#1198265 Regression in handling 1-5 crontab entries
+  * bsc1198265.patch
+
+-------------------------------------------------------------------

New:
----
  bsc1198265.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ cronie.spec ++++++
--- /var/tmp/diff_new_pack.uIjW38/_old  2022-04-16 00:13:34.017594440 +0200
+++ /var/tmp/diff_new_pack.uIjW38/_new  2022-04-16 00:13:34.025594450 +0200
@@ -46,6 +46,9 @@
 # PATCH-FIX-SUSE the first occurance of "/etc/anacrontab" was replaced by 
"/etc/crontab"
 # in manpage file because the /etc/crontab is still used in SUSE.
 Patch13:        fix-manpage-replace-anacrontab-with-crontab.patch
+# PATCH-FIX-UPSTREAM Fix regression in handling 1-5 crontab entries bsc#1198265
+# 
https://github.com/cronie-crond/cronie/commit/62e53f1cdb9c1e12a01ee7814c92cd937d50328d
+Patch14:        bsc1198265.patch
 BuildRequires:  audit-devel
 BuildRequires:  autoconf
 BuildRequires:  automake
@@ -104,6 +107,7 @@
 %patch5 -p1
 cp %{SOURCE7} ./cron_to_cronie.README
 %patch13 -p1
+%patch14 -p1
 
 %build
 # fill macro CRON_VERSION it is used in top three lines of crontab file,should 
be reworked

++++++ bsc1198265.patch ++++++
>From 62e53f1cdb9c1e12a01ee7814c92cd937d50328d Mon Sep 17 00:00:00 2001
From: w30023233 <wangyuhan...@huawei.com>
Date: Wed, 23 Mar 2022 15:40:01 +0800
Subject: [PATCH] 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;

Reply via email to