diff options
author | Max Kellermann <max@duempel.org> | 2009-11-01 15:37:16 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-11-01 15:37:16 +0100 |
commit | 9bcfd3a47da540abeb2da06471cf2fa11c14db49 (patch) | |
tree | 37cfca02bd797fe16329717d036c05dee07a147a /NEWS | |
parent | 451f932d80f5b695adb59e293391d17c9b996fb8 (diff) | |
download | mpd-9bcfd3a47da540abeb2da06471cf2fa11c14db49.tar.gz mpd-9bcfd3a47da540abeb2da06471cf2fa11c14db49.tar.xz mpd-9bcfd3a47da540abeb2da06471cf2fa11c14db49.zip |
text_file: allocate line buffers dynamically
Use a single GString buffer object in all functions loading the
database. Enlarge it automatically for long lines. This eliminates
the maximum line length for tag values. There is still an upper limit
of 512 kB to prevent denial of service, but that's reasonable I guess.
Diffstat (limited to '')
-rw-r--r-- | NEWS | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -53,6 +53,7 @@ ver 0.16 (20??/??/??) * renamed option "--stdout" to "--stderr" * removed options --create-db and --no-create-db * state_file: save only if something has changed +* database: eliminated maximum line length * obey $(sysconfdir) for default mpd.conf location * build with large file support by default * require GLib 2.16 |