FreeBSD Bugzilla – Attachment 202068 Details for
Bug 235781
at(1) HH:MM fails to assume next day
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix at(1) failure to assume next day
at.patch (text/plain), 446 bytes, created by
Christian Weisgerber
on 2019-02-16 16:03:43 UTC
(
hide
)
Description:
Fix at(1) failure to assume next day
Filename:
MIME Type:
Creator:
Christian Weisgerber
Created:
2019-02-16 16:03:43 UTC
Size:
446 bytes
patch
obsolete
>Index: parsetime.c >=================================================================== >--- parsetime.c (revision 343941) >+++ parsetime.c (working copy) >@@ -409,7 +409,8 @@ > * a relative offset, it's okay to bump things > */ > if ((sc_tokid == EOF || sc_tokid == PLUS || sc_tokid == MINUS) && >- tm->tm_hour > hour) { >+ (tm->tm_hour > hour || >+ (tm->tm_hour == hour && tm->tm_min > minute))) { > tm->tm_mday++; > tm->tm_wday++; > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 235781
: 202068