Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit df152e4

Browse files
addaleaxMylesBorins
authored andcommittedNov 3, 2020
tools: add missing uv_setup_argv() calls
Refs: #34751 PR-URL: #35491 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Joyee Cheung <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Colin Ihrig <[email protected]>
1 parent 8d4b0c3 commit df152e4

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed
 

‎tools/code_cache/mkcodecache.cc

+1
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");

‎tools/snapshot/node_mksnapshot.cc

+1
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)
Please sign in to comment.