aboutsummaryrefslogtreecommitdiffstats
path: root/src/mp4ff/drms.c
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2008-10-12 05:08:12 -0700
committerEric Wong <normalperson@yhbt.net>2008-10-12 05:27:34 -0700
commitc7579ca2d8422f0172537e1ca7d1bd46edfc4f9d (patch)
treec45d0be2a1049ea0498e8c80716c105c869d9408 /src/mp4ff/drms.c
parentc7fb996848715ee43f5df238aff75e561a4451b9 (diff)
downloadmpd-c7579ca2d8422f0172537e1ca7d1bd46edfc4f9d.tar.gz
mpd-c7579ca2d8422f0172537e1ca7d1bd46edfc4f9d.tar.xz
mpd-c7579ca2d8422f0172537e1ca7d1bd46edfc4f9d.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 'src/mp4ff/drms.c')
0 files changed, 0 insertions, 0 deletions