Permalink
Browse files

use new octal literal syntax

  • Loading branch information...
rpl committed Aug 13, 2015
1 parent 077ef36 commit 82248bbe480b455730d59118113be6c6bc03e35c
Showing with 1 addition and 1 deletion.
  1. +1 −1 chrome/content/repl.js
View
@@ -782,7 +782,7 @@ function evaluate(code) {
var fos = Cc['@mozilla.org/network/file-output-stream;1']
.createInstance(Ci.nsIFileOutputStream);
fos.init(_.TMP_FILE, 0x02 | 0x08 | 0x20, 0x180, 0);
fos.init(_.TMP_FILE, 0x02 | 0x08 | 0x20, 0o600, 0);
var os = Cc['@mozilla.org/intl/converter-output-stream;1']
.createInstance(Ci.nsIConverterOutputStream);
os.init(fos, 'UTF-8', 0, 0x0000);

0 comments on commit 82248bb

Please sign in to comment.