FreeBSD Bugzilla – Attachment 106942 Details for
Bug 147629
[patch] rup(1) problem 365 days period
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 1017 bytes, created by
Kaoru Kusachi
on 2010-06-07 03:40:03 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Kaoru Kusachi
Created:
2010-06-07 03:40:03 UTC
Size:
1017 bytes
patch
obsolete
>*** /usr/.zfs/snapshot/20100607/src/usr.bin/rup/rup.c Thu Oct 29 12:06:01 2009 >--- rup.c Mon Jun 7 11:15:06 2010 >*************** >*** 141,152 **** > } > > #define updays (host_stat->curtime.tv_sec / 86400) >! if (host_uptime.tm_yday != 0) > sprintf(days_buf, "%3d day%s, ", updays, > (updays > 1) ? "s" : ""); >! else > days_buf[0] = '¥0'; >! > if (host_uptime.tm_hour != 0) > sprintf(hours_buf, "%2d:%02d, ", > host_uptime.tm_hour, host_uptime.tm_min); >--- 141,152 ---- > } > > #define updays (host_stat->curtime.tv_sec / 86400) >! if (updays != 0) { > sprintf(days_buf, "%3d day%s, ", updays, > (updays > 1) ? "s" : ""); >! } else { > days_buf[0] = '¥0'; >! } > if (host_uptime.tm_hour != 0) > sprintf(hours_buf, "%2d:%02d, ", > host_uptime.tm_hour, host_uptime.tm_min);
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 147629
: 106942