r15472 - gnucash/trunk/src/backend/file - Implement gnc_timegm directly without mktime.

Andreas Köhler andi5 at cvs.gnucash.org
Tue Jan 30 19:05:25 EST 2007


Author: andi5
Date: 2007-01-30 19:05:23 -0500 (Tue, 30 Jan 2007)
New Revision: 15472
Trac: http://svn.gnucash.org/trac/changeset/15472

Modified:
   gnucash/trunk/src/backend/file/sixtp-utils.c
Log:
Implement gnc_timegm directly without mktime.

Calculate the seconds since the start of the UNIX epoch directly without
the help of mktime. This also works on Windows. Systems with timegm are
unaffected.




More information about the gnucash-patches mailing list