• Max Kellermann's avatar
    tag: added buffered versions of the tag_print.c code · 59efed3e
    Max Kellermann authored
    Currently, when the tag cache is being serialized to hard disk, the
    stdio buffer is flushed before every song, because tag_print.c
    performs unbuffered writes on the raw file descriptor.  Unfortunately,
    the fdprintf() API allows buffered I/O only for a client connection by
    looking up the client pointer owning the file descriptor - for stdio,
    this is not possible.  To re-enable proper stdio buffering, we have to
    duplicate the tag_print.c code without fprintf() instead of our custom
    fdprintf() hack.  Add this duplicated code to tag_save.c.
    59efed3e
Name
Last commit
Last update
bs Loading commit data...
doc Loading commit data...
m4 Loading commit data...
scripts Loading commit data...
src Loading commit data...
AUTHORS Loading commit data...
COPYING Loading commit data...
ChangeLog Loading commit data...
INSTALL Loading commit data...
Makefile.am Loading commit data...
README Loading commit data...
TODO Loading commit data...
UPGRADING Loading commit data...
autogen.sh Loading commit data...
build.mk Loading commit data...
configure.ac Loading commit data...