diff options
author | Eric Wong <normalperson@yhbt.net> | 2008-10-21 01:35:11 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-10-21 01:35:11 +0200 |
commit | d52437d43f159bc03072bedcf2ac8aa7766be0ea (patch) | |
tree | 237298944250a54344b90a8df24d72576bc2411f /configure.ac | |
parent | 9aeacdef5631d5bab67e055a3aa56ba1390c2ea0 (diff) | |
download | mpd-d52437d43f159bc03072bedcf2ac8aa7766be0ea.tar.gz mpd-d52437d43f159bc03072bedcf2ac8aa7766be0ea.tar.xz mpd-d52437d43f159bc03072bedcf2ac8aa7766be0ea.zip |
update: fix multiple deletes from *vec iterators
{song,dir}vec_for_each each failed to gracefully handle deleted
files when iterating through. While we were thread-safe, we
were not safe within the calling thread. If a callback we
passed caused sv->nr to shring, our index would still increment;
causing files to stay in the database.
A way to test this is to remove 10 or so contiguous songs from a
>10 song directory.
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions