Skip to content

pipes.rs: dedup code by including fallback to splice_exact#12472

Open
oech3 wants to merge 1 commit into
uutils:mainfrom
oech3:splice-exact-dedup
Open

pipes.rs: dedup code by including fallback to splice_exact#12472
oech3 wants to merge 1 commit into
uutils:mainfrom
oech3:splice-exact-dedup

Conversation

@oech3
Copy link
Copy Markdown
Contributor

@oech3 oech3 commented May 24, 2026

I noticed that it is able to include reas/write fallback to splice_exact by #12451 (comment) .

@oech3 oech3 force-pushed the splice-exact-dedup branch 2 times, most recently from 63432cc to c547256 Compare May 24, 2026 22:52
@github-actions
Copy link
Copy Markdown

GNU testsuite comparison:

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

@oech3 oech3 marked this pull request as ready for review May 24, 2026 23:55
dest: &impl AsFd,
len: usize,
) -> std::io::Result<Result<(), ()>> {
let mut left = len;
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
let mut left = len;
let mut remaining = len;

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