mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-07 03:50:11 +02:00
Append to the STDERR stream
This got lost when changing from using `std::cerr` to opening `/dev/stderr` directly.
This commit is contained in:
@@ -59,6 +59,9 @@ Versioning](https://semver.org/spec/v2.0.0.html).
|
||||
- Fixed VST2 speaker arrangement configurations returned by the plugin not being
|
||||
serialized correctly. No plugins seem to actually use these, so it should not
|
||||
have caused any issues.
|
||||
- Fixed yabridge's logging seeking STDERR to position 0 every time it writes a
|
||||
log message. This would be noticeable when piping a DAW's STDERR stream to a
|
||||
file when `YABRIDGE_DEBUG_LEVEL` wasn't set.
|
||||
- When printing the Wine version during initialization, the Wine process used
|
||||
for this is now run under the same environment as the Wine plugin host process
|
||||
will be run under. This means that when using a custom `WINELOADER` script to
|
||||
|
||||
@@ -77,7 +77,8 @@ Logger Logger::create_from_environment(std::string prefix) {
|
||||
// the only way to do this is by reopening the STDERR and STDOUT streams
|
||||
// to a pipe. Luckily `/dev/stderr` stays unaffected, so we can still
|
||||
// write there without causing infinite loops.
|
||||
return Logger(std::make_shared<std::ofstream>("/dev/stderr"),
|
||||
return Logger(std::make_shared<std::ofstream>(
|
||||
"/dev/stderr", std::fstream::out | std::fstream::app),
|
||||
verbosity_level, prefix);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user