mirror of
https://github.com/audacity/linuxdeploy.git
synced 2026-02-04 03:56:11 -06:00
Remove erroneous null termination
The std::string is created using char pointer _and_ buffer size, so null termination wasn't necessary in there (might even be problematic with other tools which aren't strictly text based). CC #35.
This commit is contained in:
parent
83a8f52f98
commit
4c0d5ea891
@ -163,7 +163,6 @@ namespace linuxdeploy {
|
||||
auto outBufSize = outBuf.size();
|
||||
outBuf.reserve(outBufSize + size + 1);
|
||||
std::copy(buf.begin(), buf.begin() + size, std::back_inserter(outBuf));
|
||||
outBuf.push_back('\0');
|
||||
}
|
||||
} while (lddProc.poll() < 0);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user