summaryrefslogtreecommitdiffstats
path: root/js/src
diff options
context:
space:
mode:
authorathenian200 <athenian200@outlook.com>2019-10-01 23:39:11 -0500
committerathenian200 <athenian200@outlook.com>2019-10-21 04:53:40 -0500
commitcf75ede0de7cc8febc12d666783631836c6b8e43 (patch)
treeba2f8d73cefacf8ad06bd7a89962a8d45edd26d7 /js/src
parentc0d814c1d52b0e9ae884b83f214218b954133acb (diff)
downloadUXP-cf75ede0de7cc8febc12d666783631836c6b8e43.tar
UXP-cf75ede0de7cc8febc12d666783631836c6b8e43.tar.gz
UXP-cf75ede0de7cc8febc12d666783631836c6b8e43.tar.lz
UXP-cf75ede0de7cc8febc12d666783631836c6b8e43.tar.xz
UXP-cf75ede0de7cc8febc12d666783631836c6b8e43.zip
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')
-rw-r--r--js/src/jit-test/tests/ctypes/function-definition.js2
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 4df317a09..5882ba889 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)