Bug 138408

Summary: [patch] finance/libofx import timestamp may be wrong
Product: Ports & Packages Reporter: Takanori Watanabe <takawata>
Component: Individual Port(s)Assignee: freebsd-ports-bugs (Nobody) <ports-bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Takanori Watanabe 2009-08-31 19:10:05 UTC
Sometimes the date value read from ofx file entry sets to the Epoch - 1.
That is because not fully initialized struct tm is passed to mktime(3) and
wile structure may detected by the function and returns -1 value.

Fix: Replace  patch-lib_ofx_utilities.cpp with following.
How-To-Repeat: Read a ofx file by ofxdump etc. Note that it is not always occur because it is caused by wild structure.
Comment 1 dfilter service freebsd_committer freebsd_triage 2009-11-08 00:07:06 UTC
arved       2009-11-08 00:06:57 UTC

  FreeBSD ports repository

  Modified files:
    finance/libofx       Makefile 
    finance/libofx/files patch-lib_ofx_utilities.cpp 
  Log:
  Fix an initialization bug
  Bump PORTREVISION
  
  PR:             138408
  Submitted by:   takawata
  
  Revision  Changes    Path
  1.27      +1 -1      ports/finance/libofx/Makefile
  1.2       +20 -13    ports/finance/libofx/files/patch-lib_ofx_utilities.cpp
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 2 Tilman Keskinoz freebsd_committer freebsd_triage 2009-11-08 00:07:41 UTC
State Changed
From-To: open->closed

committed, thanks!