Bug 669603 - Part 1 - Add MODE_RDWR to FileUtils.jsm; r=ted
authorTim Taubert <tim.taubert@gmx.de>
Thu, 05 Jul 2012 12:12:09 +0200
changeset 103169 4500876c3c6dd4d3cacbe1561ab48979862fcd09
parent 103168 36a9882bb6c78061d591cb02888c662b9d0b58a6
child 103170 0d945555996e5365958ca456b7f885a03202ca91
push id1316
push userakeybl@mozilla.com
push dateMon, 27 Aug 2012 22:37:00 +0000
treeherdermozilla-beta@db4b09302ee2 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersted
bugs669603
milestone16.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 669603 - Part 1 - Add MODE_RDWR to FileUtils.jsm; r=ted
toolkit/mozapps/shared/FileUtils.jsm
--- a/toolkit/mozapps/shared/FileUtils.jsm
+++ b/toolkit/mozapps/shared/FileUtils.jsm
@@ -13,16 +13,17 @@ const Cr = Components.results;
 
 XPCOMUtils.defineLazyServiceGetter(this, "gDirService",
                                    "@mozilla.org/file/directory_service;1",
                                    "nsIProperties");
 
 var FileUtils = {
   MODE_RDONLY   : 0x01,
   MODE_WRONLY   : 0x02,
+  MODE_RDWR     : 0x04,
   MODE_CREATE   : 0x08,
   MODE_APPEND   : 0x10,
   MODE_TRUNCATE : 0x20,
 
   PERMS_FILE      : 0644,
   PERMS_DIRECTORY : 0755,
 
   /**