diff options
author | Max Kellermann <max@duempel.org> | 2008-09-07 13:36:05 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-09-07 13:36:05 +0200 |
commit | 59efed3e8e3da3be85fada02a533cb79fba21569 (patch) | |
tree | 6e9204a7e9135bf4bfbe2be53a99ffeec3629b23 /m4/libOggFLAC.m4 | |
parent | 75aa8dad4ccf1bb942c327d78b0ddad821c4abaa (diff) | |
download | mpd-59efed3e8e3da3be85fada02a533cb79fba21569.tar.gz mpd-59efed3e8e3da3be85fada02a533cb79fba21569.tar.xz mpd-59efed3e8e3da3be85fada02a533cb79fba21569.zip |
tag: added buffered versions of the tag_print.c code
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.
Diffstat (limited to 'm4/libOggFLAC.m4')
0 files changed, 0 insertions, 0 deletions