• 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
To find the state of this project's repository at the time of any of these versions, check out the tags.
ChangeLog 560 KB