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

Delete SegmentCommandLine from utilcode #71111

Merged
merged 1 commit into from
Jun 22, 2022
Merged

Conversation

jkotas
Copy link
Member

@jkotas jkotas commented Jun 22, 2022

No description provided.

@dotnet-issue-labeler
Copy link

I couldn't figure out the best area label to add to this PR. If you have write-permissions please help me learn by adding exactly one area label.

@ghost ghost assigned jkotas Jun 22, 2022
@jkotas jkotas force-pushed the SegmentCommandLine branch from 27132c5 to cb32415 Compare June 22, 2022 03:33
@@ -424,37 +423,10 @@ int ProcessOneArg(_In_ __nullterminated char* szArg, _Out_ char** ppszObjFileNam
return 0;
}

char* UTF8toANSI(_In_ __nullterminated char* szUTF)
Copy link
Member Author

Choose a reason for hiding this comment

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

Instead of doing all these complicated conversions, we just use the argc+argv from the standard C main or wmain methods.

Copy link
Member

@AaronRobinsonMSFT AaronRobinsonMSFT left a comment

Choose a reason for hiding this comment

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

Yay!

@jkotas
Copy link
Member Author

jkotas commented Jun 22, 2022

Test failure is #70969

@jkotas jkotas merged commit 4dc676f into dotnet:main Jun 22, 2022
@jkotas jkotas deleted the SegmentCommandLine branch June 22, 2022 15:38
@ghost ghost locked as resolved and limited conversation to collaborators Jul 22, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants