Skip to content

Conversation

@mattsu2020
Copy link
Contributor

fix this issue

related
#10574

- Added generic `W: Write` parameter to `print_final_offset()` method
- Updated all `odfunc()` calls to pass output writer explicitly
- Replaced direct `println!()` calls with `writeln!(out, ...)` throughout
- Enables dependency injection for output streams in tests
- Maintains existing functionality while improving testability
Reformatted the `odfunc` call to improve code readability by breaking it into multiple lines with proper indentation. This change enhances code maintainability without altering functionality.
@github-actions
Copy link

GNU testsuite comparison:

Skipping an intermittent issue tests/shuf/shuf-reservoir (passes in this run but fails in the 'main' branch)
Skipping an intermittent issue tests/sort/sort-stale-thread-mem (passes in this run but fails in the 'main' branch)
Skipping an intermittent issue tests/tail/inotify-dir-recreate (passes in this run but fails in the 'main' branch)
Congrats! The gnu test tests/basenc/bounded-memory is now passing!

@cakebaker cakebaker linked an issue Jan 30, 2026 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

od -v /dev/zero panic

1 participant