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

Fix rcutils_shared_library_t path on Windows. #322

Merged
merged 1 commit into from
Jan 7, 2021

Conversation

hidmic
Copy link
Contributor

@hidmic hidmic commented Jan 7, 2021

Precisely what the title says. GetModuleFileName() returns the size of the filename minus the null-terminating character...

CI up to rcutils and rcpputils:

  • Linux Build Status
  • Linux-aarch64 Build Status
  • macOS Build Status
  • Windows Build Status
  • Windows Debug Build Status

GetModuleFileName() returns the size of the filename
*minus* the null-terminating character.

Signed-off-by: Michel Hidalgo <michel@ekumenlabs.com>
Copy link
Contributor

@clalancette clalancette left a comment

Choose a reason for hiding this comment

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

Good catch.

@hidmic
Copy link
Contributor Author

hidmic commented Jan 7, 2021

Thanks!

@hidmic hidmic merged commit c8373a9 into master Jan 7, 2021
@delete-merged-branch delete-merged-branch bot deleted the hidmic/fix-shared-library-path-on-windows branch January 7, 2021 20:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants