2003-03-29 Christian Stimming <stimming@tuhh.de>

* src/engine/gnc-session.c: OpenBSD fix by Todd T. Fries
        <todd@flare.fries.net>

        * src/engine/Transaction.c: OpenBSD fix by Todd T. Fries
        <todd@flare.fries.net>: time_t is not long everywhere.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8104 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Christian Stimming 2003-03-29 21:33:04 +00:00
parent 36bc6d9b6b
commit 72614fb23a
4 changed files with 16 additions and 2 deletions

View File

@ -120,6 +120,7 @@ Jan-Uwe Finck <jufi@nerdnet.de> for messages German translation
Kevin Finn <kevinfinn@mediaone.net> auto-decimal point, options, auto interest xfer patches
Ron Forrester <rjf@aracnet.com> for gnome patches
Dave Freese <DFreese@osc.uscg.mil> for leap-year fix
Todd T. Fries <todd@flare.fries.net> OpenBSD fix
John Goerzen <jgoerzen@complete.org> file i/o fix for 64-bit architectures
Hans de Graaff <hans@degraaff.org> XML patches
Daniel Hagerty <hag@linnaean.org> patch to balance sheet report

View File

@ -1,3 +1,11 @@
2003-03-29 Christian Stimming <stimming@tuhh.de>
* src/engine/gnc-session.c: OpenBSD fix by Todd T. Fries
<todd@flare.fries.net>
* src/engine/Transaction.c: OpenBSD fix by Todd T. Fries
<todd@flare.fries.net>: time_t is not long everywhere.
2003-03-23 Christian Stimming <stimming@tuhh.de>
* src/import-export/hbci/hbci-interaction.c (GNCInteractor_hide):

View File

@ -2492,7 +2492,7 @@ xaccTransSetDateInternal(Transaction *trans, int which, time_t secs,
check_open(trans);
PINFO ("addr=%p set %d date to %lu %li %s",
trans, which, secs, nsecs, ctime (&secs));
trans, which, (long unsigned int)secs, nsecs, ctime (&secs));
dadate = ((which == TDATE_POSTED)
? &trans->date_posted

View File

@ -1088,13 +1088,18 @@ xaccResolveURL (const char * pathfrag)
void
gnc_run_rpc_server (void)
{
char * dll_err;
const char * dll_err;
void * dll_handle;
int (*rpc_run)(short);
int ret;
/* open and resolve all symbols now (we don't want mystery
* failure later) */
#ifndef RTLD_NOW
# ifdef RTLD_LAZY
# define RTLD_NOW RTLD_LAZY
# endif
#endif
dll_handle = dlopen ("libgnc_rpc.so", RTLD_NOW);
if (! dll_handle)
{