Merge branch 'v0.23.x'
This commit is contained in:
commit
d5d25d78da
4
NEWS
4
NEWS
|
@ -18,6 +18,10 @@ ver 0.24 (not yet released)
|
|||
* static partition configuration
|
||||
* remove Haiku support
|
||||
|
||||
ver 0.23.10 (not yet released)
|
||||
* Windows
|
||||
- log to stdout by default, don't require "log_file" setting
|
||||
|
||||
ver 0.23.9 (2022/08/18)
|
||||
* input
|
||||
- cdio_paranoia: add options "mode" and "skip"
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="org.musicpd"
|
||||
android:installLocation="auto"
|
||||
android:versionCode="68"
|
||||
android:versionName="0.23.9">
|
||||
android:versionCode="69"
|
||||
android:versionName="0.23.10">
|
||||
|
||||
<uses-sdk android:minSdkVersion="21" android:targetSdkVersion="30"/>
|
||||
|
||||
|
|
|
@ -158,12 +158,15 @@ log_init(const ConfigData &config, bool verbose, bool use_stdout)
|
|||
getenv("NOTIFY_SOCKET") != nullptr) {
|
||||
/* if MPD was started as a systemd
|
||||
service, default to journal (which
|
||||
is connected to fd=2) */
|
||||
is connected to stdout&stderr) */
|
||||
out_fd = STDOUT_FILENO;
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
#ifndef HAVE_SYSLOG
|
||||
#ifdef _WIN32
|
||||
/* default to stdout on Windows */
|
||||
out_fd = STDOUT_FILENO;
|
||||
#elif !defined(HAVE_SYSLOG)
|
||||
throw std::runtime_error("config parameter 'log_file' not found");
|
||||
#endif
|
||||
#ifdef HAVE_SYSLOG
|
||||
|
|
|
@ -166,7 +166,7 @@ class Iso9660InputStream final : public InputStream {
|
|||
assert(fill <= data.size());
|
||||
assert(position <= fill);
|
||||
|
||||
return {&data[position], &data[fill]};
|
||||
return {data.data() + position, data.data() + fill};
|
||||
}
|
||||
|
||||
void Consume(size_t nbytes) noexcept {
|
||||
|
|
|
@ -20,6 +20,7 @@ test(
|
|||
dependencies: [
|
||||
net_dep,
|
||||
fs_dep,
|
||||
util_dep,
|
||||
gtest_dep,
|
||||
],
|
||||
),
|
||||
|
|
Loading…
Reference in New Issue