]> sourceware.org Git - glibc.git/commitdiff
Update.
authorUlrich Drepper <drepper@redhat.com>
Wed, 6 Oct 2004 18:28:30 +0000 (18:28 +0000)
committerUlrich Drepper <drepper@redhat.com>
Wed, 6 Oct 2004 18:28:30 +0000 (18:28 +0000)
2004-10-06  Ulrich Drepper  <drepper@redhat.com>

* resolv/res_mkquery.c (res_nmkquery): Reject randombits value if
low 16 bits are zero.

ChangeLog
nptl/ChangeLog
resolv/res_mkquery.c

index 796971037fb9047586a9b4338586ef4b5ee0415f..e0245eb811a7e52fb3dd2535bd7c30aa8e9842f0 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2004-10-06  Ulrich Drepper  <drepper@redhat.com>
+
+       * resolv/res_mkquery.c (res_nmkquery): Reject randombits value if
+       low 16 bits are zero.
+
 2004-10-06  Jakub Jelinek  <jakub@redhat.com>
 
        * posix/tst-getaddrinfo2.c: Include stdlib.h and string.h.
index 136cdfcd20043e6a71c5ee4faf65b5bc2275559b..68e643f282396f8a429bab944f0e40885b2f2a3e 100644 (file)
@@ -1,3 +1,21 @@
+2004-10-06  Jakub Jelinek  <jakub@redhat.com>
+
+       * sysdeps/unix/sysv/linux/jmp-unwind.c: Include pthreadP.h instead
+       of pthread-functions.h and pthreaddef.h.
+       * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
+
+       * sysdeps/unix/sysv/linux/x86_64/bits/pthreadtypes.h (pthread_cond_t):
+       Change __data.__nwaiters from int to unsigned int.
+
+       * tst-clock2.c (do_test): Don't fail if _POSIX_THREAD_CPUTIME == 0 and
+       sysconf (_SC_THREAD_CPUTIME) returns negative value.
+
+       * allocatestack.c (__find_thread_by_id): Move attribute_hidden
+       before return type.
+
+       * sysdeps/s390/jmpbuf-unwind.h: Include bits/wordsize.h.
+       (JMPBUF_CFA_UNWINDS_ADJ): Subtract 96 resp. 160 bytes from CFA.
+
 2004-10-06  Ulrich Drepper  <drepper@redhat.com>
 
        * tst-cancel4.c (tf_msgrcv): Check for failure in msgget.  If the
index 5b705b0e8b33bc592a8288949a36d6a76f7a26da..9825ae0fa33d1f00cad6f65ea6abd521bfe98f79 100644 (file)
@@ -141,7 +141,7 @@ res_nmkquery(res_state statp,
            randombits = (tv.tv_sec << 8) ^ tv.tv_usec;
 #endif
          }
-       while (randombits == 0);
+       while ((randombits & 0xffff) == 0);
        statp->id = (statp->id + randombits) & 0xffff;
 #endif
        hp->opcode = op;
This page took 0.059298 seconds and 5 git commands to generate.