- 29 Mar, 2016 2 commits
-
-
Max Kellermann authored
The Mutex and Cond constructors are only "constexpr" with glibc, and this is what this #ifdef is about. Backport of commit 459a812a See http://bugs.musicpd.org/view.php?id=4511
-
Max Kellermann authored
-
- 18 Mar, 2016 1 commit
-
-
Max Kellermann authored
-
- 14 Mar, 2016 3 commits
-
-
Max Kellermann authored
When a reference counter is at its limit, don't allocate a new TagPoolSlot - that would result in many TagPoolSlot instances with ref==1. This in turn would make the linked list very very large, which means quadratic runtime for many operations.
-
Max Kellermann authored
-
Max Kellermann authored
-
- 07 Mar, 2016 5 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
Avoid wasting 4 kB stack per directory level.
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
- 06 Mar, 2016 5 commits
-
-
Max Kellermann authored
There were two ways this could fail: 1. division by zero when sysconf(_SC_PAGESIZE)==0 2. mmap() failure because the size parameter is not aligned to page size Neither ever happened: sysconf() never fails, and the only caller passes a size that is already aligned. Phew.
-
Max Kellermann authored
The old check unsigned(value) > std::numeric_limits<unsigned>::max() .. cannot ever fail.
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
- 01 Mar, 2016 2 commits
-
-
Max Kellermann authored
Apparently all other C libraries are not compatible with "constexpr". Those which are not will get a performance penalty, but at least they work at all.
-
Max Kellermann authored
-
- 23 Feb, 2016 5 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
Fixes disappearing duration of remote songs during playback. See http://bugs.musicpd.org/view.php?id=4492
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
The initgroups() manpage says we need to check for _BSD_SOURCE. The thing is that glibc deprecated this macro, and doesn't define it anymore, effectively breaking all MPD supplementary groups. The real fix is to check for initgroups() availability at configure time, instead of relying on the deprecated _BSD_SOURCE macro.
-
- 19 Feb, 2016 3 commits
-
-
Chris Spiegel authored
-
Max Kellermann authored
Apply padding only to the fseek(), not to the chunk size. This fixes bogus "failed to read riff chunk" messages when the last chunk has an odd size. See http://bugs.musicpd.org/view.php?id=4486
-
Max Kellermann authored
-
- 15 Dec, 2015 5 commits
-
-
Max Kellermann authored
-
Benno Fünfstück authored
-
Ben Boeckel authored
These are other popular clients. In particular, VLC is available on mobile devices. Signed-off-by: Ben Boeckel <mathstuf@gmail.com>
-
Christian Hesse authored
systemd does not understand LimitRTTIME=-1. For no limit we have to use the string 'infinity' (see systemd.exec(5)). Signed-off-by: Christian Hesse <mail@eworm.de>
-
Jörg Krause authored
Add ALSA_LIBS to MIXER_LIBS, otherwise building mpd in a static context fails with lot of undefined references to alsa-lib (libasound) required by src/mixer/plugins/AlsaMixerPlugin.cxx. Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
-
- 10 Nov, 2015 2 commits
-
-
Michael Paquier authored
-
Max Kellermann authored
-
- 27 Oct, 2015 3 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
This systemd feature has been removed a while ago without replacement, and it turns out that systemd developers suggest not using control groups at all to assign real-time privileges. Therfore, a replacement feature will not be implement in future systemd releases, and we can really remove those lines completely. See http://bugs.musicpd.org/view.php?id=4413
-
Max Kellermann authored
-
- 26 Oct, 2015 4 commits
-
-
Max Kellermann authored
Fixes http://bugs.musicpd.org/view.php?id=4432
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
Fixes mixer lag (http://bugs.musicpd.org/view.php?id=4425).
-