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

dup() not supported #3454

Open
RalfJung opened this issue Apr 6, 2024 · 1 comment
Open

dup() not supported #3454

RalfJung opened this issue Apr 6, 2024 · 1 comment
Labels
A-shims Area: This affects the external function shims A-unix Area: affects our shared Unix target support C-enhancement Category: a PR with an enhancement or an issue tracking an accepted enhancement E-good-first-issue A good way to start contributing, mentoring is available

Comments

@RalfJung
Copy link
Member

RalfJung commented Apr 6, 2024

We support duplicating file descriptors via fcntl(F_DUPFD), but nut via dup. That's a bit silly. ;)
And we should probably support dup2, too.

(It also shows up in a standard library test that directly calls dup.)

@RalfJung RalfJung added the E-good-first-issue A good way to start contributing, mentoring is available label Apr 6, 2024
@RalfJung
Copy link
Member Author

RalfJung commented Apr 6, 2024

@ZoeS17 weren't you looking for a good first issue? This here would be a good one I think.

@RalfJung RalfJung added the A-shims Area: This affects the external function shims label Apr 6, 2024
@RalfJung RalfJung added the C-enhancement Category: a PR with an enhancement or an issue tracking an accepted enhancement label May 1, 2024
@RalfJung RalfJung added the A-unix Area: affects our shared Unix target support label May 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-shims Area: This affects the external function shims A-unix Area: affects our shared Unix target support C-enhancement Category: a PR with an enhancement or an issue tracking an accepted enhancement E-good-first-issue A good way to start contributing, mentoring is available
Projects
None yet
Development

No branches or pull requests

1 participant