- 27 Jan, 2013 9 commits
-
-
Max Kellermann authored
Usually, when strndup() is not available, strndup() isn't either, because both are POSIX 2008.
-
Max Kellermann authored
The libwrap version on Mac OS X is broken, it will not work with C++ due to broken function prototypes.
-
Denis Krjuchkov authored
-
Denis Krjuchkov authored
-
Denis Krjuchkov authored
-
Denis Krjuchkov authored
-
Denis Krjuchkov authored
-
Max Kellermann authored
-
Max Kellermann authored
-
- 26 Jan, 2013 7 commits
-
-
Denis Krjuchkov authored
-
Denis Krjuchkov authored
-
Max Kellermann authored
Hide the definition from C code, to prepare the transition to C++.
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Denis Krjuchkov authored
-
- 25 Jan, 2013 2 commits
-
-
Max Kellermann authored
This fixes a deadlock bug introduced by 18076ac9. After all, the second Cond was necessary. The problem: two threads can wait for a signal at the same time. The player thread waits for the output thread to finish playback. The main thread waits for the player thread to complete a command. The output thread finishes playback, and sends a signal, which unfortunately does not wake up the player thread, but the main thread. The main thread sees that the command is still not finished, and waits again. The signal is lost forever, and MPD is deadlocked.
-
Max Kellermann authored
-
- 24 Jan, 2013 1 commit
-
-
Max Kellermann authored
-
- 23 Jan, 2013 1 commit
-
-
Max Kellermann authored
-
- 21 Jan, 2013 16 commits
-
-
Denis Krjuchkov authored
-
Denis Krjuchkov authored
-
Denis Krjuchkov authored
- DirectoryReader is extracted to separate header - FileSystem.cxx/FileSystem.hxx/DirectoryReader.hxx moved to fs/ subdir - Functions return true on success, instead of 0 (where applicable) - ReadLink return result instead of out parameter - UnlinkFile is renamed to RemoveFile - CheckExists/CheckIsRegular/CheckIsDirectory are renamed to PathExists/FileExists/DirectoryExists
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
- 20 Jan, 2013 2 commits
-
-
Max Kellermann authored
-
Denis Krjuchkov authored
-
- 19 Jan, 2013 1 commit
-
-
Denis Krjuchkov authored
This file was used previously to force C++ linkage. It's no longer required because most of the code is C++ anyway.
-
- 18 Jan, 2013 1 commit
-
-
Max Kellermann authored
-