# HG changeset patch # User yaz # Date 1160659272 25200 # Node ID 77e8e032601bad9618615d06798d634912a3ce39 # Parent bb090afdc8680377dc9da1a15457c016dac5d28f [svn] - fix for lock contention on saving m3u. locking playlist has been done in playlist_save(). diff -r bb090afdc868 -r 77e8e032601b ChangeLog --- a/ChangeLog Thu Oct 12 05:04:58 2006 -0700 +++ b/ChangeLog Thu Oct 12 06:21:12 2006 -0700 @@ -1,3 +1,12 @@ +2006-10-12 12:04:58 +0000 William Pitcock + revision [178] + - some fixes via alxorlov on the forums + + trunk/src/m3u/m3u.c | 12 +++++++----- + trunk/src/mpg123/fileinfo.c | 6 ++++-- + 2 files changed, 11 insertions(+), 7 deletions(-) + + 2006-10-07 20:34:06 +0000 Jonathan Schleifer revision [176] - Replace ?= at CFLAGS, CPPFLAGS and CXXFLAGS with += diff -r bb090afdc868 -r 77e8e032601b src/m3u/m3u.c --- a/src/m3u/m3u.c Thu Oct 12 05:04:58 2006 -0700 +++ b/src/m3u/m3u.c Thu Oct 12 06:21:12 2006 -0700 @@ -153,8 +153,6 @@ if (cfg.use_pl_metadata) vfs_fprintf(file, "#EXTM3U\n"); - PLAYLIST_LOCK(); - for (node = playlist_get(); node; node = g_list_next(node)) { PlaylistEntry *entry = PLAYLIST_ENTRY(node->data); @@ -179,8 +177,6 @@ vfs_fprintf(file, "%s\n", entry->filename); } - PLAYLIST_UNLOCK(); - vfs_fclose(file); }