Use process.mixin instead of sys.mixin

The process namespace has not been cleaned up yet, so mixin is still
attached to process.
This commit is contained in:
Felix Geisendörfer 2010-03-03 12:39:17 +01:00
parent 18a70ffda1
commit 9415ca909e

View File

@ -1,5 +1,3 @@
var sys = require('sys');
exports.Stats = process.Stats;
process.Stats.prototype._checkModeProperty = function (property) {
@ -391,7 +389,7 @@ var FileWriteStream = exports.FileWriteStream = function(path, options) {
this.encoding = 'binary';
this.mode = 0666;
sys.mixin(this, options || {});
process.mixin(this, options || {});
var
self = this,