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

factor: short circuit on write error, but not on parse error #5225

Merged

Conversation

tertsdiepraam
Copy link
Member

@tertsdiepraam tertsdiepraam commented Aug 30, 2023

Should fix this line in the GNU tests:

yes 1 | factor > /dev/full

which prints a lot of lines in the logs right now. (To be exact, 617,310 lines)

I've also removed factors_buffer, which was originally added to ensure only full lines are being written. However, in my testing, the tests for that did not break (on my machine), so I figured all was good.

@tertsdiepraam tertsdiepraam force-pushed the factor-short-circuit-write-error branch from 35cad3d to 0507f99 Compare August 30, 2023 15:50
@tertsdiepraam tertsdiepraam force-pushed the factor-short-circuit-write-error branch from 0507f99 to 9a67393 Compare August 30, 2023 16:51
@sylvestre sylvestre merged commit 633ae06 into uutils:main Sep 1, 2023
42 of 45 checks passed
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.

None yet

2 participants