]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Update.
authorUlrich Drepper <drepper@redhat.com>
Tue, 5 Oct 2004 16:11:51 +0000 (16:11 +0000)
committerUlrich Drepper <drepper@redhat.com>
Tue, 5 Oct 2004 16:11:51 +0000 (16:11 +0000)
2004-10-05  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Include dl-sysdep.h.
* sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.

ChangeLog
libidn/ChangeLog
libidn/idn-stub.c
nptl/ChangeLog
nptl/sysdeps/pthread/timer_create.c
sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h

index a97d986f6f5965a99e267fc99b9932ce3200e0c2..e3b81addc50b4735712b6808ddb95e478f619ceb 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2004-10-05  Jakub Jelinek  <jakub@redhat.com>
+
+       * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Include dl-sysdep.h.
+       * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
+
 2004-10-05  Ulrich Drepper  <drepper@redhat.com>
 
        * grp/initgroups.c: Remove duplicate group IDs.
index 7f65c5071105f24f7a71c77a0bf11c5bfe0f7bfa..daeb4bdef0473b8589b7b1b33d439b881d1a0874 100644 (file)
@@ -1,3 +1,7 @@
+2004-10-05  Ulrich Drepper  <drepper@redhat.com>
+
+       * idn-stub.c (unload_libidn): Don't define outside libc.
+
 2004-07-02  Roland McGrath  <roland@redhat.com>
 
        * configure: Don't exit.
index 13cd4db5c2f741a697f6366af90c5ceb527e3dad..3c69bbc3b3c08976821ec44cb2eb8450569961ba 100644 (file)
@@ -132,6 +132,7 @@ __idna_to_ascii_lz (const char *input, char **output, int flags)
 }
 
 
+#ifndef NOT_IN_libc
 libc_freeres_fn (unload_libidn)
 {
   if (h != NULL && h != (void *) 1l)
@@ -140,3 +141,4 @@ libc_freeres_fn (unload_libidn)
       h = (void *) 1l;
     }
 }
+#endif
index 6e0cdc6d63dfb214aed490f8accabe13407ac599..62d476296ef6b6f3c3932559329d3117cd453045 100644 (file)
@@ -1,3 +1,10 @@
+2004-10-05  Jakub Jelinek  <jakub@redhat.com>
+
+       * sysdeps/pthread/timer_create.c (timer_create): Use
+       defined _POSIX_CPUTIME && _POSIX_CPUTIME >= 0 instead of
+       defined CLOCK_PROCESS_CPUTIME_ID #ifs and similarly for
+       THREAD_CPUTIME.
+
 2004-10-05  Jakub Jelinek  <jakub@redhat.com>
 
        * sysdeps/unix/sysv/linux/x86_64/bits/posix_opt.h (_POSIX_CPUTIME,
index 57dd39e81b1986463d1b127bb8835f7879ba80f6..2f5a587e8da219ea111f50da0ee9f53458816698 100644 (file)
@@ -38,10 +38,10 @@ timer_create (clock_id, evp, timerid)
   struct thread_node *thread = NULL;
 
   if (0
-#ifdef CLOCK_PROCESS_CPUTIME_ID
+#if defined _POSIX_CPUTIME && _POSIX_CPUTIME >= 0
       || clock_id == CLOCK_PROCESS_CPUTIME_ID
 #endif
-#ifdef CLOCK_THREAD_CPUTIME_ID
+#if defined _POSIX_THREAD_CPUTIME && _POSIX_THREAD_CPUTIME >= 0
       || clock_id == CLOCK_THREAD_CPUTIME_ID
 #endif
       )
@@ -100,12 +100,12 @@ timer_create (clock_id, evp, timerid)
        default:
          thread = &__timer_signal_thread_rclk;
          break;
-#ifdef CLOCK_PROCESS_CPUTIME_ID
+#if defined _POSIX_CPUTIME && _POSIX_CPUTIME >= 0
        case CLOCK_PROCESS_CPUTIME_ID:
          thread = &__timer_signal_thread_pclk;
          break;
 #endif
-#ifdef CLOCK_THREAD_CPUTIME_ID
+#if defined _POSIX_THREAD_CPUTIME && _POSIX_THREAD_CPUTIME >= 0
        case CLOCK_THREAD_CPUTIME_ID:
          thread = &__timer_signal_thread_tclk;
          break;
index ad3cde6a66112d812c4e91cd12f14ba180118a98..43b1b951d580b9774eb2042444ad72ab22b1d832 100644 (file)
@@ -22,6 +22,7 @@
 
 #include <sysdeps/s390/s390-32/sysdep.h>
 #include <sysdeps/unix/sysdep.h>
+#include <dl-sysdep.h> /* For RTLD_PRIVATE_ERRNO.  */
 
 /* For Linux we can use the system call table in the header file
        /usr/include/asm/unistd.h
index 45e701e7a463ff6d530f367ce0a65b5ba8a8afa3..154bc068039deee558589aff74abeef2a29a9cf5 100644 (file)
@@ -23,6 +23,7 @@
 
 #include <sysdeps/s390/s390-64/sysdep.h>
 #include <sysdeps/unix/sysdep.h>
+#include <dl-sysdep.h> /* For RTLD_PRIVATE_ERRNO.  */
 
 /* For Linux we can use the system call table in the header file
        /usr/include/asm/unistd.h