diff options
author | Lukas Larsson <[email protected]> | 2014-12-05 10:14:51 +0100 |
---|---|---|
committer | Lukas Larsson <[email protected]> | 2014-12-19 10:39:52 +0100 |
commit | e2a600341324d2ce3689119f8fd61b248702d79f (patch) | |
tree | a8d18d02b1662355026874afe1b336c13283875c /erts/emulator/sys/unix/sys_float.c | |
parent | b8a2313263d0f120dacbe82ced5c99545bbd15a3 (diff) | |
download | otp-e2a600341324d2ce3689119f8fd61b248702d79f.tar.gz otp-e2a600341324d2ce3689119f8fd61b248702d79f.tar.bz2 otp-e2a600341324d2ce3689119f8fd61b248702d79f.zip |
erts: Rename sys_sigset to sys_signal
Also removed old legacy fallback that is no longer used
Diffstat (limited to 'erts/emulator/sys/unix/sys_float.c')
-rw-r--r-- | erts/emulator/sys/unix/sys_float.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/erts/emulator/sys/unix/sys_float.c b/erts/emulator/sys/unix/sys_float.c index cafeab547e..2ffa649767 100644 --- a/erts/emulator/sys/unix/sys_float.c +++ b/erts/emulator/sys/unix/sys_float.c @@ -32,7 +32,7 @@ void erts_sys_init_float(void) { # ifdef SIGFPE - sys_sigset(SIGFPE, SIG_IGN); /* Ignore so we can test for NaN and Inf */ + sys_signal(SIGFPE, SIG_IGN); /* Ignore so we can test for NaN and Inf */ # endif } @@ -667,7 +667,7 @@ static void fpe_sig_handler(int sig) static void erts_thread_catch_fp_exceptions(void) { - sys_sigset(SIGFPE, fpe_sig_handler); + sys_signal(SIGFPE, fpe_sig_handler); unmask_fpe(); } |