FreeBSD Bugzilla – Attachment 99346 Details for
Bug 138408
[patch] finance/libofx import timestamp may be wrong
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 620 bytes, created by
Takanori Watanabe
on 2009-08-31 19:10:05 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Takanori Watanabe
Created:
2009-08-31 19:10:05 UTC
Size:
620 bytes
patch
obsolete
>--- lib/ofx_utilities.old 2007-10-27 21:15:58.000000000 +0900 >+++ lib/ofx_utilities.cpp 2009-09-01 02:32:26.000000000 +0900 >@@ -16,6 +16,7 @@ > * * > ***************************************************************************/ > #include <config.h> >+#include <locale.h> > #include <iostream> > #include <assert.h> > >@@ -113,6 +114,9 @@ > char time_zone_specified = false; > > time_t temptime; >+ >+ bzero(&time, sizeof(time)); >+ > std::time(&temptime); > local_offset = difftime(mktime(localtime(&temptime)), mktime(gmtime(&temptime)));
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 138408
: 99346