-
Notifications
You must be signed in to change notification settings - Fork 195
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
deploy: Don't leak file descriptor passed for local rebases #2211
deploy: Don't leak file descriptor passed for local rebases #2211
Conversation
(Only compile tested) |
I've just read the fd-stealing internals behind this and I'm somehow amazed. It seems to be using |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: cgwalters, jlebon The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Yeah... we don't do any logging right now. You're right we probably should in general log something in case it helps to debug some higher-level issues (at least in write contexts, if not in read contexts like this one). |
That's how libc works right?
Ah well...see, This is...mostly OK as long as you don't have any buffering involved. But IMO it is an evil trap today in Rust how one can create a |
Came up in #2210