Skip to content

Make seek work on /dev/null #22886

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

Merged
merged 2 commits into from
Nov 18, 2024
Merged

Conversation

hoodmane
Copy link
Collaborator

@hoodmane hoodmane commented Nov 8, 2024

Seeking /dev/null should work and do nothing instead of returning EPIPE. This fixes it.

@hoodmane hoodmane mentioned this pull request Nov 8, 2024
4 tasks
Copy link
Collaborator

@sbc100 sbc100 left a comment

Choose a reason for hiding this comment

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

LGTM % comment

@hoodmane
Copy link
Collaborator Author

Okay I moved the test to test_files.c as requested.

@sbc100 sbc100 enabled auto-merge (squash) November 14, 2024 16:48
@hoodmane
Copy link
Collaborator Author

Is the CI stuck here?

@sbc100
Copy link
Collaborator

sbc100 commented Nov 18, 2024

Hmm.. can you try rebasing or merging, to see if it will trigger?

Seeking `/dev/null` should work and do nothing instead of returning `EPIPE`.
This fixes it.
auto-merge was automatically disabled November 18, 2024 18:48

Head branch was pushed to by a user without write access

@sbc100 sbc100 enabled auto-merge (squash) November 18, 2024 19:00
@sbc100 sbc100 merged commit 437140d into emscripten-core:main Nov 18, 2024
28 checks passed
@hoodmane hoodmane deleted the dev-null-seek branch December 9, 2024 15:50
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