• Eric Wong's avatar
    update: fix multiple deletes from *vec iterators · d52437d4
    Eric Wong authored
    {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.
    d52437d4
Name
Last commit
Last update
doc Loading commit data...
m4 Loading commit data...
scripts Loading commit data...
src Loading commit data...
.gitignore 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...
configure.ac Loading commit data...