Backed out changeset 9baba7e5b351 (bug 872577) for multiple Android failures.
authorRyan VanderMeulen <ryanvm@gmail.com>
Tue, 13 Aug 2013 12:51:17 -0400
changeset 142423 31f4b8658e3e057fa12a48f6c3f51ccbd5df9fd8
parent 142422 aa55dcb8ed4c08b83c8238ea8db2667ef4e35e3c
child 142424 63635d50157f6e63a4df4ed30f316253e6bf5ee4
child 142485 d8a62355ea2632719182e6935f6e7e7e57ab4768
child 142552 8c36a6854ead4b6fedeeed4eb3999bd672f5910d
push id32401
push userryanvm@gmail.com
push dateTue, 13 Aug 2013 16:51:16 +0000
treeherdermozilla-inbound@31f4b8658e3e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs872577
milestone26.0a1
backs out9baba7e5b351eed735b4c520689f7e174b1784f5
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
Backed out changeset 9baba7e5b351 (bug 872577) for multiple Android failures. CLOSED TREE
toolkit/components/osfile/modules/osfile_unix_back.jsm
--- a/toolkit/components/osfile/modules/osfile_unix_back.jsm
+++ b/toolkit/components/osfile/modules/osfile_unix_back.jsm
@@ -223,35 +223,20 @@
                         /*return */ctypes.int,
                         /*dirp*/   Types.DIR.in_ptr.implementation);
 
        UnixFile.closedir = function closedir(fd) {
          // Detach the finalizer and call |_close_dir|.
          return fd.dispose();
        };
 
-       {
-         // Symbol free() is special.
-         // We override the definition of free() on several platforms.
-         let default_lib = null;
-         try {
-           // On platforms for which we override free(), nspr defines
-           // a special library name "a.out" that will resolve to the
-           // correct implementation free().
-           default_lib = ctypes.open("a.out");
-         } catch (ex) {
-           // On other platforms, well, use the regular version of free.
-           default_lib = libc;
-         }
-
-         UnixFile.free =
-           default_lib.declare("free", ctypes.default_abi,
-             /*return*/ ctypes.void_t,
-             /*ptr*/    ctypes.voidptr_t);
-       }
+       UnixFile.free =
+         libc.declare("free", ctypes.default_abi,
+                       /*return*/ ctypes.void_t,
+                       /*ptr*/    ctypes.voidptr_t);
 
        // Other functions
        UnixFile.access =
          declareFFI("access", ctypes.default_abi,
                     /*return*/ Types.negativeone_or_nothing,
                     /*path*/   Types.path,
                     /*mode*/   Types.int);