diff options
author | isaacs <i@izs.me> | 2013-03-21 10:52:01 -0700 |
---|---|---|
committer | isaacs <i@izs.me> | 2013-03-21 10:52:01 -0700 |
commit | 2f88272ba298f20f5756415d2a69e6f6617fcbbe (patch) | |
tree | 105fbc68153b456110fbf8354642b8770fdbca7a /lib/fs.js | |
parent | f150d569159537f478b78c8132e055a4d3fbb44e (diff) | |
parent | 92cc1878812ca458462130a63d6f856854cf8cda (diff) | |
download | nodejs-2f88272ba298f20f5756415d2a69e6f6617fcbbe.tar.gz nodejs-2f88272ba298f20f5756415d2a69e6f6617fcbbe.tar.bz2 nodejs-2f88272ba298f20f5756415d2a69e6f6617fcbbe.zip |
Merge remote-tracking branch 'ry/v0.10' into master
Conflicts:
src/node.cc
src/node_version.h
Diffstat (limited to 'lib/fs.js')
-rw-r--r-- | lib/fs.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -950,7 +950,7 @@ fs.writeFileSync = function(path, data, options) { assertEncoding(options.encoding); var flag = options.flag || 'w'; - var fd = fs.openSync(path, flag); + var fd = fs.openSync(path, flag, options.mode); if (!Buffer.isBuffer(data)) { data = new Buffer('' + data, options.encoding || 'utf8'); } |