Navigation Menu

Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Commit

Permalink
Remove a few instances of process.binding('stdio') from src/node.js
Browse files Browse the repository at this point in the history
  • Loading branch information
ry committed Sep 27, 2011
1 parent 7e62bc9 commit 416c14f
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/node.js
Expand Up @@ -107,7 +107,6 @@
process.nextTick(Module.runMain);

} else {
var binding = process.binding('stdio');
var Module = NativeModule.require('module');

// If stdin is a TTY.
Expand Down Expand Up @@ -224,7 +223,6 @@
if (stdout) return stdout;

var tty_wrap = process.binding('tty_wrap');
var binding = process.binding('stdio');
var fd = 1;

// Note stdout._type is used for test-module-load-list.js
Expand Down Expand Up @@ -286,7 +284,6 @@
if (stdin) return stdin;

var tty_wrap = process.binding('tty_wrap');
var binding = process.binding('stdio');
var fd = 0;

switch (tty_wrap.guessHandleType(fd)) {
Expand Down

0 comments on commit 416c14f

Please sign in to comment.