Skip to content

Remove some unnecessary path manipulation helpers #77301

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

Merged
merged 1 commit into from
Oct 21, 2022

Conversation

elinor-fung
Copy link
Member

@elinor-fung elinor-fung commented Oct 21, 2022

LPCWSTR ext;
size_t extSize;
SplitPathInterior(szName, NULL, 0, NULL, 0, NULL, 0, &ext, &extSize);
if (SString::_wcsicmp(ext, W(".obj")) == 0)
{
m_FileType = FILETYPE_NTOBJ;
Copy link
Member

Choose a reason for hiding this comment

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

We can delete this special casing of .obj and .tlb files, and the matching FILETYPE_NTOBJ and FILETYPE_TLB enums. Nothing in .NET Core should be using these. (It can be a separate PR.)

Copy link
Member

@jkotas jkotas left a comment

Choose a reason for hiding this comment

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

Thanks!

@jkotas jkotas merged commit 2f9418d into dotnet:main Oct 21, 2022
@elinor-fung elinor-fung deleted the unused-path-util branch October 21, 2022 22:53
@ghost ghost locked as resolved and limited conversation to collaborators Nov 21, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants