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

Remove more swprintf_s uses #77228

Merged
merged 5 commits into from
Oct 20, 2022

Conversation

AaronRobinsonMSFT
Copy link
Member

@AaronRobinsonMSFT AaronRobinsonMSFT commented Oct 19, 2022

This removes the last uses of swprintf_s and thus can be removed from the PAL.

src/coreclr/pal/src/misc/fmtmessage.cpp Outdated Show resolved Hide resolved
src/coreclr/jit/fgdiagnostic.cpp Outdated Show resolved Hide resolved
@AaronRobinsonMSFT AaronRobinsonMSFT marked this pull request as ready for review October 19, 2022 22:20
Copy link
Member

@janvorli janvorli left a comment

Choose a reason for hiding this comment

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

LGTM, thank you!

@AaronRobinsonMSFT AaronRobinsonMSFT merged commit 35f4967 into dotnet:main Oct 20, 2022
@AaronRobinsonMSFT AaronRobinsonMSFT deleted the remove_more_printf branch October 20, 2022 14:48
@am11
Copy link
Member

am11 commented Oct 20, 2022

This PR has broken mono build

https://dev.azure.com/dnceng-public/public/_build/results?buildId=58398&view=logs&jobId=09abd379-6e00-520a-dbc1-1ced895342b5&j=09abd379-6e00-520a-dbc1-1ced895342b5&t=e4972926-a910-54c6-e301-cbf7699adb4c

  [ 94%] Building CXX object dlls/mscordbi/utilcode/CMakeFiles/utilcode_obj.dir/opinfo.cpp.o
  [ 94%] Building CXX object dlls/mscordbi/utilcode/CMakeFiles/utilcode_obj.dir/corimage.cpp.o
  /Users/runner/work/1/s/src/mono/dlls/dbgshim/dbgshim.cpp:64:5: error: use of undeclared identifier 'swprintf_s'
      swprintf_s(w_android_run_adb_command, 2048, W("%ws %ws"), w_android_adb_path, w_command_to_execute);
      ^

@AaronRobinsonMSFT
Copy link
Member Author

This PR has broken mono build

Fix is #77284

@ghost ghost locked as resolved and limited conversation to collaborators Nov 19, 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.

5 participants