aboutsummaryrefslogtreecommitdiff
path: root/ChangeLog
AgeCommit message (Collapse)Author
2005-08-16[BZ #1188]Ulrich Drepper
2005-08-10 Sergio Gelato <Sergio.Gelato@astro.su.se> [BZ #1188] * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Change assert check from (len > 0) to (len >= 0). 2005-08-16 Ulrich Drepper <drepper@redhat.com> * nis/nis_xdr.c (_xdr_nis_result): Fix type of res variable. Reported by Thomas Schwinge. 2005-08-15 Jakub Jelinek <jakub@redhat.com> * nis/nis_subr.c (nis_leaf_of_r): Handle buflen == 0 correctly. 2005-08-16 Ulrich Drepper <drepper@redhat.com> * nss/getent.c (more_help): Use open_memstream instead of handling memory allocation ourselves. 2005-08-16 Jay Fenlason <fenlason@redhat.com> * nss/getent.c (parse_options): change the -s option to support {database}:{search} to override /etc/resolv.conf for only the specified database.
2005-08-09* nscd/connections.c (main_loop_epoll): Pass NULL as eventUlrich Drepper
argument for epoll_ctl(EPOLL_CTL_DEL) calls.
2005-08-09* nscd/nscd_stat.c (receive_print_stats): Really print values ofUlrich Drepper
thread number, paranoia, and restart interval the server is using.
2005-08-09* argp/argp-help.c: Use _IO_vasprintf instead of vasprintf.Ulrich Drepper
* include/stdio.h: Add libc_hidden_proto for __vfprintf_chk. * debug/vfprintf_chk.c: Add libc_hidden_def.
2005-08-09* argp/argp-help.c (__argp_error): __asprintf -> vasprintf.Roland McGrath
(__argp_failure): Likewise.
2005-08-08* nscd/cache.c (cache_add): Commit hash table and header to disk.cvs/fedora-glibc-20050808T2126Ulrich Drepper
2005-08-08* mach/shortcut.awk: Ignore `weak_alias' lines.Roland McGrath
Reported by Alfred M. Szmidt <ams@gnu.org>. Reported by Alfred M. Szmidt <ams@gnu.org>.
2005-08-08* nscd/mem.c (mempool_alloc): Use posix_fallocate instead of ftruncate.Ulrich Drepper
* nscd/connections.c (nscd_init): Likewise.
2005-08-08* stdio-common/fxprintf.c: Include libioP.h.Ulrich Drepper
2005-08-08* posix/bits/unistd.h (confstr, getgroups, ttyname_r, gethostname,Ulrich Drepper
getdomainname): Add __NTH. * stdlib/bits/stdlib.h (ptsname_r, wctomb, mbstowcs, wcstombs): Likewise. (realpath): Likewise. Use __const instead of const. Add __restrict keywords. * socket/bits/socket2.h (recvfrom): Add __restrict keyword to __buf. * wcsmbs/bits/wchar2.h (wmemcpy, wmemmove, wmempcpy, wmemset, wcscpy, wcpcpy, wcsncpy, wcpncpy, wcscat, wcsncat, vswprintf, wcrtomb, mbsrtowcs, wcsrtombs, mbsnrtowcs, wcsnrtombs): Add __NTH. * string/bits/string3.h (__memset_ichk): Likewise. (__memcpy_ichk, __memmove_ichk, __mempcpy_ichk, __strcpy_ichk, __stpcpy_ichk, __strncpy_ichk, stpncpy, __strcat_ichk, __strncat_ichk): Likewise. Use __const instead of const. (__stpncpy_chk): Use __const instead of const. (__stpncpy_alias): Use __REDIRECT_NTH instead of __REDIRECT. 2005-08-08 Ulrich Drepper <drepper@redhat.com> Jakub Jelinek <jakub@redhat.com> * nscd/mem.c (BLOCK_ALIGN_LOG, BLOCK_ALIGN, BLOCK_ALIGN_M1): Move definitions to... * nscd/nscd.h (BLOCK_ALIGN_LOG, BLOCK_ALIGN, BLOCK_ALIGN_M1): ...here. * nscd/connections.c (usekey): New enum. (check_use, verify_persistent_db): New functions. (nscd_init): If persistent database is corrupted, unlink it and recreate rather than falling back to non-persistent database. Call verify_persistent_db. Avoid overflows in total computation. 2005-08-08 Ulrich Drepper <drepper@redhat.com> * iconvdata/utf-16.c (PREPARE_LOOP): Minor cleanups to make code better readable. Avoid passing var to loop function, it's not necessary at all.
2005-08-07* elf/elf.h (DT_ALPHA_PLTRO): Use symbolic name in DT_ALPHA_PLTROUlrich Drepper
definition.
2005-08-06* timezone/checktab.awk: Update from tzcode2005k.Ulrich Drepper
* timezone/private.h: Likewise. * timezone/scheck.c: Likewise. * timezone/tzselect.ksh: Likewise. * timezone/zdump.c: Likewise. * timezone/zic.c: Likewise. * timezone/africa: Update from tzdata2005k. * timezone/antarctica: Likewise. * timezone/asia: Likewise. * timezone/australasia: Likewise. * timezone/europe: Likewise. * timezone/iso3166.tab: Likewise. * timezone/leapseconds: Likewise. * timezone/northamerica: Likewise. * timezone/solar87: Likewise. * timezone/solar88: Likewise. * timezone/solar89: Likewise. * timezone/southamerica: Likewise. * timezone/zone.tab: Likewise.
2005-08-05* sysdeps/mach/hurd/mig-reply.c (reply_port): Don't use ?: as lvalue.Roland McGrath
2005-08-04[BZ #1137]Roland McGrath
2005-08-03 Dwayne Grant McConnell <dgm69@us.ibm.com> * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Use +=, not =, to append. Remove duplicate flags. * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s): Likewise. Fix comments. [BZ #1137]
2005-08-02[BZ #1137, BZ #1138]Roland McGrath
bz tags [BZ #1138] [BZ #1138] [BZ #1137]
2005-08-01* sysdeps/unix/sysv/linux/sigwait.c (do_sigwait): Restart systemUlrich Drepper
call if it returned EINTR.
2005-07-31helper variable into .data.rel.ro. Simplify the code. ExtendUlrich Drepper
comment to explain prelinking.
2005-07-31helper variable into .data.rel.ro. Remove unnecessary label.Ulrich Drepper
2005-07-31* sysdeps/x86_64/dl-machine.h (elf_machine_load_address): MoveUlrich Drepper
helper variable into .data.rel.ro.
2005-07-31Update.Andreas Jaeger
2005-07-31 Andreas Jaeger <aj@suse.de> * include/bits/syslog.h: New file.
2005-07-30* elf/dl-load.c [__WORDSIZE==64] (FILEBUF_SIZE): Adjust the valueUlrich Drepper
up. We have more program header entries now and the note section was normally not loaded.
2005-07-30* nis/nis_subr.c: Some minor code cleanups.Ulrich Drepper
2005-07-30* misc/bits/syslog.h: New file.Ulrich Drepper
* misc/sys/syslog.h: Include <bits/syslog.h> for fortification. * misc/Makefile (headers): Add bits/syslog.h. * include/sys/syslog.h: Add __vsyslog_chk prototype and hidden_proto. * sysdeps/generic/syslog.c: Change vsyslog function to __vsyslog_chk. Call __vfprintf_chk if necessary. Make vsyslog a wrapper. Add __syslog_chk. * misc/Versions: Export __syslog_chk and __vsyslog_chk. * nis/nis_xdr.c: Help gcc to avoid generating unnecessary wrapper functions.
2005-07-28* misc/error.c [_LIBC]: Include <stdbool.h> and <stdint.h>.cvs/fedora-glibc-20050729T1531Roland McGrath
2005-07-28* nis/nis_xdr.c: Help gcc to generate unnecessary wrapper functions.Ulrich Drepper
2005-07-28* stdio-common/fxprintf.c (__fxprintf): Add INTUSE to _IO_vfprintfUlrich Drepper
call. * gmon/gmon.c (write_gmon): Use __snprintf rather than snprintf.
2005-07-28* nis/nis_file.c: Rewrite the two pairs of functions into wrappersUlrich Drepper
around a pair of new, generalized functions. 22% size reduction.
2005-07-28* nis/nis_xdr.c: Remove unnecessary cast which might hide bugs.Ulrich Drepper
Rearrange code. This reduces the code size 10%.
2005-07-26* misc/error.c (error_tail): Fix a comment typo.Roland McGrath
2005-07-26* po/zh_TW.po: Update from translation team.Ulrich Drepper
2005-07-25* debug/mbstowcs_chk.c: New file.Ulrich Drepper
* debug/wcstombs_chk.c: New file. * debug/Makefile (routines): Add mbstowcs_chk and wcstombs_chk. * debug/Versions: Add __mbstowcs_chk and __wcstombs_chk. * stdlib/bits/stdlib.h: Add definitions for mbstowcs and wcstombs. * wcsmbs/bits/wchar2.h (mbsrtowcs): Pretty printing. * string/test-memset.c (test_main): Use negative byte value in
2005-07-25* string/test-memset.c (test_main): Use negative byte value iscvs/fedora-glibc-20050725T0627Ulrich Drepper
test.
2005-07-24Add a few casts to avoid warnings.Ulrich Drepper
2005-07-24* string/test-memset.c (do_one_test): Compare effect of call, notUlrich Drepper
only return value. Add a few cassts to avoid warnings.
2005-07-24* sysdeps/sh/memset.S (memset): Correct 2nd argument handling.Roland McGrath
2005-07-24typoRoland McGrath
2005-07-24 Ulrich Drepper <drepper@redhat.com>
2005-07-24[BZ #1125]Roland McGrath
bz tag [BZ #1125]
2005-07-24[BZ #1125]Ulrich Drepper
* posix/Makefile (tests): Add tst-execvp4. * posix/tst-execvp4.c: New file. 2005-07-24 Jakub Jelinek <jakub@redhat.com> [BZ #1125] * posix/execvp.c (execvp): Change path_malloc to char *, free that pointer on failure. -2005-07-24 Ulrich Drepper <drepper@redhat.com>
2005-07-24* wcsmbs/Makefile: Add rules to build and run tst-wchar-h.Ulrich Drepper
* wcsmbs/tst-wchar-h.c: New file.
2005-07-24* wcsmbs/bits/wchar2.h: Use __FILE not FILE.Ulrich Drepper
* stdio-common/fxprintf.c (__fxprintf): Define variable more local.
2005-07-22* stdio-common/fxprintf.c (__fxprintf): Declare functions more local.Ulrich Drepper
2005-07-22 Jakub Jelinek <jakub@redhat.com> * wcsmbs/bits/wchar2.h (__vfwprintf_chk, __vwprintf_chk): Use __gnuc_va_list rather than _G_va_list.
2005-07-22[BZ #869]Roland McGrath
2005-07-22 Roland McGrath <roland@redhat.com> [BZ #869] * Makerules ($(objpfx)stubs): Fix last change.
2005-07-22* nscd/Makefile ($(objpfx)nscd): Pass $(nscd-cflags) to $(LINK.o).Roland McGrath
2005-07-22* stdlib/Makefile (headers): Move bits/wchar.h to ...cvs/fedora-glibc-20050722T0433Roland McGrath
* wcsmbs/Makefile (headers): ... here. Add bits/wchar2.h too.
2005-07-21* wcsmbs/bits/wchar2.h (swprintf): Remove format argument.Ulrich Drepper
* debug/tst-chk1.c (do_test): Add test for swprintf with format being the last argument. 2005-07-21 Thorsten Kukuk <kukuk@suse.de> * debug/getgroups_chk.c (__getgroups_chk): Fix return value. * stdio-common/fxprintf.c: Include string.h.
2005-07-20* sysdeps/x86_64/fpu/libm-test-ulps: Adjust expected atan2f results.cvs/fedora-glibc-20050721T0814Ulrich Drepper
* sysdeps/powerpc/fpu/libm-test-ulps: Likewise. * sysdeps/s390/fpu/libm-test-ulps: Likewise. Darin Petkov <darin@tensilica.com>
2005-07-202005-07-20 Bob Wilson <bob.wilson@acm.org>Ulrich Drepper
Darin Petkov <darin@tensilica.com> * sysdeps/ieee754/flt-32/e_atan2f.c (pi_lo): Correct exponent value.
2005-07-20* include/stdio.h (__fxprintf): Remove wfmt argument.Ulrich Drepper
* stdio-common/fxprintf.c: Include assert.h, ctype.h and wchar.h. (__fxprintf): Remove wfmt argument, create wfmt format string on the fly from fmt. * argp/argp-fmtstream.c: Adjust all __fxprintf callers. * argp/argp-help.c: Likewise. * assert/assert-perr.c: Likewise. * assert/assert.c: Likewise. * gmon/gmon.c: Likewise. * inet/rcmd.c: Likewise. * malloc/obstack.c: Likewise. * misc/error.c: Likewise. * misc/getpass.c: Likewise. * posix/getopt.c: Likewise. * resolv/res_hconf.c: Likewise. * stdio-common/perror.c: Likewise. * stdio-common/psignal.c: Likewise. * stdlib/fmtmsg.c: Likewise. * sunrpc/auth_unix.c: Likewise. * sunrpc/clnt_perr.c: Likewise. * sunrpc/clnt_tcp.c: Likewise. * sunrpc/clnt_udp.c: Likewise. * sunrpc/clnt_unix.c: Likewise. * sunrpc/svc_simple.c: Likewise. * sunrpc/svc_tcp.c: Likewise. * sunrpc/svc_udp.c: Likewise. * sunrpc/svc_unix.c: Likewise. * sunrpc/xdr.c: Likewise. * sunrpc/xdr_array.c: Likewise. * sunrpc/xdr_rec.c: Likewise. * sunrpc/xdr_ref.c: Likewise. * sysdeps/generic/wordexp.c: Likewise.
2005-07-20* wcsmbs/bits/wchar2.h: Add definitions for wcrtomb, mbsrtowcs,Ulrich Drepper
wcsrtombs, mbsnrtowcs, and wcsnrtombs. * debug/Makefile (routines): Add wcrtomb_chk, mbsrtowcs_chk, wcsrtombs_chk, mbsnrtowcs_chk, and wcsnrtombs_chk. * debug/Versions: Add __wcrtomb_chk, __mbsrtowcs_chk, __wcsrtombs_chk, __mbsnrtowcs_chk, and __wcsnrtombs_chk. * debug/tst-chk1.c: Add tests for new functions. * debug/mbsnrtowcs_chk.c: New file. * debug/mbsrtowcs_chk.c: New file. * debug/wcrtomb_chk.c: New file. * debug/wcsnrtombs_chk.c: New file. * debug/wcsrtombs_chk.c: New file. * include/stdio.h: Add declaration for __fxprintf.
2005-07-19* stdio-common/Makefile (aux): Add fxprintf.Ulrich Drepper
* stdio-common/fxprintf.c: New file. * include/stdio.h: Add declaration for stdio.h. * argp/argp-fmtstream.c: Use __fxprintf instead of inline stream orientation test and two separate function calls. * argp/argp-help.c: Likewise. * assert/assert-perr.c: Likewise. * assert/assert.c: Likewise. * gmon/gmon.c: Likewise. * inet/rcmd.c: Likewise. * malloc/obstack.c: Likewise. * misc/error.c: Likewise. * misc/getpass.c: Likewise. * posix/getopt.c: Likewise. * resolv/res_hconf.c: Likewise. * stdio-common/perror.c: Likewise. * stdio-common/psignal.c: Likewise. * stdlib/fmtmsg.c: Likewise. * sunrpc/auth_unix.c: Likewise. * sunrpc/clnt_perr.c: Likewise. * sunrpc/clnt_tcp.c: Likewise. * sunrpc/clnt_udp.c: Likewise. * sunrpc/clnt_unix.c: Likewise. * sunrpc/svc_simple.c: Likewise. * sunrpc/svc_tcp.c: Likewise. * sunrpc/svc_udp.c: Likewise. * sunrpc/svc_unix.c: Likewise. * sunrpc/xdr.c: Likewise. * sunrpc/xdr_array.c: Likewise. * sunrpc/xdr_rec.c: Likewise. * sunrpc/xdr_ref.c: Likewise. * sysdeps/generic/wordexp.c: Likewise. * misc/Makefile: Add rules to build and run tst-error1. * misc/tst-error1.c: New file. * misc/error.c: Fix memory leak and possibly endless loop.