aboutsummaryrefslogtreecommitdiff
path: root/lang/erlang14/files
diff options
context:
space:
mode:
authorJimmy Olgeni <olgeni@FreeBSD.org>2009-07-01 14:58:04 +0000
committerJimmy Olgeni <olgeni@FreeBSD.org>2009-07-01 14:58:04 +0000
commit56d091e0c524643ab941d515c600b4f225b9f123 (patch)
tree3687cd330d9835c7547e9dc3ca5d44a2ede96a4a /lang/erlang14/files
parent6d26f6f16ee84040150f5fd36bb0244cb03e4218 (diff)
Notes
Diffstat (limited to 'lang/erlang14/files')
-rw-r--r--lang/erlang14/files/patch-erts_emulator_sys_unix_sys__float.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/lang/erlang14/files/patch-erts_emulator_sys_unix_sys__float.c b/lang/erlang14/files/patch-erts_emulator_sys_unix_sys__float.c
new file mode 100644
index 000000000000..a21b4d08e33d
--- /dev/null
+++ b/lang/erlang14/files/patch-erts_emulator_sys_unix_sys__float.c
@@ -0,0 +1,13 @@
+
+$FreeBSD$
+
+--- erts/emulator/sys/unix/sys_float.c.orig
++++ erts/emulator/sys/unix/sys_float.c
+@@ -57,6 +57,7 @@
+ void erts_thread_init_fp_exception(void)
+ {
+ unsigned long *fpe = erts_alloc(ERTS_ALC_T_FP_EXCEPTION, sizeof(*fpe));
++ *fpe = 0;
+ erts_tsd_set(fpe_key, fpe);
+ }
+