about summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2002-12-22 02:29:06 +0000
committerUlrich Drepper <drepper@redhat.com>2002-12-22 02:29:06 +0000
commit2e4f58a4f680dda8e8b8afd1072ac275858a245d (patch)
treef16f5b4b286a0d303e30e7cc2a31887e749f922f
parenta1bc30d7af40a60755ded29e0e64bfca24f9d093 (diff)
downloadglibc-2e4f58a4f680dda8e8b8afd1072ac275858a245d.tar.gz
glibc-2e4f58a4f680dda8e8b8afd1072ac275858a245d.tar.xz
glibc-2e4f58a4f680dda8e8b8afd1072ac275858a245d.zip
Update.
2002-12-21  Ulrich Drepper  <drepper@redhat.com>

	* pthread.c (init_rtsigs): Remove incomplete __builtin_expect.
	Reported by Art Hass <ahaas@airmail.net>.
-rw-r--r--linuxthreads/ChangeLog5
-rw-r--r--linuxthreads/pthread.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/linuxthreads/ChangeLog b/linuxthreads/ChangeLog
index fb665383aa..64b71117c0 100644
--- a/linuxthreads/ChangeLog
+++ b/linuxthreads/ChangeLog
@@ -1,3 +1,8 @@
+2002-12-21  Ulrich Drepper  <drepper@redhat.com>
+
+	* pthread.c (init_rtsigs): Remove incomplete __builtin_expect.
+	Reported by Art Hass <ahaas@airmail.net>.
+
 2002-12-19  Jakub Jelinek  <jakub@redhat.com>
 
 	* forward.c (pthread_attr_init_2_0, pthread_attr_init_2_1):
diff --git a/linuxthreads/pthread.c b/linuxthreads/pthread.c
index 7fc5ef6ff4..b194fcacea 100644
--- a/linuxthreads/pthread.c
+++ b/linuxthreads/pthread.c
@@ -194,7 +194,7 @@ init_rtsigs (void)
   if (rtsigs_initialized)
     return;
 
-  if (__builtin_expect (__libc_current_sigrtmin_private () == -1))
+  if (__libc_current_sigrtmin_private () == -1)
     {
       __pthread_sig_restart = SIGUSR1;
       __pthread_sig_cancel = SIGUSR2;