diff options
author | Roland McGrath <roland@hack.frob.com> | 2015-02-10 13:55:29 -0800 |
---|---|---|
committer | Roland McGrath <roland@hack.frob.com> | 2015-02-10 13:55:29 -0800 |
commit | 92b67e8def0df81462304de6ce76c494aabad3b7 (patch) | |
tree | 71f51f888f1a1916bd7db0201fae43a960a39151 /ChangeLog | |
parent | 132a1328eccd20621b77f7810eebbeec0a1af187 (diff) | |
download | glibc-92b67e8def0df81462304de6ce76c494aabad3b7.tar.gz glibc-92b67e8def0df81462304de6ce76c494aabad3b7.tar.xz glibc-92b67e8def0df81462304de6ce76c494aabad3b7.zip |
Clean up math/test-snan.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index 4851863b85..ef9bbf6152 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,23 @@ +2015-02-10 Roland McGrath <roland@hack.frob.com> + + * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>, + <sys/time.h>, <string.h>, and <errno.h>. + (dest_offset, dest_address, value, zero): Remove unused variables. + (ldouble): Remove typedef. + (myFPsighandler): Use simple handler signature, not SA_SIGINFO + signature. Pass 1 to siglongjmp rather than 0 (which is converted to + 1). Fix code style. + (set_sigaction_FP, remove_sigaction_FP): Functions removed. + (check): Function removed. + (CHECK): New macro. + (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating + boilerplate feclearexcept + feenableexcept + sigsetjmp code. + Don't call set_sigaction_FP and remove_sigaction_FP here. + (ldouble_test): Just use 'long double' as macro argument, no need for + the 'ldouble' typedef. + (do_test): Set up SIGFPE handler at start, using plain signal rather + than sigaction. Fix code style. + 2015-02-10 Evangelos Foutras <evangelos@foutrelis.com> [BZ #17949] |