diff options
author | Dag-Erling Smørgrav <des@FreeBSD.org> | 2025-08-07 01:23:32 +0000 |
---|---|---|
committer | Dag-Erling Smørgrav <des@FreeBSD.org> | 2025-08-07 01:23:32 +0000 |
commit | 02f394281fd67dc15afb26c51d52f2b4cbf28065 (patch) | |
tree | 01cb0f73f55e61ed2964c040343aff4d3027631b /share/man/man5/style.Makefile.5 | |
parent | 7378290edb5ad751d7d1e9bc7f96779d2bef1361 (diff) |
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. Drop the memstream, which
isn't really needed.
Furthermore:
* Change escape() to return char * instead of const char *
* Simplify the implementation of %h
* Fix %M, which printed an extra space
* Implement %l correctly
* Implement %Y and %y
* Add tests for everything except %S
Fixes: 7b9c912c41f4
Reviewed by: imp
Differential Revision: https://reviews.freebsd.org/D51776
Diffstat (limited to 'share/man/man5/style.Makefile.5')
0 files changed, 0 insertions, 0 deletions