https://issues.dlang.org/show_bug.cgi?id=20778
Dlang Bot <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |pull --- Comment #1 from Dlang Bot <[email protected]> --- @MoonlightSentinel updated dlang/druntime pull request #3787 "Fix 20778 - Ensure that _d_print_throwable prints the entire message" fixing this issue: - Fix 20778 - Ensure that _d_print_throwable prints the entire message The previous implementation simply forwarded the pointer + length to `fprintf` and didn't check the return value. This caused the message to be truncated for the following cases: - it contains `\0` (the bug report) - the length is greater than `int.max` This commit changes the implementation s.t. it checks the character count written to `stderr` (the return value) and prints the remainder of the string if necessary. https://github.com/dlang/druntime/pull/3787 --
