about summary refs log tree commit diff
path: root/linuxthreads
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-04-18 06:48:18 +0000
committerUlrich Drepper <drepper@redhat.com>2000-04-18 06:48:18 +0000
commitdbacafe52e30710b5ec8707f60c531e6aeb857ed (patch)
tree5565b4784786aa189bf7b7923c64ef06c9727265 /linuxthreads
parent5732c4df916d57ac0ada6817653c13b8d4f19783 (diff)
downloadglibc-dbacafe52e30710b5ec8707f60c531e6aeb857ed.tar.gz
glibc-dbacafe52e30710b5ec8707f60c531e6aeb857ed.tar.xz
glibc-dbacafe52e30710b5ec8707f60c531e6aeb857ed.zip
Update.
	* manual/sysinfo.texi: Document that umount2 is not widely available.
Diffstat (limited to 'linuxthreads')
-rw-r--r--linuxthreads/ChangeLog6
-rw-r--r--linuxthreads/sysdeps/unix/sysv/linux/i386/getcpuclockid.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/linuxthreads/ChangeLog b/linuxthreads/ChangeLog
index 5a0ecb5f72..fddbbcec78 100644
--- a/linuxthreads/ChangeLog
+++ b/linuxthreads/ChangeLog
@@ -1,3 +1,9 @@
+2000-04-17  Ulrich Drepper  <drepper@redhat.com>
+
+	* sysdeps/unix/sysv/linux/i386/getcpuclockid.c
+	(pthread_getcpuclockid): Don't compare thread_id with thread_self,
+	use thread_handle().
+
 2000-04-16  Ulrich Drepper  <drepper@redhat.com>
 
 	* condvar.c (pthread_cond_timedwait_relative): Don't test for owner
diff --git a/linuxthreads/sysdeps/unix/sysv/linux/i386/getcpuclockid.c b/linuxthreads/sysdeps/unix/sysv/linux/i386/getcpuclockid.c
index 4fd99a3fde..90c08d55a8 100644
--- a/linuxthreads/sysdeps/unix/sysv/linux/i386/getcpuclockid.c
+++ b/linuxthreads/sysdeps/unix/sysv/linux/i386/getcpuclockid.c
@@ -27,7 +27,7 @@ int
 pthread_getcpuclockid (pthread_t thread_id, clockid_t *clock_id)
 {
   /* We don't allow any process ID but our own.  */
-  if (thread_id != thread_self ())
+  if (thread_handle (thread_id) != thread_self ())
     return EPERM;
 
   /* Store the number.  */