Skip to content

Haiku: Add minipal_getexepath implementation#114519

Merged
jkotas merged 1 commit intodotnet:mainfrom
trungnt2910:dev/trungnt2910/haiku-minipal
Apr 11, 2025
Merged

Haiku: Add minipal_getexepath implementation#114519
jkotas merged 1 commit intodotnet:mainfrom
trungnt2910:dev/trungnt2910/haiku-minipal

Conversation

@trungnt2910
Copy link
Copy Markdown
Contributor

Add an implementation to get the full path to the current process's main executable based on the Haiku API.

Part of #55803.

Copilot AI review requested due to automatic review settings April 11, 2025 02:29
@ghost ghost added the needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners label Apr 11, 2025
@dotnet-policy-service dotnet-policy-service bot added the community-contribution Indicates that the PR has been added by a community member label Apr 11, 2025
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot reviewed 1 out of 1 changed files in this pull request and generated 1 comment.

return NULL;
}

return realpath(path, NULL);
Copy link

Copilot AI Apr 11, 2025

Choose a reason for hiding this comment

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

This return statement appears before the HAIKU branch, causing the Haiku-specific code to be bypassed. Consider moving this statement inside the appropriate conditional branch so that the Haiku implementations execute correctly.

Copilot uses AI. Check for mistakes.
@jkotas jkotas added area-PAL-coreclr and removed needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners labels Apr 11, 2025
@trungnt2910 trungnt2910 force-pushed the dev/trungnt2910/haiku-minipal branch from fcf2e8c to 9b754cc Compare April 11, 2025 14:05
@jkotas
Copy link
Copy Markdown
Member

jkotas commented Apr 11, 2025

You do not need to force push unless you want to make changes in the PR.

A lot of the CI failures are known issues. The maintainers will look at CI failures and re-trigger the CI as necessary.

@jkotas
Copy link
Copy Markdown
Member

jkotas commented Apr 11, 2025

unless you want to make changes in the PR.

And if you need to make changes in the PR, it is best to make them as additional commit instead of force pushing. Check out contribution guidelines at https://github.com/dotnet/runtime/blob/main/docs/workflow/ci/pr-guide.md#quick-code-review-rules

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-PAL-coreclr community-contribution Indicates that the PR has been added by a community member os-haiku

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants