diff options
author | athenian200 <athenian200@outlook.com> | 2019-10-01 23:39:11 -0500 |
---|---|---|
committer | athenian200 <athenian200@outlook.com> | 2019-10-21 04:53:40 -0500 |
commit | cf75ede0de7cc8febc12d666783631836c6b8e43 (patch) | |
tree | ba2f8d73cefacf8ad06bd7a89962a8d45edd26d7 /js/src/jit-test | |
parent | c0d814c1d52b0e9ae884b83f214218b954133acb (diff) | |
download | uxp-cf75ede0de7cc8febc12d666783631836c6b8e43.tar.gz |
MoonchildProductions#1251 - Part 9: Look for hypot in the math library (libm).
https://bugzilla.mozilla.org/show_bug.cgi?id=1351309
https://bugzilla.mozilla.org/show_bug.cgi?id=1309157
I assess this change to be low-risk for the following reasons:
1. It has been in Firefox since version 55 without issues.
2. It's nearly identical to the fix for bug 1309157 which is already in our tree, so that one would be causing problems if this one were going to.
3. Linux, Windows, and BSD are known to have a hypot function in their math libraries.
4. Even if it does break something, it should only break a test and not critical functionality.
Diffstat (limited to 'js/src/jit-test')
-rw-r--r-- | js/src/jit-test/tests/ctypes/function-definition.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/src/jit-test/tests/ctypes/function-definition.js b/js/src/jit-test/tests/ctypes/function-definition.js index 4df317a09d..5882ba8891 100644 --- a/js/src/jit-test/tests/ctypes/function-definition.js +++ b/js/src/jit-test/tests/ctypes/function-definition.js @@ -27,7 +27,7 @@ function test() { let lib; try { - lib = ctypes.open(ctypes.libraryName("c")); + lib = ctypes.open(ctypes.libraryName("m")); } catch (e) { } if (!lib) |