Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 5790c40

Browse filesBrowse files
addaleaxdanielleadams
authored andcommitted
tools: add missing uv_setup_argv() calls
Refs: #34751 PR-URL: #35491 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
1 parent 6585b16 commit 5790c40
Copy full SHA for 5790c40

File tree

Expand file treeCollapse file tree

2 files changed

+2
-0
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

2 files changed

+2
-0
lines changed
Open diff view settings
Collapse file

‎tools/code_cache/mkcodecache.cc‎

Copy file name to clipboardExpand all lines: tools/code_cache/mkcodecache.cc
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ using v8::Local;
2424
int wmain(int argc, wchar_t* argv[]) {
2525
#else // UNIX
2626
int main(int argc, char* argv[]) {
27+
argv = uv_setup_args(argc, argv);
2728
#endif // _WIN32
2829

2930
v8::V8::SetFlagsFromString("--random_seed=42");
Collapse file

‎tools/snapshot/node_mksnapshot.cc‎

Copy file name to clipboardExpand all lines: tools/snapshot/node_mksnapshot.cc
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
int wmain(int argc, wchar_t* argv[]) {
1818
#else // UNIX
1919
int main(int argc, char* argv[]) {
20+
argv = uv_setup_args(argc, argv);
2021
#endif // _WIN32
2122

2223
v8::V8::SetFlagsFromString("--random_seed=42");

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.