Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 73641 Details for
Bug 89046
Rsync logging time incorrectly
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
fix to time logging problem
logging_fix.patch (text/plain), 552 bytes, created by
euclid80
on 2005-11-26 09:20:01 UTC
(
hide
)
Description:
fix to time logging problem
Filename:
MIME Type:
Creator:
euclid80
Created:
2005-11-26 09:20:01 UTC
Size:
552 bytes
patch
obsolete
>diff -C 5 -r rsync-2.6.0/util.c rsync-2.6.0-patched/util.c >*** rsync-2.6.0/util.c Sat Nov 26 10:49:07 2005 >--- rsync-2.6.0-patched/util.c Sat Nov 26 11:13:05 2005 >*************** >*** 927,941 **** > char *timestring(time_t t) > { > static char TimeBuf[200]; > struct tm *tm = localtime(&t); > >- #ifdef HAVE_STRFTIME >- strftime(TimeBuf,sizeof(TimeBuf)-1,"%Y/%m/%d %T",tm); >- #else > strlcpy(TimeBuf, asctime(tm), sizeof(TimeBuf)); >- #endif > > if (TimeBuf[strlen(TimeBuf)-1] == '\n') { > TimeBuf[strlen(TimeBuf)-1] = 0; > } > >--- 927,937 ----
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 89046
: 73641 |
174858