Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThiago Padilha <thiago@padilha.cc>2019-09-02 21:51:29 +0300
committerDanielle Adams <adamzdanielle@gmail.com>2021-01-12 15:10:31 +0300
commit9bc2cec848f0b4a40388f598e35767aba8033741 (patch)
tree883821b20714cc61303d8c93267456bfbb43367b /node.gyp
parent8b43388903b2721ee75ae5cded06e71b2c9d99d5 (diff)
child_process: add 'overlapped' stdio flag
The 'overlapped' value sets the UV_OVERLAPPED_PIPE libuv flag in the child process stdio. Fixes: https://github.com/nodejs/node/issues/29238 PR-URL: https://github.com/nodejs/node/pull/29412 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'node.gyp')
-rw-r--r--node.gyp18
1 files changed, 18 insertions, 0 deletions
diff --git a/node.gyp b/node.gyp
index 865a7de9317..5ad94432476 100644
--- a/node.gyp
+++ b/node.gyp
@@ -1469,6 +1469,24 @@
],
}, # embedtest
+ {
+ 'target_name': 'overlapped-checker',
+ 'type': 'executable',
+
+ 'conditions': [
+ ['OS=="win"', {
+ 'sources': [
+ 'test/overlapped-checker/main_win.c'
+ ],
+ }],
+ ['OS!="win"', {
+ 'sources': [
+ 'test/overlapped-checker/main_unix.c'
+ ],
+ }],
+ ]
+ }, # overlapped-checker
+
# TODO(joyeecheung): do not depend on node_lib,
# instead create a smaller static library node_lib_base that does
# just enough for node_native_module.cc and the cache builder to