Add close_file arg to saxdb_close_context(); allocate all saxdb contexts from heap.
authorMichael Poole <mdpoole@troilus.org>
Sun, 30 Mar 2008 02:43:42 +0000 (22:43 -0400)
committerMichael Poole <mdpoole@troilus.org>
Sun, 30 Mar 2008 02:43:42 +0000 (22:43 -0400)
commit591505ef854aecb6b35c00fca9d58d54fe513eb8
treef59b5492ec6b77272c534703bfd5919a97876f6f
parent8aa2683163c6e3133d717a87009b333ed6260401
Add close_file arg to saxdb_close_context(); allocate all saxdb contexts from heap.

src/saxdb.h (saxdb_close_context): Add "close_file" argument.
src/saxdb.c (saxdb_write_db): Use saxdb_{open,close}_context() rather than
    putting it on the stack.
  (write_database): Likewise.
  (saxdb_close_context): Implement the close_file argument.
src/modcmd.c (cmd_dump_messages): Use the close_file argument.
src/mod-helpserv.c (helpserv_log_request): Likewise.
src/mod-helpserv.c
src/modcmd.c
src/saxdb.c
src/saxdb.h