Skip to content

Conversation

zhitkoff
Copy link
Contributor

@zhitkoff zhitkoff commented Nov 25, 2023

Pass GNU test tests/split/r-chunk.sh
Implement handling system limit on open files (ulimit -n) following the same approach as in GNU split, i.e. running up to the limit, catch an error on instantiating next writer to a file, closing one of the existing writers to free up resources and re-trying to instantiate a writer again, including tracking new vs. append to previously created and closed writers.
Tests.

Copy link

github-actions bot commented Nov 25, 2023

GNU testsuite comparison:

Congrats! The gnu test tests/split/r-chunk is no longer failing!

@zhitkoff
Copy link
Contributor Author

@sylvestre @tertsdiepraam would you mind taking a look at this one? It should complete split GNU test compliance

@sylvestre
Copy link
Contributor

terrific, bravo :)

@sylvestre sylvestre merged commit b5ce876 into uutils:main Nov 28, 2023
@zhitkoff zhitkoff deleted the split-r-chunk branch December 3, 2023 21:07
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