0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/src
Bartosz Sosnowski bd496e0187
src: ensure that fd 0-2 are valid on windows
Check that stdin, stdout and stderr are valid file descriptors on
Windows. If not, reopen them with 'nul' file.

Refs: https://github.com/nodejs/node/pull/875
Fixes: https://github.com/nodejs/node/issues/11656
PR-URL: https://github.com/nodejs/node/pull/11863
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
2017-03-20 20:48:14 +01:00
..
res meta: restore original copyright header 2017-03-10 11:23:48 -08:00
tracing src: fix TracingController cleanup 2017-01-07 13:56:43 +01:00
async-wrap-inl.h meta: restore original copyright header 2017-03-10 11:23:48 -08:00
async-wrap.cc meta: restore original copyright header 2017-03-10 11:23:48 -08:00
async-wrap.h meta: restore original copyright header 2017-03-10 11:23:48 -08:00
backtrace_posix.cc
backtrace_win32.cc
base64.h
base-object-inl.h meta: restore original copyright header 2017-03-10 11:23:48 -08:00
base-object.h meta: restore original copyright header 2017-03-10 11:23:48 -08:00
cares_wrap.cc meta: restore original copyright header 2017-03-10 11:23:48 -08:00
CNNICHashWhitelist.inc crypto: Remove expired certs from CNNIC whitelist 2017-02-04 00:20:10 +09:00
connect_wrap.cc
connect_wrap.h
connection_wrap.cc src: remove unnecessary req_wrap_obj 2017-01-23 09:36:10 -08:00
connection_wrap.h
debug-agent.cc benchmark,build,doc,lib,src,test: correct typos 2017-03-03 16:29:19 -05:00
debug-agent.h
env-inl.h fs: include more fs.stat*() optimizations 2017-03-14 21:54:40 -07:00
env.cc
env.h fs: include more fs.stat*() optimizations 2017-03-14 21:54:40 -07:00
fs_event_wrap.cc meta: restore original copyright header 2017-03-10 11:23:48 -08:00
handle_wrap.cc meta: restore original copyright header 2017-03-10 11:23:48 -08:00
handle_wrap.h meta: restore original copyright header 2017-03-10 11:23:48 -08:00
inspector_agent.cc inspector: libuv notification on incoming message 2017-03-03 11:38:00 -08:00
inspector_agent.h
inspector_socket_server.cc inspector: proper WS URLs when bound to 0.0.0.0 2017-03-13 10:41:51 -07:00
inspector_socket_server.h inspector: no crash when WS server can't start 2017-01-20 09:10:37 -08:00
inspector_socket.cc
inspector_socket.h
js_stream.cc
js_stream.h
node_buffer.cc meta: restore original copyright header 2017-03-10 11:23:48 -08:00
node_buffer.h meta: restore original copyright header 2017-03-10 11:23:48 -08:00
node_config.cc src: make --icu-data-dir= switch testable 2017-02-11 15:23:51 +01:00
node_constants.cc meta: restore original copyright header 2017-03-10 11:23:48 -08:00
node_constants.h meta: restore original copyright header 2017-03-10 11:23:48 -08:00
node_contextify.cc meta: restore original copyright header 2017-03-10 11:23:48 -08:00
node_counters.cc meta: restore original copyright header 2017-03-10 11:23:48 -08:00
node_counters.h meta: restore original copyright header 2017-03-10 11:23:48 -08:00
node_crypto_bio.cc meta: restore original copyright header 2017-03-10 11:23:48 -08:00
node_crypto_bio.h meta: restore original copyright header 2017-03-10 11:23:48 -08:00
node_crypto_clienthello-inl.h meta: restore original copyright header 2017-03-10 11:23:48 -08:00
node_crypto_clienthello.cc meta: restore original copyright header 2017-03-10 11:23:48 -08:00
node_crypto_clienthello.h meta: restore original copyright header 2017-03-10 11:23:48 -08:00
node_crypto_groups.h meta: restore original copyright header 2017-03-10 11:23:48 -08:00
node_crypto.cc meta: restore original copyright header 2017-03-10 11:23:48 -08:00
node_crypto.h meta: restore original copyright header 2017-03-10 11:23:48 -08:00
node_debug_options.cc src, inspector: add --inspect-brk option 2017-01-03 15:47:40 -08:00
node_debug_options.h
node_dtrace.cc meta: restore original copyright header 2017-03-10 11:23:48 -08:00
node_dtrace.h meta: restore original copyright header 2017-03-10 11:23:48 -08:00
node_file.cc fs: include more fs.stat*() optimizations 2017-03-14 21:54:40 -07:00
node_file.h meta: restore original copyright header 2017-03-10 11:23:48 -08:00
node_http_parser.cc meta: restore original copyright header 2017-03-10 11:23:48 -08:00
node_http_parser.h meta: restore original copyright header 2017-03-10 11:23:48 -08:00
node_i18n.cc meta: restore original copyright header 2017-03-10 11:23:48 -08:00
node_i18n.h meta: restore original copyright header 2017-03-10 11:23:48 -08:00
node_internals.h fs: include more fs.stat*() optimizations 2017-03-14 21:54:40 -07:00
node_javascript.h meta: restore original copyright header 2017-03-10 11:23:48 -08:00
node_lttng_provider.h src: fix typos in node_lttng_provider.h 2017-03-10 19:26:18 +01:00
node_lttng_tp.h
node_lttng.cc
node_lttng.h
node_main.cc meta: restore original copyright header 2017-03-10 11:23:48 -08:00
node_mutex.h
node_object_wrap.h meta: restore original copyright header 2017-03-10 11:23:48 -08:00
node_os.cc meta: restore original copyright header 2017-03-10 11:23:48 -08:00
node_provider.d
node_revert.cc
node_revert.h
node_root_certs.h
node_stat_watcher.cc fs: include more fs.stat*() optimizations 2017-03-14 21:54:40 -07:00
node_stat_watcher.h meta: restore original copyright header 2017-03-10 11:23:48 -08:00
node_url.cc src: remove explicit UTF-8 validity check in url 2017-03-16 16:39:39 -07:00
node_url.h
node_util.cc os: improve cpus() performance 2017-03-02 15:31:21 -05:00
node_v8.cc meta: restore original copyright header 2017-03-10 11:23:48 -08:00
node_version.h meta: restore original copyright header 2017-03-10 11:23:48 -08:00
node_watchdog.cc meta: restore original copyright header 2017-03-10 11:23:48 -08:00
node_watchdog.h meta: restore original copyright header 2017-03-10 11:23:48 -08:00
node_win32_etw_provider-inl.h meta: restore original copyright header 2017-03-10 11:23:48 -08:00
node_win32_etw_provider.cc meta: restore original copyright header 2017-03-10 11:23:48 -08:00
node_win32_etw_provider.h meta: restore original copyright header 2017-03-10 11:23:48 -08:00
node_win32_perfctr_provider.cc meta: restore original copyright header 2017-03-10 11:23:48 -08:00
node_win32_perfctr_provider.h meta: restore original copyright header 2017-03-10 11:23:48 -08:00
node_wrap.h meta: restore original copyright header 2017-03-10 11:23:48 -08:00
node_zlib.cc meta: restore original copyright header 2017-03-10 11:23:48 -08:00
node.cc src: ensure that fd 0-2 are valid on windows 2017-03-20 20:48:14 +01:00
node.d
node.h meta: restore original copyright header 2017-03-10 11:23:48 -08:00
node.stp meta: restore original copyright header 2017-03-10 11:23:48 -08:00
nolttng_macros.py
notrace_macros.py
perfctr_macros.py
pipe_wrap.cc meta: restore original copyright header 2017-03-10 11:23:48 -08:00
pipe_wrap.h meta: restore original copyright header 2017-03-10 11:23:48 -08:00
process_wrap.cc meta: restore original copyright header 2017-03-10 11:23:48 -08:00
req-wrap-inl.h
req-wrap.h
signal_wrap.cc meta: restore original copyright header 2017-03-10 11:23:48 -08:00
spawn_sync.cc meta: restore original copyright header 2017-03-10 11:23:48 -08:00
spawn_sync.h meta: restore original copyright header 2017-03-10 11:23:48 -08:00
StartComAndWoSignData.inc crypto: add cert check issued by StartCom/WoSign 2017-02-04 00:19:59 +09:00
stream_base-inl.h
stream_base.cc
stream_base.h
stream_wrap.cc meta: restore original copyright header 2017-03-10 11:23:48 -08:00
stream_wrap.h meta: restore original copyright header 2017-03-10 11:23:48 -08:00
string_bytes.cc meta: restore original copyright header 2017-03-10 11:23:48 -08:00
string_bytes.h meta: restore original copyright header 2017-03-10 11:23:48 -08:00
string_search.cc
string_search.h benchmark,build,doc,lib,src,test: correct typos 2017-03-03 16:29:19 -05:00
tcp_wrap.cc meta: restore original copyright header 2017-03-10 11:23:48 -08:00
tcp_wrap.h meta: restore original copyright header 2017-03-10 11:23:48 -08:00
timer_wrap.cc meta: restore original copyright header 2017-03-10 11:23:48 -08:00
tls_wrap.cc tls: fix segfault on destroy after partial read 2017-03-20 16:51:29 +01:00
tls_wrap.h tls: keep track of stream that is closed 2017-03-16 16:24:07 -07:00
tree.h
tty_wrap.cc meta: restore original copyright header 2017-03-10 11:23:48 -08:00
tty_wrap.h meta: restore original copyright header 2017-03-10 11:23:48 -08:00
udp_wrap.cc meta: restore original copyright header 2017-03-10 11:23:48 -08:00
udp_wrap.h meta: restore original copyright header 2017-03-10 11:23:48 -08:00
util-inl.h meta: restore original copyright header 2017-03-10 11:23:48 -08:00
util.cc meta: restore original copyright header 2017-03-10 11:23:48 -08:00
util.h meta: restore original copyright header 2017-03-10 11:23:48 -08:00
uv.cc meta: restore original copyright header 2017-03-10 11:23:48 -08:00
v8abbr.h
v8ustack.d