Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15-SP1:GA
at
at-3.1.13-tomorrow.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File at-3.1.13-tomorrow.patch of Package at
Index: at-3.1.13/parsetime.y =================================================================== --- at-3.1.13.orig/parsetime.y +++ at-3.1.13/parsetime.y @@ -504,10 +504,15 @@ parsetime(time_t currtime, int argc, cha if (isgmt) { exectime -= timezone; if (currtm.tm_isdst && !exectm.tm_isdst) exectime -= 3600; } + /* exectime zeroes its seconds, thus we need +60, + * else "now" will be scheduled to tomorrow */ + if (currtime > exectime + 60) { + exectime += 24*3600; + } if (exectime < currtime) panic("refusing to create job destined in the past"); return exectime; } else {
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor