Each -printf invocation created a memstream, then freed the underlying
buffer without closing the stream, resulting in a segfault on exit
when libc tried to flush all the streams.
While here, simplify the implementation of %h.
Fixes: 7b9c912c41f4
Differential D51776
find: Fix -printf des on Wed, Aug 6, 10:16 PM. Authored by Tags None Referenced Files
Subscribers
Details
Each -printf invocation created a memstream, then freed the underlying While here, simplify the implementation of %h. Fixes: 7b9c912c41f4
Diff Detail
Event TimelineComment Actions This looks good. It matches what I have, plus fixes 'h'. So go ahead and test/commit it. |