projects
/
platform
/
upstream
/
nodejs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5d89540
)
make stdout stream non-destroyable
author
Igor Zinkovsky
<igorzi@microsoft.com>
Wed, 9 Nov 2011 23:04:44 +0000
(15:04 -0800)
committer
Igor Zinkovsky
<igorzi@microsoft.com>
Wed, 9 Nov 2011 23:04:44 +0000
(15:04 -0800)
src/node.js
patch
|
blob
|
history
diff --git
a/src/node.js
b/src/node.js
index
82ad356
..
f24a92e
100644
(file)
--- a/
src/node.js
+++ b/
src/node.js
@@
-278,6
+278,7
@@
process.__defineGetter__('stdout', function() {
if (stdout) return stdout;
stdout = createWritableStdioStream(1);
+ stdout.end = stdout.destroy = stdout.destroySoon = function() { };
return stdout;
});