std: fix deprecated writer not handling the buffer

ec5cdb2fe3Andrew Kelley committed on 7/23/2025, 12:06:25 AMparent91640f5
2 files changedLine totals unavailable