FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

js2c: fix module id generation on windows by bnoordhuis · Pull Request #1281 · nodejs/node · GitHub

Repository navigation

js2c: fix module id generation on windows - #1281

Merged
bnoordhuis merged 1 commit into
nodejs:v1.xfrom
bnoordhuis:windows-build-bug
Mar 27, 2015
Merged

bnoordhuis merged 1 commit into
nodejs:v1.xfrom
bnoordhuis:windows-build-bug

Conversation

Copy link
Copy Markdown
Member

Fix a regression that was introduced in commit 2db758c ("iojs: introduce
internal modules") where the computed id for "config.gypi" on Windows
was not "config" but an empty string.

With an empty string, the build succeeds but the binary is unusable:
startup.processConfig() in src/node.js chokes on the missing .config
property.

R=@vkurchatkin

https://jenkins-iojs.nodesource.com/view/iojs/job/iojs+any-pr+multi/385/

Copy link
Copy Markdown
Member Author

I'm off to bed so someone please land this if it LGTY and the CI is happy.

Copy link
Copy Markdown
Contributor

LGTM if CI is ok. I'm wondering how it compiles with an empty string as a module name.

Copy link
Copy Markdown
Contributor

I think CI is ok. Not familiar with smartos failure, but seems unrelated. Timeouts: also probably not related (to this or the original commit).

Copy link
Copy Markdown
Member

Yeah, smartos is unrelated.

mscdex added windows Issues and PRs related to the Windows platform. build Issues and PRs related to Node.js builds or CI infrastructure. labels Mar 27, 2015
Fix a regression that was introduced in commit 2db758c ("iojs: introduce
internal modules") where the computed id for "config.gypi" on Windows
was not "config" but an empty string.

With an empty string, the build succeeds but the binary is unusable:
startup.processConfig() in src/node.js chokes on the missing .config
property.

PR-URL: nodejs#1281
Reviewed-By: Vladimir Kurchatkin <vladimir.kurchatkin@gmail.com>
bnoordhuis closed this Mar 27, 2015
bnoordhuis deleted the windows-build-bug branch March 27, 2015 10:12
bnoordhuis merged commit 36f017a into nodejs:v1.x Mar 27, 2015
rvagg mentioned this pull request Mar 28, 2015
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build Issues and PRs related to Node.js builds or CI infrastructure. windows Issues and PRs related to the Windows platform.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants


Back | FazBrowse Home | New Git URL