[BZ #2644]
[glibc.git] / ChangeLog
blob20f1f8d5d67953ca8c0b13adb1f583b96fc33281
1 2006-05-06  Ulrich Drepper  <drepper@redhat.com>
3         * sysdeps/generic/ldsodefs.h: Remove support for non-core
4         architectures.
6         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Make sure
7         that unused memory passed to sendto is nevertheless initialized.
9         [BZ #2499]
10         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Avoid
11         possibly unaligned memory accesses.
13         * include/arpa/nameser.h: Also optimize NS_PUT16 and NS_PUT32.
14         * resolv/res_mkquery.c: Use NS_PUT16 and NS_PUT32 instead of __putshort
15         and __putlong respectively.  Correct buffer overflow check for
16         NS_NOTIFY_OP.
18         * resolv/res_send.c (send_vc): Use ns_put16 instead of putshort.
20         * resolv/res_send.c (res_queriesmatch): Fix typo in comment.
21         (send_dg): Rewrite error handling to be more compact and avoid
22         double recomputation of timeouts.  Pass MSG_NOSIGNAL to send.
24         * include/arpa/nameser.h: Add optimizations for NS_GET16 and NS_GET32.
26         * resolv/res_send.c (res_nameinquery): Use NS_GET16 directly
27         instead of ns_get16.
28         (res_queriesmatch): Likewise.  Minor optimization.
30         [BZ #2499]
31         * resolv/res_query.c (__libc_res_nquery): If answerp != NULL,
32         __libc_res_nsend might reallocate the buffer for the answer.  In
33         this case we have to reload the HP pointer.
35 2006-05-05  Ulrich Drepper  <drepper@redhat.com>
37         * stdio-common/vfscanf.c (memory_error): Remove definition.  Add
38         some branch prediction hints.
40         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Define SPLICE_F_*.
41         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
42         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
44         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
45         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46         * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
47         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
49 2006-05-05  Martin Schwidefsky  <schwidefsky@de.ibm.com>
51         * sysdeps/s390/s390-32/elf/start.S: Replace pc relative relocation
52         by a GOT relocation to make Scrt1.o position independent.
53         * sysdeps/s390/s390-64/elf/start.S: Likewise.
55         * sysdeps/unix/sysv/linux/s390/s390-32/syscall.S: Add support for
56         six system call parameters.
57         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
59 2006-05-05  Ulrich Drepper  <drepper@redhat.com>
61         * sunrpc/svcauth_des.c (cache_init): Use calloc instead of
62         malloc&bzero.
64         * sunrpc/svc_udp.c (BZERO): Remove definition.
65         (CALLOC): Define.
66         (svc_enablecache): Use CALLOC instead of ALLOC&BZERO.
68         * sunrpc/des_impl.c: Remove ALT_ECB support.  We never used it.
69         (des_SPtrans): Use uint32_t type.
70         (des_skb): Likewise.
72         * sunrpc/xdr_ref.c (xdr_reference): Use calloc instead of malloc&bzero.
74 2006-05-05  Jakub Jelinek  <jakub@redhat.com>
76         [BZ #2509]
77         * stdio-common/tst-printf.sh: Adjust for tst-printf.c change even
78         on 32-bit arches.
80 2006-05-05  Ulrich Drepper  <drepper@redhat.com>
82         * locale/programs/ld-address.c (address_finish): Fix one more
83         place where the iso639 array might be accessed beyond the limits.
85 2006-05-04  Ulrich Drepper  <drepper@redhat.com>
87         * nis/nis_table.c (nis_list): Avoid clearing res twice before
88         filling it for the first time.
90         * nis/nis_table.c (get_tablepath): Renamed from __get_tablepath.
91         Adjust all callers.
92         Free res object content before returning.
94         * sunrpc/xdr_array.c (xdr_array): Use calloc instead of malloc&bzero.
96         * sunrpc/key_call.c (__rpc_thread_key_cleanup): Also free
97         client->cl_auth.
99         * sunrpc/rpc_thread.c (__rpc_thread_destroy): Don't skip entire
100         cleanup for initial thread, just the free call on TVP.
102         * nscd/gai.c (__getline): Define.
105 See ChangeLog.16 for earlier changes.