The Wayback Machine - https://web.archive.org/web/20220525034744/https://github.com/uutils/coreutils/pull/3275
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

split: catch and handle broken pipe errors #3275

Merged
merged 1 commit into from Mar 19, 2022

Conversation

jfinkels
Copy link
Contributor

@jfinkels jfinkels commented Mar 19, 2022

Catch BrokenPipe errors and silently ignore them so that split
terminates successfully on a broken pipe. This matches the behavior of
GNU split.

This will fix one of the GNU test cases in tests/split/filter.sh.

Catch `BrokenPipe` errors and silently ignore them so that `split`
terminates successfully on a broken pipe. This matches the behavior of
GNU `split`.
@sylvestre
Copy link
Contributor

@sylvestre sylvestre commented Mar 19, 2022

The freebsd errors seem to be unrelated:
2022-03-19T17:11:29.5509580Z ssh_dispatch_run_fatal: Connection to 127.0.0.1 port 2222: message authentication code incorrect

@sylvestre sylvestre merged commit f4146da into uutils:main Mar 19, 2022
40 of 41 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants