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:
3bb21b5
)
basicRequest -> module.requireNative
author
Ryan Dahl
<ry@tinyclouds.org>
Wed, 28 Apr 2010 22:28:21 +0000
(15:28 -0700)
committer
Ryan Dahl
<ry@tinyclouds.org>
Wed, 28 Apr 2010 22:28:21 +0000
(15:28 -0700)
src/node.js
patch
|
blob
|
history
diff --git
a/src/node.js
b/src/node.js
index
ef3441e
..
216f50d
100644
(file)
--- a/
src/node.js
+++ b/
src/node.js
@@
-141,8
+141,8
@@
var stdin;
process.openStdin = function () {
if (stdin) return stdin;
- var net =
basicRequir
e('net'),
- fs =
basicRequir
e('fs'),
+ var net =
module.requireNativ
e('net'),
+ fs =
module.requireNativ
e('fs'),
fd = process.binding('stdio').openStdin();
if (process.binding('stdio').isStdinBlocking()) {