Skip to content

dd: fix stdout output#13066

Open
zhw2101024 wants to merge 2 commits into
uutils:mainfrom
zhw2101024:fix_stdout_output
Open

dd: fix stdout output#13066
zhw2101024 wants to merge 2 commits into
uutils:mainfrom
zhw2101024:fix_stdout_output

Conversation

@zhw2101024

Copy link
Copy Markdown
Contributor

Fixes #11557
Added DdError since io::Result as return type is not enough for this fix.
Many changes to pass the clippy checks, please tell me if there's better solutions.

Comment thread src/uu/dd/src/dd.rs Outdated
@github-actions

github-actions Bot commented Jun 24, 2026

Copy link
Copy Markdown

GNU testsuite comparison:

Skip an intermittent issue tests/date/date-locale-hour (fails in this run but passes in the 'main' branch)
Skipping an intermittent issue tests/cut/bounded-memory (passes in this run but fails in the 'main' branch)

Comment thread src/uu/dd/src/dd.rs Outdated
@cakebaker cakebaker changed the title Fix stdout output dd: fix stdout output Jun 24, 2026
@oech3

oech3 commented Jun 24, 2026 via email

Copy link
Copy Markdown
Contributor

Comment thread src/uu/dd/src/dd.rs Outdated
Comment thread src/uu/dd/src/dd.rs Outdated
Comment thread src/uu/dd/src/dd.rs Outdated
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.

dd of=/dev/stdout cause Illegal seek

2 participants