This commit is contained in:
Roland McGrath 2005-07-18 03:27:44 +00:00
parent 242a656c09
commit 43be1c394a

255
ChangeLog
View File

@ -1,8 +1,184 @@
2005-07-15 Andreas Jaeger <aj@suse.de>
[BZ #1079]
* include/stdlib.h: Remove malloc attribute from __posix_memalign.
* stdlib/stdlib.h: Likewise.
2005-07-13 Ulrich Drepper <drepper@redhat.com>
* nscd/nscd_helper.c: Add a few __builtin_expect.
[BZ #1080]
* nscd/connections.c (send_ro_fd): Make sure BUF is aligned correctly.
* nscd/nscd_helper.c (wait_on_socket): New function.
(get_mapping): Use wait_on_socket instead of poll. The former handles
EINTR of poll correctly.
(__nscd_open_socket): Likewise.
(get_mapping): Make sure BUF is aligned correctly.
(get_mapping): Use munmap on correct pointer.
2005-07-05 Ulrich Drepper <drepper@redhat.com>
[BZ #1101]
* posix/regex_internal.c (build_wcs_buffer): Use MB_LEN_MAX not
MB_CUR_MAX.
(build_wcs_upper_buffer): Likewise.
2005-06-25 Jakub Jelinek <jakub@redhat.com>
[BZ #1097]
* sunrpc/xdr.c (xdr_hyper, xdr_u_hyper): When decoding, cast
t2 to uint32_t instead of ulong.
* sunrpc/Makefile (tests): Add tst-xdrmem.
* sunrpc/tst-xdrmem.c: New test.
2005-06-20 Jakub Jelinek <jakub@redhat.com>
[BZ #653]
* sysdeps/unix/sysv/linux/sys/quota.h: Add definitions and types for
_LINUX_QUOTA_VERSION >= 2.
(_LINUX_QUOTA_VERSION): Define if not yet defined.
2005-06-15 Jakub Jelinek <jakub@redhat.com>
[BZ #1088]
* hesiod/hesiod.c (hesiod_init): Don't check for ctx->classes[0] == 0
or both classes equal here.
(parse_config_file): If both classes are equal, clear the second one.
2005-06-08 Karl Kelley <kekelley@iastate.edu>
[BZ #1088]
* hesiod/hesiod_p.h (struct hesiod_p): Add classes array.
* hesiod/hesiod.c (hesiod_init): Initialize classes. Fail if no
valid classes were given or if both are equal.
(hesiod_resolve): Use ctx->classes instead of hardcoded C_IN
and C_HS order.
(parse_config_file): Handle classes keyword.
* hesiod/README.hesiod: Mention addition of the classes keyword.
2005-06-14 Ulrich Drepper <drepper@redhat.com>
[BZ #1085]
* configure.in: Add test for availability of libaudit.
* config.h.in: Define HAVE_LIBAUDIT.
* config.make.in: Define have-libaudit.
* nscd/Makefile: If libaudit is available, link nscd with it.
* nscd/selinux.c: If HAVE_LIBAUDIT is defined, log using libaudit.
Patch by Steve Grubb <sgrubb@redhat.com>.
[BZ #1083]
* sysdeps/posix/posix_fallocate64.c: Use __libc_pread64 instead of
__pread64.
[BZ #1087]
* include/string.h: Use libc_hidden_proto for strnlen.
* sysdeps/generic/strnlen.c: Add libc_hidden_def.
2005-06-13 Jakub Jelinek <jakub@redhat.com>
[BZ #1096]
* sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_sendreq,
__netlink_receive): Remove prototypes.
(__netlink_request): New prototype.
* sysdeps/unix/sysv/linux/ifaddrs.c: Include <alloca.h> and
<stdint.h>.
(__netlink_sendreq): Make static.
(__netlink_receive): Rename to...
(__netlink_request): ... this. Add type argument, call
__netlink_sendreq. If MSG_TRUNC is set after recvmsg, retry
with a bigger buffer. Don't record buffers that contain no
messages we are expecting.
(getifaddrs): Use __netlink_request instead of __netlink_sendreq
and __netlink_receive pairs. Formatting.
* sysdeps/unix/sysv/linux/if_index.c (if_nameindex_netlink): Use
__netlink_request instead of __netlink_sendreq and __netlink_receive
pair.
2005-05-23 Ulrich Drepper <drepper@redhat.com>
[BZ #1086]
* sunrpc/bindrsvprt.c (LOWPORT): Apparently some mountd
implementations are broken and don't accept ports < 512.
2005-05-22 Dmitry V. Levin <ldv@altlinux.org>
[BZ #961]
* io/sys/sendfile.h: Remove __nonnull from sendfile and sendfile64
declarations.
2005-05-23 Ulrich Drepper <drepper@redhat.com>
[BZ #1086]
* sunrpc/pm_getport.c (__get_socket): New function.
(pmap_getport): Use it to open a non-reserved socket to the portmapper
for TCP.
* include/rpc/pmap_clnt.h (__get_socket): Declare.
* sunrpc/pm_getmaps.c (pmap_getmaps): Use __get_socket to get an
non-reserved socket for the portmapper.
Based on a patch by Steve Dickson <steved@redhat.com>.
[BZ #1086]
* sunrpc/bindrsvprt.c (bindresvport): Try harder to find a port.
If we tried looking at the usual range without success extend the
range to even lower ports.
2005-05-19 Jakub Jelinek <jakub@redhat.com>
[BZ #955]
* iconvdata/ibm939.c (BODY): Avoid segfaults with input characters
<UFFFF> and above.
2005-05-06 Jakub Jelinek <jakub@redhat.com>
[BZ #934]
* posix/regex_internal.h: Include bits/libc-lock.h or define dummy
__libc_lock_* macros if not _LIBC.
(struct re_dfa_t): Add lock.
* posix/regcomp.c (re_compile_internal): Add __libc_lock_init.
* posix/regexec.c (regexec, re_search_stub): Add locking.
2005-04-29 Jakub Jelinek <jakub@redhat.com>
[BZ #1083]
* sysdeps/posix/posix_fallocate.c (posix_fallocate): If len == 0,
call ftruncate if offset is bigger than current size. Make sure
the file is offset + len bytes long if that is more than current size.
Don't overwrite previous content of the file.
* sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
Likewise.
2005-04-29 Ulrich Drepper <drepper@redhat.com>
[BZ #1093]
* nis/nis_table.c: Fix realloc handling.
* nis/nis_removemember.c: Likewise.
2005-04-27 Ulrich Drepper <drepper@redhat.com>
[BZ #1094]
* nscd/connections.c (nscd_run): Use time() value in prune_cache
call, not timeout value, since the latter might be from another clock.
2005-04-27 Roland McGrath <roland@redhat.com>
[BZ #877]
* posix/unistd.h: Remove __nonnull from acct decl.
2005-04-26 Jakub Jelinek <jakub@redhat.com>
[BZ #1081]
* elf/dl-close.c: Include stddef.h.
(_dl_close): If called recursively, just remember GC needs to be rerun
and decrease l_direct_opencount. Avoid GC if l_direct_opencount
decreased to 1. Rerun GC at the end if any destructor unloaded some
additional libraries.
* elf/Makefile: Add rules to build and run unload6 test.
* elf/unload6.c: New test.
* elf/unload6mod1.c: New file.
* elf/unload6mod2.c: New file.
* elf/unload6mod3.c: New file.
2005-04-14 Roland McGrath <roland@redhat.com>
[BZ #253]
@ -27,10 +203,65 @@
* posix/Makefile: Add rules to build and run tst-execvp3.
* posix/tst-execvp3.c: New file.
2005-04-12 Ulrich Drepper <drepper@redhat.com>
[BZ #1090]
* stdlib/random_r.c (__initstate_r): Don't use non-existing state.
* string/tst-strfry.c: New file.
* string/Makefile (tests): Add tst-strfry.
2005-04-11 James A. Morrison <ja2morri@uwaterloo.ca>
* manual/string.texi: Fix typo in wmemcpy decl.
2005-04-07 Roland McGrath <roland@redhat.com>
* po/libc.pot: Regenerated.
2005-03-21 Thorsten Kukuk <kukuk@suse.de>
[BZ #1098]
* sunrpc/xdr_stdio.c (xdrstdio_getlong, xdrstdio_putlong):
Convert correctly between long/int on 64bit big-endian.
2005-03-15 Jakub Jelinek <jakub@redhat.com>
[BZ #779]
* malloc/malloc.c (public_mTRIm): Initialize malloc if not yet
initialized.
2005-03-05 Ulrich Drepper <drepper@redhat.com>
[BZ #1101]
* posix/regex_internal.c [_LIBC] (build_wcs_buffer): Avoid using
dynamically sized array.
(build_wcs_upper_buffer): Likewise.
2005-02-11 Jakub Jelinek <jakub@redhat.com>
[BZ #1100]
* debug/chk_fail.c (__chk_fail): Add a while (1) loop around
__libc_message to kill GCC warning about noreturn function returning.
2005-01-30 Ulrich Drepper <drepper@redhat.com>
[BZ #1103]
* nscd/nscd_helper.c (get_mapping): Use MSG_NOSIGNAL if available.
* nscd/connections.c (send_ro_fd): Likewise.
2005-01-26 Ulrich Drepper <drepper@redhat.com>
[BZ #1100]
* debug/chk_fail.c (__chk_fail): Print program name in final message.
2005-01-11 Thorsten Kukuk <kukuk@suse.de>
[BZ #1099]
* grp/putgrent.c (putgrent): Don't write 0 as group
ID if groupname starts with + or -.
* pwd/putpwent.c (putpwent): Don't write 0 as user or
group ID if user name starts with + or -.
2005-04-05 Roland McGrath <roland@redhat.com>
* NEWS, version.h (VERSION): 2.3.5.
@ -86,6 +317,12 @@
* sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
* sysdeps/ia64/fpu/w_tgammal.S: Likewise.
2005-04-04 Jakub Jelinek <jakub@redhat.com>
[BZ #1082]
* sunrpc/pmap_rmt.c (xdr_rmtcall_args): Use a dummy arglen instead
of trying to encode uninitialized arglen.
2005-04-04 Ulrich Drepper <drepper@redhat.com>
[BZ #825]
@ -258,6 +495,12 @@
* sysdeps/ia64/fpu/import_intel_libm: Likewise.
* sysdeps/ia64/fpu/Makefile: Likewise.
2005-03-29 Jakub Jelinek <jakub@redhat.com>
[BZ #1087]
* posix/fnmatch.c (fnmatch): For short patterns or strings attempt to
avoid calling mbsrtowcs twice.
2005-03-29 Thorsten Kukuk <kukuk@suse.de>
[BZ #661]
@ -277,6 +520,11 @@
* elf/dl-open.c (dl_open_worker): Fix typo.
2005-02-27 Denis Barbier <barbier@debian.org>
[BZ #549]
* locale/iso-4217.def: Add CSD currency.
2005-03-19 Ulrich Drepper <drepper@redhat.com>
[BZ #821]
@ -446,6 +694,13 @@
* posix/execvp.c (execvp): Fix invalid free.
2005-02-22 Jakub Jelinek <jakub@redhat.com>
[BZ #1095]
* malloc/Makefile (CFLAGS-mcheck-init.c): Add.
* sunrpc/Makefile: Add $(PIC-ccflag) to CFLAGS-x* for
librpcsvc.a objects.
2005-02-21 Alan Modra <amodra@bigpond.net.au>
[BZ #719]