about summary refs log tree commit diff
path: root/linuxthreads
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2002-07-10 20:43:48 +0000
committerUlrich Drepper <drepper@redhat.com>2002-07-10 20:43:48 +0000
commitd880edc43c82a7a9c9b50c3ad932a9bff35a7e39 (patch)
treeefa7d3bad7dfe39261848aa6ac8c33ab34342e13 /linuxthreads
parentee33bfcc0787b5bb52cd3ff666e70e8c0a341aca (diff)
downloadglibc-d880edc43c82a7a9c9b50c3ad932a9bff35a7e39.tar.gz
glibc-d880edc43c82a7a9c9b50c3ad932a9bff35a7e39.tar.xz
glibc-d880edc43c82a7a9c9b50c3ad932a9bff35a7e39.zip
Update.
2002-07-10  Ulrich Drepper  <drepper@redhat.com>

	* wrapsyscall.c: Add __nanosleep alias.
	* Versions (GLIBC_2.2.6): Add __nanosleep.
Diffstat (limited to 'linuxthreads')
-rw-r--r--linuxthreads/ChangeLog5
-rw-r--r--linuxthreads/Versions4
-rw-r--r--linuxthreads/wrapsyscall.c1
3 files changed, 10 insertions, 0 deletions
diff --git a/linuxthreads/ChangeLog b/linuxthreads/ChangeLog
index 9102cd044c..643013288e 100644
--- a/linuxthreads/ChangeLog
+++ b/linuxthreads/ChangeLog
@@ -1,3 +1,8 @@
+2002-07-10  Ulrich Drepper  <drepper@redhat.com>
+
+	* wrapsyscall.c: Add __nanosleep alias.
+	* Versions (GLIBC_2.2.6): Add __nanosleep.
+
 2002-06-19  Steven Munroe  <sjmunroe@vnet.ibm.com>
 
 	* Examples/ex9.c (main):  Use list of children and join them.
diff --git a/linuxthreads/Versions b/linuxthreads/Versions
index ac66f305f6..3124814d99 100644
--- a/linuxthreads/Versions
+++ b/linuxthreads/Versions
@@ -153,6 +153,10 @@ libpthread {
     # Extensions.
     pthread_getattr_np;
   }
+  GLIBC_2.2.6 {
+    # Cancellation wrapper
+    __nanosleep;
+  }
   GLIBC_PRIVATE {
     # Internal libc interface to libpthread
     __libc_internal_tsd_get; __libc_internal_tsd_set;
diff --git a/linuxthreads/wrapsyscall.c b/linuxthreads/wrapsyscall.c
index 5acc60b1a1..a260c970aa 100644
--- a/linuxthreads/wrapsyscall.c
+++ b/linuxthreads/wrapsyscall.c
@@ -105,6 +105,7 @@ CANCELABLE_SYSCALL (int, msync, (__ptr_t addr, size_t length, int flags),
 CANCELABLE_SYSCALL (int, nanosleep, (const struct timespec *requested_time,
 				     struct timespec *remaining),
 		    (requested_time, remaining))
+strong_alias (nanosleep, __nanosleep)
 
 
 /* open(2).  */