rpms/vixie-cron/FC-5 vixie-cron-4.1-_44-delayed_database.patch, NONE, 1.1 vixie-cron.spec, 1.70, 1.71

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Fri Aug 25 12:14:36 UTC 2006


Author: mmaslano

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

Modified Files:
	vixie-cron.spec 
Added Files:
	vixie-cron-4.1-_44-delayed_database.patch 
Log Message:
Add patch for delayed database.


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/FC-5/vixie-cron.spec,v
retrieving revision 1.70
retrieving revision 1.71
diff -u -r1.70 -r1.71
--- vixie-cron.spec	25 Aug 2006 08:46:11 -0000	1.70
+++ vixie-cron.spec	25 Aug 2006 12:14:33 -0000	1.71
@@ -10,7 +10,7 @@
 Summary: The Vixie cron daemon for executing specified programs at set times.
 Name: vixie-cron
 Version: 4.1
-Release: 56%{?dist}
+Release: 57%{?dist}
 Epoch:   4
 License: distributable
 Group:   System Environment/Base
@@ -72,6 +72,7 @@
 Patch52: vixie-cron-4.1-_52-bz181439.patch
 Patch53: vixie-cron-4.1-man-page-typo.patch
 Patch54: vixie-cron-4.1-_55-bz203746.patch
+Patch55: vixie-cron-4.1-_44-delayed_database.patch
 
 Buildroot: %{_tmppath}/%{name}-%{version}-root
 Requires: syslog, bash >= 2.0
@@ -163,6 +164,8 @@
 %patch52 -p1 -b .bz181439
 %patch53 -p1 -b .man-pages-typo
 %patch54 -p1 -b .bz203746
+%patch55 -p1 -b .delayed_database
+
 %build
 make RPM_OPT_FLAGS="$RPM_OPT_FLAGS -g -DLINT -Dlint -Werror" \
 %if %{WITH_SELINUX}
@@ -229,6 +232,9 @@
 %config(noreplace) /etc/sysconfig/crond
 
 %changelog
+* Fri Aug 25 2006 Marcela Maslanova <mmaslano at redhat.com> - 4:4.1-57.FC5
+- patch from Jose Plans fixed: Job delayed after using crontab -e
+
 * Fri Aug 25 2006 Marcela Maslanova <mmaslano at redhat.com> - 4:4.1-56.FC5
 - small changes in man-page cron
 - (#203746) RFC3834, patch from James Ralston




More information about the fedora-cvs-commits mailing list