[Toybox] [PATCH] ts.c: Remove MAYFORK, Add in LINEBUF

Oliver Webb aquahobbyist at proton.me
Tue Feb 27 12:48:40 PST 2024


Back in September when I wrote ts, I added TOYFLAG_MAYFORK in the flags,
this patch removes that.

TOYFLAG_LINEBUF for ts makes sense, the main use case for ts is creating
log files for daemons (foobard | ts | tee logfile). If something happens
(Kernel Panic, Power Off, SIGKILL, etc) It should keep previously outputted lines.
Instead of losing them in the output buffer

-   Oliver Webb <aquahobbyist at proton.me>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-ts-remove-MAYFORK-add-in-LINEBUF.patch
Type: text/x-patch
Size: 617 bytes
Desc: not available
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20240227/8f7f5e2f/attachment.bin>


More information about the Toybox mailing list