Skip to content

Fix issue 1811 #2123

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

Closed
wants to merge 5 commits into from
Closed

Conversation

kphillisjr
Copy link
Contributor

This implements the changes required to fix issue #1811. There is only two changes and this ensures that ch runs correctly after on Linux/OSX.

Also, this pull request is branched off of another pull request ( see: #2111 )

This file defines a single macro that attempts to autoconfigure chakracore.
The Shared Library for ChakraCore already contains all symbols needed. This
means that most applications will only need symbols that are exported by
libChakraCore.so or libChakraCore.dylib.
This file is intended to be under MIT license.
This provides a solution to issue chakra-core#1811, but this also breaks the ch utility
in the process.
@msftclas
Copy link

Hi @kphillisjr, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!

The agreement was validated by Microsoft and real humans are currently evaluating your PR.

TTYL, MSBOT;

There is no reason for xplat to have this function be non-reentrant.
This also reduces the number of code changes in issue chakra-core#1811 since
this change fixes the issue with running ch.
@@ -296,7 +296,7 @@ char16 const * DynamicProfileStorage::GetMessageType()

bool DynamicProfileStorage::Initialize()
{
AssertMsg(!initialized, "Initialize called multiple times");
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This change was supposed to be an definition check against _WIN32. For xplat this function is safe to call repeatedly.

@kphillisjr
Copy link
Contributor Author

Resubmitted as pull request #2124

@kphillisjr kphillisjr closed this Nov 30, 2016
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