Repository navigation
Revert "Apply NuGet.Client close-on-exec fix" - #8567
Merged
Merged
Conversation
This reverts commit 07a8448.
|
Azure Pipelines: Successfully started running 1 pipeline(s). 1 pipeline(s) were filtered out due to trigger conditions. There may be pipelines that require an authorized user to comment /azp run to run. |
agocke
enabled auto-merge (squash)
August 22, 2026 15:19
Contributor
There was a problem hiding this comment.
Pull request overview
Reverts the Unix open(..., O_CLOEXEC) implementation and restores the previous creat()-based file creation behavior.
Changes:
- Removes platform-specific close-on-exec flags and P/Invoke logic.
- Restores the corresponding error message and analyzer suppression text.
Show a summary per file
| File | Description |
|---|---|
| src/nuget-client/src/NuGet.Core/NuGet.Packaging/NuGetExtractionFileIO.cs | Updated as part of this pull request. |
| src/nuget-client/src/NuGet.Core/NuGet.Packaging/GlobalSuppressions.cs | Updated as part of this pull request. |
Review details
💡 Add a code-review agent skill for context-aware, tailored reviews. Learn more in the docs.
- Files reviewed: 2/2 changed files
- Comments generated: 1
- Review effort level: Lite
akoeplinger
approved these changes
Aug 24, 2026
Member
|
Thanks. It looks like this actually caused test failures on osx-arm64. |
2 of 3 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Reverts #8490
this fix was incorrect because open is a variadic function and you can’t pinvoke it directly. The proper fix is being tested in nuget now