-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Apply StackString for pal MAX_LONGPATH references. #1689
Conversation
src/pal/src/debug/debug.cpp
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please fix text alignment here
LGTM modulo my comments. |
src/pal/src/debug/debug.cpp
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: extra whitespace.
@dotnet-bot test this please |
LGTM |
build failing with centos job not found
|
@Priya91 That's a good point. It seems it could be null if there was an assert or if someone added an explicit call to DebugBreak before the variable is initialized. So we should handle the case. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can just assign integer zero and get rid of this test. That works for both char and WCHAR.
LGTM modulo the comment |
Yeah you can probably ignore it. |
/cc @AndyGerlicher @rainersigwald This is the code task factory failure I was talking about |
Apply StackString for pal MAX_LONGPATH references.
Apply StackString for pal MAX_LONGPATH references. Commit migrated from dotnet/coreclr@0633a25
cc @jkotas @JeremyKuhne @janvorli