Hello community, here is the log from the commit of package cron checked in at Mon Feb 12 18:36:40 CET 2007. -------- --- cron/cron.changes 2007-02-09 11:49:30.000000000 +0100 +++ /mounts/work_src_done/STABLE/cron/cron.changes 2007-02-12 17:40:22.000000000 +0100 @@ -1,0 +2,5 @@ +Mon Feb 12 17:39:11 CET 2007 - mkoenig@suse.de + +- load database right after daemon awakes [#243020] + +------------------------------------------------------------------- New: ---- vixie-cron-4.1-load_database.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ cron.spec ++++++ --- /var/tmp/diff_new_pack.D10683/_old 2007-02-12 18:36:19.000000000 +0100 +++ /var/tmp/diff_new_pack.D10683/_new 2007-02-12 18:36:19.000000000 +0100 @@ -19,7 +19,7 @@ Autoreqprov: on PreReq: permissions Version: 4.1 -Release: 74 +Release: 76 Summary: cron Daemon Source0: vixie-%name-%version.tar.bz2 Source1: %name.init @@ -41,6 +41,7 @@ Patch13: vixie-cron-4.1-stat-no-fstat.diff Patch14: vixie-cron-4.1-privilege_escalation.patch Patch15: vixie-cron-4.1-segfault.patch +Patch16: vixie-cron-4.1-load_database.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -75,6 +76,7 @@ %patch13 -p1 %patch14 -p1 %patch15 -p0 +%patch16 -p1 %build make DEFS="$RPM_OPT_FLAGS -DWITH_PAM -Wno-comment -fpie -fstack-protector" LDFLAGS="-pie" @@ -135,6 +137,8 @@ /usr/lib/cron %changelog -n cron +* Mon Feb 12 2007 - mkoenig@suse.de +- load database right after daemon awakes [#243020] * Fri Feb 09 2007 - mkoenig@suse.de - use norootforbuild * Tue Feb 06 2007 - mkoenig@suse.de ++++++ vixie-cron-4.1-load_database.patch ++++++ Index: vixie-cron-4.1/cron.c =================================================================== --- vixie-cron-4.1.orig/cron.c +++ vixie-cron-4.1/cron.c @@ -156,6 +156,8 @@ main(int argc, char *argv[]) { } while (clockTime == timeRunning); timeRunning = clockTime; + load_database(&database); + /* * Calculate how the current time differs from our virtual * clock. Classify the change into one of 4 cases. @@ -261,7 +263,6 @@ main(int argc, char *argv[]) { got_sigchld = 0; sigchld_reaper(); } - load_database(&database); } } ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@Hilbert.suse.de