Bug 812647 - Fix OS.File's failure to find libc on case-sensitive OS X filesystems. r=Yoric

This commit is contained in:
Dustin L. Howett 2012-12-23 10:52:35 -05:00
parent 8ada9278ac
commit 960de8b6c2

View File

@ -39,7 +39,7 @@ if (typeof Components != "undefined") {
// Open libc
let libc;
let libc_candidates = [ "libsystem.B.dylib",
let libc_candidates = [ "libSystem.B.dylib",
"libc.so.6",
"libc.so" ];
for (let i = 0; i < libc_candidates.length; ++i) {