Skip to content

tools: don’t emit illegal utf-8 from icutrim/iculslocs#19756

Merged
srl295 merged 0 commit into
nodejs:masterfrom
srl295:fix-iculslocs
Apr 3, 2018
Merged

tools: don’t emit illegal utf-8 from icutrim/iculslocs#19756
srl295 merged 0 commit into
nodejs:masterfrom
srl295:fix-iculslocs

Conversation

@srl295

@srl295 srl295 commented Apr 2, 2018

Copy link
Copy Markdown
Member
  • argv[0] was being emitted into a utf-8 stream, but argv[0] may
    not be legal utf-8
  • fix by not emitting argv[0] (was only for a source comment)

Fixes: #17077

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines

@srl295 srl295 added the i18n-api Issues and PRs related to the i18n implementation. label Apr 2, 2018
@srl295 srl295 self-assigned this Apr 2, 2018
@srl295 srl295 requested review from bnoordhuis and seishun April 2, 2018 17:22
@nodejs-github-bot nodejs-github-bot added i18n-api Issues and PRs related to the i18n implementation. tools Issues and PRs related to the tools directory. labels Apr 2, 2018

@seishun seishun left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM, but I'm not sure if "Fixes: #17077" is correct since it's only one part of the problem.

@srl295

srl295 commented Apr 2, 2018

Copy link
Copy Markdown
Member Author

@seishun does it fix #17077 but not #18560 ? Is there anything else that's not covered by #18560 and this PR that needs to be fixed?

I can drop the Fixes if you prefer, I guess it's a question about the scope of the two issues.

@seishun

seishun commented Apr 2, 2018

Copy link
Copy Markdown
Contributor

@srl295 it fixes neither. #17077 would still be an issue because of V8.

I don't know the rules about commits that fix one part of the problem.

@srl295

srl295 commented Apr 2, 2018

Copy link
Copy Markdown
Member Author

^ i'll re-open 17077 after this lands. Github doesn't understand the partially part of the commit message.

@seishun

seishun commented Apr 2, 2018

Copy link
Copy Markdown
Contributor

Seems reasonable to me.

@srl295

srl295 commented Apr 2, 2018

Copy link
Copy Markdown
Member Author

node-test-linter:

16:42:56 stderr: fatal: Unable to create '/usr/home/iojs/build/workspace/node-test-linter/.git/index.lock': File exists.

cause: nodejs/build#1206 (comment)

@srl295 srl295 closed this Apr 3, 2018
@srl295 srl295 deleted the fix-iculslocs branch April 3, 2018 15:00
@srl295 srl295 merged commit a820f41 into nodejs:master Apr 3, 2018
targos pushed a commit that referenced this pull request Apr 3, 2018
- argv[0] was being emitted into a utf-8 stream, but argv[0] may
not be legal utf-8
- fix by not emitting argv[0] (was only for a source comment)
- partially resolves #17077

PR-URL: #19756
Fixes: #17077
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Nikolai Vavilov <vvnicholas@gmail.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: James M Snell <jasnell@gmail.com>
@targos targos mentioned this pull request Apr 4, 2018
MylesBorins pushed a commit that referenced this pull request Aug 17, 2018
- argv[0] was being emitted into a utf-8 stream, but argv[0] may
not be legal utf-8
- fix by not emitting argv[0] (was only for a source comment)
- partially resolves #17077

PR-URL: #19756
Fixes: #17077
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Nikolai Vavilov <vvnicholas@gmail.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: James M Snell <jasnell@gmail.com>
@MylesBorins MylesBorins mentioned this pull request Aug 17, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

i18n-api Issues and PRs related to the i18n implementation. tools Issues and PRs related to the tools directory.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Investigate non-ASCII build file path on Windows

7 participants