• Per Cederqvist's avatar
    Implement dbfile wrappers for putc, fputs, feof and ferror, and · 6de208fe
    Per Cederqvist authored
    use them.
    * src/server/ram-io.c, src/server/ram-io.h
    (dbfile_putc): New function.
    (dbfile_fputs): New function.
    (dbfile_feof): New function.
    (dbfile_ferror): New function.
    * src/server/simple-cache.c (save_one_text): Use dbfile_ferror.
    (sync_part): Ditto.
    * src/server/ram-output.c (foutput_string): Use dbfile_putc.
    (foutput_ulong): Ditto.
    (foutput_atsign): Ditto.
    (foutput_newline): Ditto.
    (foutput_space): Ditto.
    (foutput_bool): Ditto.
    (foutput_array_start): Use dbfile_fputs.
    (foutput_array_end): Ditto.
    (foutput_array_nodata): Ditto.
    * src/server/ram-io.c (dbfile_change_magic): Use dbfile_ferror.
    * src/server/local-to-global.c (l2g_write): Use dbfile_putc.
    * src/server/dbck-cache.c (init_cache): Use dbfile_feof().
    6de208fe
Name
Last commit
Last update
db-crypt Loading commit data...
doc Loading commit data...
m4 Loading commit data...
run-support Loading commit data...
scripts Loading commit data...
src Loading commit data...
AUTHORS Loading commit data...
COPYING Loading commit data...
ChangeLog Loading commit data...
ChangeLog.1 Loading commit data...
HACKING Loading commit data...
Makefile.am Loading commit data...
NEWS Loading commit data...
README Loading commit data...
README.FSF Loading commit data...
TODO Loading commit data...
acinclude.m4 Loading commit data...
configure.in Loading commit data...
mkmi Loading commit data...
versions Loading commit data...