]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Update.
authorUlrich Drepper <drepper@redhat.com>
Wed, 10 Jul 2002 20:43:48 +0000 (20:43 +0000)
committerUlrich Drepper <drepper@redhat.com>
Wed, 10 Jul 2002 20:43:48 +0000 (20:43 +0000)
2002-07-10  Ulrich Drepper  <drepper@redhat.com>

* wrapsyscall.c: Add __nanosleep alias.
* Versions (GLIBC_2.2.6): Add __nanosleep.

linuxthreads/ChangeLog
linuxthreads/Versions
linuxthreads/wrapsyscall.c
sysdeps/unix/sysv/sysv4/bits/sigset.h

index 9102cd044c4e9e0b1d1f9c4c828d85c0ce42a92d..643013288e543065fb3379c2d8fc39323868c604 100644 (file)
@@ -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.
index ac66f305f68a7ba7b7616e0c7fb07b1ca9f20bb5..3124814d99191c945c2ef4822ed8c9c769456fc8 100644 (file)
@@ -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;
index 5acc60b1a1f4ce7a6ddb5ebe34d37609cf2e2f6f..a260c970aa75c8ddcf15624dc9ccb664e700f45e 100644 (file)
@@ -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).  */
index bf0cae21019423cbf8398e5333f973f4a7721968..9093c72952e278537894b8fee11f3da3f655bc73 100644 (file)
@@ -1,5 +1,5 @@
 /* __sig_atomic_t, __sigset_t, and related definitions.  SVR4 version.
-   Copyright (C) 1994, 1995, 1996 Free Software Foundation, Inc.
+   Copyright (C) 1994-1996, 2002 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -44,7 +44,7 @@ typedef struct
 
 
 /* It's easier to assume 8-bit bytes than to get CHAR_BIT.  */
-#define        __NSSBITS       (sizeof (__sigset_t) * 8)
+#define        __NSSBITS       (sizeof (unsigned long int) * 8)
 #define        __SSELT(s)      ((s) / __NSSBITS)
 #define        __SSMASK(s)     (1 << ((s) % __NSSBITS))