diff options
author | Lars-Dominik Braun <lars@6xq.net> | 2012-04-20 22:05:22 +0200 |
---|---|---|
committer | Lars-Dominik Braun <lars@6xq.net> | 2012-04-20 22:05:22 +0200 |
commit | bbed23df60c4bfc067b4f7c03574cfe11cc8bb60 (patch) | |
tree | 6e5bb509bc46db4039675092ab45b7375f852caa /COPYING | |
parent | 35763dea799c96361e288a10eab0fbd16c36e880 (diff) | |
download | pianobar-bbed23df60c4bfc067b4f7c03574cfe11cc8bb60.tar.gz pianobar-bbed23df60c4bfc067b4f7c03574cfe11cc8bb60.tar.bz2 pianobar-bbed23df60c4bfc067b4f7c03574cfe11cc8bb60.zip |
Don’t unlock mutex that is not locked
Strict pthread implementations (like OpenBSD’s rthreads with
PTHREAD_MUTEX_TYPE_STRICT_NP set) don’t allow unlocking a mutex that is
not locked, resulting in abort() being called. Always aquiring the lock
before unlocking it while skipping to the next song fixes this. Thanks
to David Coppa.
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions