Skip to content

Update JerryScript dependency #344

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

Merged
merged 1 commit into from
Mar 25, 2016

Conversation

LaszloLango
Copy link
Contributor

IoT.js-DCO-1.0-Signed-off-by: László Langó [email protected]

@@ -130,7 +130,7 @@ static JResult WrapEval(const char* source) {
int len2 = strlen(source);
int len3 = strlen(wrapper[1]);

String code("", len1 + len2 + len3 + 1);
String code("", len1 + len2 + len3);
Copy link
Member

Choose a reason for hiding this comment

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

There is already a fix related to this issue in a pending PR (#330). As far as I can remember, it does not even need an updated jerry. I'd suggest (or ask, actually) to get that landed first.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sorry, I don't want to stole your credit. :) Of course I'll wait #330 to land first. This patch is currently a WIP patch, not ready for merge, but may help someone who want to use the latest version of JerryScript.

Copy link
Member

Choose a reason for hiding this comment

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

@LaszloLango never thought so :) I pointed at that PR because it shows that the change can also be applied to current iot.js, and because that PR does a bit more than simply removing the +1 from the String constructor.

@LaszloLango
Copy link
Contributor Author

The PR is ready for review. @akiss77, I removed the changes of #330 from this PR. But that change is still needed for fresh Jerry. That should be merged first.

@zherczeg
Copy link
Member

LGTM

IoT.js-DCO-1.0-Signed-off-by: László Langó [email protected]
@akosthekiss
Copy link
Member

Pr #330 got merged. LGTM.

@LaszloLango LaszloLango merged commit 6e31123 into jerryscript-project:master Mar 25, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants