fedora-cvs-commits@redhat.com
[Top] [All Lists]

rpms/vixie-cron/devel vixie-cron-4.1-_44-delayed_database.patch, NONE, 1

Subject: rpms/vixie-cron/devel vixie-cron-4.1-_44-delayed_database.patch, NONE, 1.1 vixie-cron.spec, 1.73, 1.74
From:
Date: Fri, 25 Aug 2006 07:41:54 -0400
Author: mmaslano

Update of /cvs/dist/rpms/vixie-cron/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv10294

Modified Files:
        vixie-cron.spec 
Added Files:
        vixie-cron-4.1-_44-delayed_database.patch 
Log Message:
Added patch, which fix: Job delayed after using crontab -e


vixie-cron-4.1-_44-delayed_database.patch:
 cron.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

--- NEW FILE vixie-cron-4.1-_44-delayed_database.patch ---
--- vixie-cron-4.1/cron.c.delay 2006-08-25 08:55:33.000000000 +0200
+++ vixie-cron-4.1/cron.c       2006-08-25 13:30:51.000000000 +0200
@@ -175,7 +175,8 @@
                 * clock.  Classify the change into one of 4 cases.
                 */
                timeDiff = timeRunning - virtualTime;
-
+               
+               load_database(&database);
                /* shortcut for the most common case */
                if (timeDiff == 1) {
                        virtualTime = timeRunning;
@@ -275,7 +276,6 @@
                        got_sigchld = 0;
                        sigchld_reaper();
                }
-               load_database(&database);
        }
 }
 


Index: vixie-cron.spec
===================================================================
RCS file: /cvs/dist/rpms/vixie-cron/devel/vixie-cron.spec,v
retrieving revision 1.73
retrieving revision 1.74
diff -u -r1.73 -r1.74
--- vixie-cron.spec     25 Aug 2006 08:28:09 -0000      1.73
+++ vixie-cron.spec     25 Aug 2006 11:41:51 -0000      1.74
@@ -10,7 +10,7 @@
 Summary: The Vixie cron daemon for executing specified programs at set times.
 Name: vixie-cron
 Version: 4.1
-Release: 59%{?dist}
+Release: 60%{?dist}
 Epoch:   4
 License: distributable
 Group:   System Environment/Base
@@ -74,6 +74,7 @@
 Patch54: vixie-cron-4.1-_54_bz198019_database_changes.patch
 Patch55: vixie-cron-4.1-man-page-typo.patch
 Patch56: vixie-cron-4.1-_55-bz203746.patch
+Patch57: vixie-cron-4.1-_44-delayed_database.patch 
 
 Buildroot: %{_tmppath}/%{name}-%{version}-root
 Requires: syslog, bash >= 2.0
@@ -167,6 +168,8 @@
 %patch54 -p1 -b .bz198019
 %patch55 -p1 -b .man-page-typo
 %patch56 -p1 -b .bz203746
+%patch57 -p1 -b .delayed_database
+
 %build
 make RPM_OPT_FLAGS="$RPM_OPT_FLAGS -g -DLINT -Dlint -Werror" \
 %if %{WITH_SELINUX}
@@ -233,7 +236,10 @@
 %config(noreplace) /etc/sysconfig/crond
 
 %changelog
-* Wed Aug 25 2006 Marcela Maslanova <mmaslano@xxxxxxxxxx> - 4:4.1-59
+* Fri Aug 25 2006 Marcela Maslanova <mmaslano@xxxxxxxxxx> - 4:4.1-60
+- patch from Jose Plans fixed: Job delayed after using crontab -e
+
+* Fri Aug 25 2006 Marcela Maslanova <mmaslano@xxxxxxxxxx> - 4:4.1-59
 - small changes in man-page cron
 - (#203746) RFC3834, patch from James Ralston
 

-- 
fedora-cvs-commits mailing list
fedora-cvs-commits@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-cvs-commits

<Prev in Thread] Current Thread [Next in Thread>
  • rpms/vixie-cron/devel vixie-cron-4.1-_44-delayed_database.patch, NONE, 1.1 vixie-cron.spec, 1.73, 1.74, fedora-cvs-commits <=