aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2001-11-22 12:36:34 +0000
committerAndreas Jaeger <aj@suse.de>2001-11-22 12:36:34 +0000
commit91eaf586e5d590a8f72a87c4c11a989fc0464465 (patch)
tree03be78f2df502da3fbf82a8896b2f4191de5eb95
parentd987f926bb6b4a09daacc0fec023cddbf980a754 (diff)
downloadglibc-91eaf586e5d590a8f72a87c4c11a989fc0464465.zip
glibc-91eaf586e5d590a8f72a87c4c11a989fc0464465.tar.gz
glibc-91eaf586e5d590a8f72a87c4c11a989fc0464465.tar.bz2
Update.
2001-11-22 Andreas Jaeger <aj@suse.de> * sysdeps/ieee754/ldbl-96/s_ilogbl.c (__ilogbl): Add brace to avoid warning.
-rw-r--r--ChangeLog5
-rw-r--r--sysdeps/ieee754/ldbl-96/s_ilogbl.c2
-rw-r--r--sysdeps/unix/sysv/linux/x86_64/Makefile2
3 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index ac593a1..27ac338 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2001-11-22 Andreas Jaeger <aj@suse.de>
+
+ * sysdeps/ieee754/ldbl-96/s_ilogbl.c (__ilogbl): Add brace to
+ avoid warning.
+
2001-11-21 Andreas Jaeger <aj@suse.de>
* sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: New file.
diff --git a/sysdeps/ieee754/ldbl-96/s_ilogbl.c b/sysdeps/ieee754/ldbl-96/s_ilogbl.c
index 6b78101..d11e4c2 100644
--- a/sysdeps/ieee754/ldbl-96/s_ilogbl.c
+++ b/sysdeps/ieee754/ldbl-96/s_ilogbl.c
@@ -56,7 +56,7 @@ static char rcsid[] = "$NetBSD: $";
else if (FP_ILOGBNAN != INT_MAX)
{
GET_LDOUBLE_WORDS(es,hx,lx,x);
- if ((hx & 0x7fffffff|lx) == 0)
+ if (((hx & 0x7fffffff)|lx) == 0)
/* ISO C99 requires ilogbl(+-Inf) == INT_MAX. */
return INT_MAX;
}
diff --git a/sysdeps/unix/sysv/linux/x86_64/Makefile b/sysdeps/unix/sysv/linux/x86_64/Makefile
index 6564eb0..0aacd00 100644
--- a/sysdeps/unix/sysv/linux/x86_64/Makefile
+++ b/sysdeps/unix/sysv/linux/x86_64/Makefile
@@ -1,4 +1,4 @@
ifeq ($(subdir),misc)
sysdep_routines += ioperm iopl
-sysdep_headers += sys/perm.h sys/reg.h
+sysdep_headers += sys/perm.h sys/reg.h sys/debugreg.h
endif