Page MenuHomeFreeBSD

D33687.diff
No OneTemporary

D33687.diff

diff --git a/usr.sbin/newsyslog/ptimes.c b/usr.sbin/newsyslog/ptimes.c
--- a/usr.sbin/newsyslog/ptimes.c
+++ b/usr.sbin/newsyslog/ptimes.c
@@ -279,6 +279,10 @@
if (tm.tm_mday > daysmon) {
tm.tm_mon++;
tm.tm_mday = tm.tm_mday - daysmon;
+ if (tm.tm_mon >= 12) {
+ tm.tm_mon = 0;
+ tm.tm_year++;
+ }
}
}
break;

File Metadata

Mime Type
text/plain
Expires
Thu, Apr 2, 5:38 PM (6 h, 13 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
30731950
Default Alt Text
D33687.diff (358 B)

Event Timeline