Skip to content

Conversation

karlmcdowall
Copy link
Contributor

Update sum to properly propagate errors from file-reads, including implementing a retry on ErrorKind::Interrupted. Also switch to using writeln! rather than println! to prevent crashes if stdout is directed to /dev/full

Update sum to properly propagate errors from file-reads,
including implementing a retry on ErrorKind::Interrupted.
Also switch to using writeln! rather than println! to prevent
crashes if stdout is directed to /dev/full
Copy link

GNU testsuite comparison:

Skip an intermittent issue tests/timeout/timeout (fails in this run but passes in the 'main' branch)

@sylvestre sylvestre merged commit f5241e9 into uutils:main Mar 29, 2025
68 checks passed
@karlmcdowall karlmcdowall deleted the sum_error_handling branch July 5, 2025 20:27
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.

2 participants