Hello community, here is the log from the commit of package at for openSUSE:Factory checked in at Wed Mar 2 10:12:19 CET 2011. -------- --- at/at.changes 2011-02-07 16:12:51.000000000 +0100 +++ /mounts/work_src_done/STABLE/at/at.changes 2011-03-01 16:49:57.000000000 +0100 @@ -1,0 +2,5 @@ +Tue Mar 1 15:33:34 UTC 2011 - vcizek@novell.com + +- fixed bug introduced with at-3.1.8-tomorrow.patch (bnc#672586) + +------------------------------------------------------------------- calling whatdependson for head-i586 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ at.spec ++++++ --- /var/tmp/diff_new_pack.EhzlzY/_old 2011-03-02 10:09:34.000000000 +0100 +++ /var/tmp/diff_new_pack.EhzlzY/_new 2011-03-02 10:09:34.000000000 +0100 @@ -26,7 +26,7 @@ Group: System/Daemons AutoReqProv: on Version: 3.1.8 -Release: 1089 +Release: 1096 Summary: A Job Manager Source: at_3.1.8-11.tar.gz Source1: atd.init @@ -54,6 +54,7 @@ Patch15: %{name}-%{version}-leak-fix.patch #PATCH_FIX-OPENSUSE add proper system users to the deny list Patch16: at-3.1.8-denylist.patch +#PATCH_FIX-OPENSUSE plan jobs with past time to tomorrow (bnc#672586) Patch17: %{name}-%{version}-tomorrow.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build PreReq: %{_sbindir}/useradd %{_sbindir}/groupadd %fillup_prereq %insserv_prereq ++++++ at-3.1.8-tomorrow.patch ++++++ --- /var/tmp/diff_new_pack.EhzlzY/_old 2011-03-02 10:09:34.000000000 +0100 +++ /var/tmp/diff_new_pack.EhzlzY/_new 2011-03-02 10:09:34.000000000 +0100 @@ -1,13 +1,15 @@ -Index: at-3.1.8/parsetime.y -=================================================================== ---- at-3.1.8.orig/parsetime.y -+++ at-3.1.8/parsetime.y -@@ -375,7 +375,7 @@ parsetime(int argc, char **argv) +diff --git a/parsetime.y b/parsetime.y +index ef1ff7f..141d792 100644 +--- a/parsetime.y ++++ b/parsetime.y +@@ -379,7 +379,9 @@ parsetime(int argc, char **argv) exectime -= 3600; } } - if (time_only && (currtime > exectime)) { -+ if (currtime > exectime+1) { ++ /* exectime zeroes its seconds, thus we need +60, ++ * else "now" will be scheduled to tomorrow */ ++ if (currtime > exectime + 60) { exectime += 24*3600; } return exectime; ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 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