r23177 - gnucash/branches/2.4/src/backend - [r23174]Bug #674862 - 2038 bug in libdbi

John Ralls jralls at code.gnucash.org
Thu Sep 19 12:32:26 EDT 2013


Author: jralls
Date: 2013-09-19 12:32:25 -0400 (Thu, 19 Sep 2013)
New Revision: 23177
Trac: http://svn.gnucash.org/trac/changeset/23177

Modified:
   gnucash/branches/2.4/src/backend/dbi/gnc-backend-dbi.c
   gnucash/branches/2.4/src/backend/sql/gnc-backend-sql.c
Log:
[r23174]Bug #674862 - 2038 bug in libdbi

Retrieve the numerical value directly from the dbi_result and use
it to create the Timespec or GDate.

NB: In Gnucash 2.4 there are plenty of other 2038 bugs due to reliance
on the libc time functions. This has been corrected in trunk.



More information about the gnucash-patches mailing list