node: do not ever close stdio
authorFedor Indutny <fedor.indutny@gmail.com>
Thu, 23 Jan 2014 09:35:18 +0000 (13:35 +0400)
committerFedor Indutny <fedor.indutny@gmail.com>
Tue, 28 Jan 2014 23:27:23 +0000 (03:27 +0400)
commitfc26fd6b388796a09767bf698ddda5b5ff7c9e96
treefd17da917c59898fb8ce8c5286f6db71bd1cb03d
parent597eb6a5aebbc2afbd76d16e568a86ed28509bc7
node: do not ever close stdio

Even if stdio streams are opened as file streams, we should not ever try
to close them. This could be accomplished by passing `autoClose: false`
in options on their creation.
lib/fs.js
src/node.js
test/fixtures/echo-close-check.js [new file with mode: 0644]
test/simple/test-stdin-from-file.js