* tail: fix panic on write error in bounded_tail
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* tail: increase test file size to ensure bounded_tail path
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
The `TmpDirWrapper::Drop` only cleared handler state without attempting
to delete the temporary directory. Cleanup relied entirely on the inner
`TempDir::Drop`, which silently ignores errors via `let _ =
remove_dir_all()`, potentially leaking `/tmp/uutils_sortXXXX`
directories.
Now `remove_tmp_dir` is called explicitly before `TempDir::Drop` runs,
providing a safety net for cases where the silent cleanup would fail.
Closes: #11728
The `should_install_signal_handler()` check added in 87c332c72 skipped
handler installation on systems with many open FDs, meaning Ctrl+C left
`/tmp/uutils_sortXXXX` directories behind with no cleanup at all.
Now the handler is always attempted; `ctrlc::set_handler` failing
naturally is sufficient. Failure is treated as non-fatal.
Closes: #11728