Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix unwanted indentation in
StdStream.print
When printing via `StdStream.print` strings containing the null terminator, we were just printing the string until the null terminator and replacing the unprinted characters by padding the printed string with space characters. This behavior made `String.size()` inconsistent with what `fprintf` was really printing. This behavior has been introduced in #1768, which ensure we respected the buffer size. Closes #4171
- Loading branch information