-
Notifications
You must be signed in to change notification settings - Fork 5.5k
Avoid encoding unchanged process environments on Unix #130790
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
base: main
Are you sure you want to change the base?
Changes from all commits
3cf4baa
3a19eca
fa1d43b
73ed42b
9527830
4fd7339
a9cc034
e7d1075
fc01ed6
61316cc
f5cc460
ac58591
b5045c1
08895f7
5ecbfa6
cb1e290
c0f3fd4
4fa9292
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -12,6 +12,12 @@ namespace System | |||||||||||||||||||||||||||||||||
| { | ||||||||||||||||||||||||||||||||||
| public static partial class Environment | ||||||||||||||||||||||||||||||||||
| { | ||||||||||||||||||||||||||||||||||
| private static volatile bool s_hasEnvironmentVariablesBeenModified; | ||||||||||||||||||||||||||||||||||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. to other reviewers: this logic is part of runtime/src/libraries/System.Private.CoreLib/src/System.Private.CoreLib.Shared.projitems Line 2683 in 402ed14
As it seems that for CLR we compile runtime/src/libraries/System.Private.CoreLib/src/System.Private.CoreLib.Shared.projitems Lines 2412 to 2426 in 402ed14
|
||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||
| internal static bool HasEnvironmentVariablesBeenModified => s_hasEnvironmentVariablesBeenModified; | ||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||
| static partial void SetHasEnvironmentVariablesBeenModified() => s_hasEnvironmentVariablesBeenModified = true; | ||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||
| public static string[] GetLogicalDrives() => Interop.Sys.GetAllMountPoints(); | ||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||
| public static string MachineName | ||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||
Uh oh!
There was an error while loading. Please reload this page.