aboutsummaryrefslogtreecommitdiff
path: root/time/clocktest.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-02-27 10:00:44 +0000
committerUlrich Drepper <drepper@redhat.com>1998-02-27 10:00:44 +0000
commit9eb2730eab81c7732ecd9727c64165cab01b0d2b (patch)
tree740f5b85a62a3aaf534f9a2d0da6cb2e80a28d2e /time/clocktest.c
parentd7390a372fef23e78ff90d1a93eb6d5dc1d337f2 (diff)
downloadglibc-9eb2730eab81c7732ecd9727c64165cab01b0d2b.zip
glibc-9eb2730eab81c7732ecd9727c64165cab01b0d2b.tar.gz
glibc-9eb2730eab81c7732ecd9727c64165cab01b0d2b.tar.bz2
Update.
1998-02-25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> * sysdeps/libm-ieee754/s_isnanl.c: Ignore the explicit integer bit. * sysdeps/libm-ieee754/s_isinfl.c: Likewise.
Diffstat (limited to 'time/clocktest.c')
-rw-r--r--time/clocktest.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/time/clocktest.c b/time/clocktest.c
index 570c194..55852a3 100644
--- a/time/clocktest.c
+++ b/time/clocktest.c
@@ -17,7 +17,11 @@ main (int argc, char ** argv)
{
clock_t start, stop;
- signal(SIGALRM, alarm_handler);
+ if (signal(SIGALRM, alarm_handler) -- SIG_ERR)
+ {
+ perror ("signal");
+ exit (1);
+ }
alarm(1);
start = clock ();
while (!gotit);