Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sort: add retry logic on file-descriptor exhaustion #7197

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

karlmcdowall
Copy link
Contributor

Partial fix for bug #5714
Rework the merging logic to continue if we error-out due to file descriptor exhaustion. Merging will only stop if no progress can be made.
Also minor tweek to code handling output-is-an-input scenario to prevent a double-open of the generated temp-file.
Updated appropriate test case.

Partial fix for bug uutils#5714
Rework the merging logic to continue if we error-out due to file
descriptor exhaustion. Merging will only stop if no progress can
be made.
Also minor tweek to code handling output-is-an-input scenario to
prevent a double-open of the generated temp-file.
Updated appropriate test case.
@karlmcdowall karlmcdowall force-pushed the sort_replace_file_copy branch from f2af55a to eadc90a Compare January 22, 2025 20:52
Copy link

GNU testsuite comparison:

GNU test failed: tests/sort/sort-merge. tests/sort/sort-merge is passing on 'main'. Maybe you have to rebase?
Skipping an intermittent issue tests/misc/stdbuf (passes in this run but fails in the 'main' branch)
Skipping an intermittent issue tests/misc/usage_vs_getopt (passes in this run but fails in the 'main' branch)

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.

1 participant