summaryrefslogtreecommitdiff
path: root/lib/tty.js
diff options
context:
space:
mode:
authorBen Noordhuis <info@bnoordhuis.nl>2013-02-28 17:50:14 +0100
committerBen Noordhuis <info@bnoordhuis.nl>2013-02-28 23:11:47 +0100
commit12d0f0bd3a6c8491837b710b01816f40f32fb56b (patch)
tree84fd203cb13540b19c91a66d65c6a7b9fceedfe7 /lib/tty.js
parent1762ba37ca810d44933ae850fd4fd00fd16be732 (diff)
downloadandroid-node-v8-12d0f0bd3a6c8491837b710b01816f40f32fb56b.tar.gz
android-node-v8-12d0f0bd3a6c8491837b710b01816f40f32fb56b.tar.bz2
android-node-v8-12d0f0bd3a6c8491837b710b01816f40f32fb56b.zip
lib, src: remove errno global
Remove the errno global. It's a property on the process object now. Fixes #3095.
Diffstat (limited to 'lib/tty.js')
-rw-r--r--lib/tty.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tty.js b/lib/tty.js
index ccc1ebee28..98d498a17c 100644
--- a/lib/tty.js
+++ b/lib/tty.js
@@ -94,7 +94,7 @@ WriteStream.prototype._refreshSize = function() {
var oldRows = this.rows;
var winSize = this._handle.getWindowSize();
if (!winSize) {
- this.emit('error', errnoException(errno, 'getWindowSize'));
+ this.emit('error', errnoException(process._errno, 'getWindowSize'));
return;
}
var newCols = winSize[0];