From 788e3b31e1ab8243386339eaf136ede18f015d55 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 8 May 2017 14:48:58 +0200 Subject: *: remove "pure" and "const" attributes from throwing functions The "pure" and "const" attributes are not so well-defined, and a recent clang version implements an optimization which pushes the definition's boundary beyond what I believed it was. clang now assumes that functions declared "pure" cannot throw exceptions, even if they lack the "noexcept" specification. When compiled with this new clang version, MPD will crash randomly if an exception happens to get thrown by such as "pure" function (https://github.com/MusicPlayerDaemon/MPD/issues/41). This commit removes all such misplaced "pure" and "const" attributes, closing #41. --- NEWS | 1 + 1 file changed, 1 insertion(+) (limited to 'NEWS') diff --git a/NEWS b/NEWS index c57c9dca3..349010e53 100644 --- a/NEWS +++ b/NEWS @@ -1,6 +1,7 @@ ver 0.20.7 (not yet released) * database - simple: fix false positive directory loop detection with NFS +* fix random crashes when compiled with clang ver 0.20.6 (2017/03/10) * input -- cgit v1.2.3 From f41a1694604752b95f81dd8b70b81c32a464237d Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 15 May 2017 22:39:57 +0200 Subject: Main: enforce a reasonable minimum audio_buffer_size setting --- NEWS | 1 + 1 file changed, 1 insertion(+) (limited to 'NEWS') diff --git a/NEWS b/NEWS index 349010e53..f81782417 100644 --- a/NEWS +++ b/NEWS @@ -1,6 +1,7 @@ ver 0.20.7 (not yet released) * database - simple: fix false positive directory loop detection with NFS +* enforce a reasonable minimum audio_buffer_size setting * fix random crashes when compiled with clang ver 0.20.6 (2017/03/10) -- cgit v1.2.3 From fa2b59df4b4dd0b480b3ee8d71d810e207cd806b Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 15 May 2017 22:25:39 +0200 Subject: Main: cap buffer_before_play at 80% to prevent deadlock Closes #34 --- NEWS | 1 + 1 file changed, 1 insertion(+) (limited to 'NEWS') diff --git a/NEWS b/NEWS index f81782417..b04e8cae9 100644 --- a/NEWS +++ b/NEWS @@ -2,6 +2,7 @@ ver 0.20.7 (not yet released) * database - simple: fix false positive directory loop detection with NFS * enforce a reasonable minimum audio_buffer_size setting +* cap buffer_before_play at 80% to prevent deadlock * fix random crashes when compiled with clang ver 0.20.6 (2017/03/10) -- cgit v1.2.3 From b4c9d9c2a72fbf2c6c9090c73fe37fcc94dce1ca Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 15 May 2017 22:51:08 +0200 Subject: release v0.20.7 --- NEWS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'NEWS') diff --git a/NEWS b/NEWS index b04e8cae9..f3786f689 100644 --- a/NEWS +++ b/NEWS @@ -1,4 +1,4 @@ -ver 0.20.7 (not yet released) +ver 0.20.7 (2017/05/15) * database - simple: fix false positive directory loop detection with NFS * enforce a reasonable minimum audio_buffer_size setting -- cgit v1.2.3