about summary refs log tree commit diff
path: root/ChangeLog
Commit message (Collapse)AuthorAgeFilesLines
* 2009-02-26 Andrew Stubbs <ams@codesourcery.com>Ulrich Drepper2009-02-261-0/+15
| | | | | | | | | | | | | | | | SUGIOKA Toshinobu <sugioka@itonet.co.jp> * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Don't include signal.h, sys/ucontext.h and asm/elf.h. Include sys/user.h. * sysdeps/unix/sysv/linux/sh/sys/user.h: Don't include features.h and asm/user.h. Include asm/ptrace.h. (PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS, PTRACE_GETFDPIC, PTRACE_GETFDPIC_EXEC, PTRACE_GETFDPIC_INTERP, PTRACE_GETDSPREGS, PTRACE_SETDSPREGS): Undefine. (start_thread): Don't undefine. (elf_greg_t, ELF_NGREG, elf_fpregset_t, user_fpu_struct, user): Define.
* * wctype/wctype.h: The *_l functions are in POSIX 2008.Ulrich Drepper2009-02-261-0/+18
| | | | | | | | | | | | | | | | | | | | * wcsmbs/wchar.h: mbsnrtowcs, open_wmemstream, wcpcpy, wcpncpy, wcscasecmp, wcsdup, wcsncasecmp, wcsnlen, wcsnrtombs, wcscasecmp_l, wcsncasecmp_l, wcscoll_l, and wcsxfrm_l. * sysdeps/mach/hurd/bits/posix_opt.h: Reset value of macros from 200112L to 200809L. * sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise. * posix/getconf.c (vars): Add _SC_THREAD_ROBUST_PRIO_INHERIT and _SC_THREAD_ROBUST_PRIO_PROTECT entries. * bits/confname.h: Add _SC_THREAD_ROBUST_PRIO_INHERIT and _SC_THREAD_ROBUST_PRIO_PROTECT. * posix/unistd.h: fexecve is in POSIX 2008. * time/time.h: strftime_l is in POSIX 2008. * io/sys/stat.h: futimens is in POSIX 2008. * string/strings.h: strcasecmp_l and strncasecmp_l are in POSIX 2008. * string/string.h: stpcpy, stpncpy, strndup, strnlen, strsignal, strcoll_l, strerror_l, and strxfrm_l are in POSIX 2008. * stdlib/stdlib.h: mkdtemp is in POSIX 2008.
* * libio/stdio.h: dprintf, fmemopen, getdelim, getline,Ulrich Drepper2009-02-261-0/+5
| | | | open_memstream, and vdprintf are in POSIX 2008.
* * locale/langinfo.h: nl_langinfo_l is in POSIX 2008.Ulrich Drepper2009-02-261-0/+11
| | | | | | | | | | | | | * locale/xlocale.h: Define locale_t type. * locale/locale.h: duplocale, freelocale, newlocale, uselocale are in POSIX 2008. Don't define locale_t here. * stdlib/monetary.h: strfmon_l is in POSIX 2008. * signal/signal.h: Declare psignal and psiginfo for POSIX 2008. * stdio-common/psiginfo.c: New file. * stdio-common/psiginfo-data.h: New file. * stdio-common/psiginfo-define.h: New file. * stdio-common/Makefile (routines): Add psiginfo. * stdio-common/Versions: Export psiginfo for GLIBC_2.10.
* * ctype/ctype.h: The *_l functions are in POSIX 2008.Ulrich Drepper2009-02-261-1/+4
| | | | | | * dirent/dirent.h: alphasort, dirfd, scandir, and fdopendir are in POSIX 2008. /proc/sys/kernel/rtsig_max doesn't exist anymore, use getrlimit
* * include/features.h: Define macros for XPG7/POSIX 2008.Ulrich Drepper2009-02-261-0/+13
| | | | | | | | | | | | | | * sysdeps/unix/sysv/linux/bits/stat.h: Protect UTIME_NOW and UTIME_OMIT only with __USE_ATFILE. * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise. * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise. * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise. * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise. * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Likewise. * io/sys/stat.h: Move mknodat definition into same conditional as mknod. * time/sys/time.h: futimesat is not among the functions accepted into the POSIX standard.
* * include/features.h: If no feature selection given and we selectUlrich Drepper2009-02-261-0/+22
| | | | | | | | | | | | | | | | | | | | | by default a POSIX mode, also define __USE_POSIX_IMPLICITLY. * posix/Versions: Export __posix_getopt. * posix/getopt.c (_getopt_initialize): Take additional parameter. Use it to alternatively initialize __posixly_correct. (_getopt_internal_r): Take addition parameter. Pass on to _getopt_initialize. (_getopt_internal): Take addition parameter. Pass on to _getopt_internal_r. (getopt): Pass additional zero to _getopt_internal. (__posix_getopt): New function. * posix/getopt.h: Add redirection for getopt. * posix/getopt1.c (getopt_long): Pass additional zero to _getopt_internal. (getopt_long_only): Likewise. (_getopt_long_r): Pass additional zero to _getopt_internal_r. (_getopt_long_only_r): Likewise. * posix/getopt_int.h: Adjust declarations of _getopt_internal and _getopt_internal_r.
* ..Ulrich Drepper2009-02-251-0/+8
| | | | | | | | | | 2009-02-24 Ulrich Drepper <drepper@redhat.com> * bits/confname.h: Define _SC_TRACE_EVENT_NAME_MAX, _SC_TRACE_NAME_MAX, _SC_TRACE_SYS_MAX, _SC_TRACE_USER_EVENT_MAX, _SC_XOPEN_STREAMS. * sysdeps/posix/sysconf.c (__sysconf): Handle _SC_TRACE_EVENT_NAME_MAX, _SC_TRACE_NAME_MAX, _SC_TRACE_SYS_MAX, _SC_TRACE_USER_EVENT_MAX, _SC_XOPEN_STREAMS.
* [BZ #9895]Roland McGrath2009-02-241-0/+8
| | | | | | | | | | | README.template -> README 2009-02-24 Roland McGrath <roland@redhat.com> [BZ #9895] * README.template: Reworded not to use substituted version number. Renamed to ... * README: ... here (no longer generated). * Makefile (README): Target removed.
* * sysdeps/unix/sysv/linux/sysconf.c (__sysconf):Ulrich Drepper2009-02-241-0/+4
| | | | | /proc/sys/kenrel/rtsig_max doesn't exist anymore, use getrlimit instead.
* * io/sys/stat.h: The lstat functions have been mandatory since 2001.Ulrich Drepper2009-02-241-0/+2
|
* * time/tzset.c (tzset_internal): Correct parsing of TZ envvar.Ulrich Drepper2009-02-241-0/+4
|
* * po/bg.po: Update from translation team.Ulrich Drepper2009-02-221-0/+4
|
* * stdlib/monetary.h: Uglify function parameter names. cvs/fedora-glibc-20090218T1534Jakub Jelinek2009-02-161-0/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * sunrpc/rpc/pmap_clnt.h: Likewise. * sunrpc/rpc/svc.h: Likewise. * sunrpc/rpc/xdr.h: Likewise. * sunrpc/rpc/clnt.h: Likewise. * resolv/netdb.h: Likewise. * resolv/arpa/nameser.h: Likewise. * resolv/resolv.h: Likewise. * argp/argp.h: Likewise. * locale/langinfo.h: Likewise. * io/sys/stat.h: Likewise. * posix/spawn.h: Likewise. * nis/rpcsvc/nislib.h: Likewise. * malloc/obstack.h: Likewise. * sysdeps/ia64/bits/link.h: Likewise. * sysdeps/i386/bits/link.h: Likewise. * sysdeps/s390/bits/link.h: Likewise. * sysdeps/powerpc/bits/link.h: Likewise. * sysdeps/x86_64/bits/link.h: Likewise. * sysdeps/sparc/bits/link.h: Likewise. * sysdeps/sh/bits/link.h: Likewise. * sysdeps/unix/sysv/linux/i386/sys/io.h: Likewise. * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Likewise. * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Likewise. * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise. 2009-02-16 Jakub Jelinek <jakub@redhat.com> * stdlib/monetary.h: Uglify function parameter names. * sunrpc/rpc/pmap_clnt.h: Likewise. * sunrpc/rpc/svc.h: Likewise. * sunrpc/rpc/xdr.h: Likewise. * sunrpc/rpc/clnt.h: Likewise. * resolv/netdb.h: Likewise. * resolv/arpa/nameser.h: Likewise. * resolv/resolv.h: Likewise. * argp/argp.h: Likewise. * locale/langinfo.h: Likewise. * io/sys/stat.h: Likewise. * posix/spawn.h: Likewise. * nis/rpcsvc/nislib.h: Likewise. * malloc/obstack.h: Likewise. * sysdeps/ia64/bits/link.h: Likewise. * sysdeps/i386/bits/link.h: Likewise. * sysdeps/s390/bits/link.h: Likewise. * sysdeps/powerpc/bits/link.h: Likewise. * sysdeps/x86_64/bits/link.h: Likewise. * sysdeps/sparc/bits/link.h: Likewise. * sysdeps/sh/bits/link.h: Likewise. * sysdeps/unix/sysv/linux/i386/sys/io.h: Likewise. * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Likewise. * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Likewise. * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
* * soft-fp/double.h [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D, Jakub Jelinek2009-02-161-0/+6
| | | | | | | | | | FP_UNPACK_SEMIRAW_DP): Use _FP_UNPACK_RAW_1 instead of _FP_UNPACK_RAW_2, fix up first argument. 2008-12-01 Fredrik Unger <fred@tree.se> * soft-fp/double.h [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D, FP_UNPACK_SEMIRAW_DP): Use _FP_UNPACK_RAW_1 instead of _FP_UNPACK_RAW_2, fix up first argument.
* * sysdeps/unix/sysv/linux/getsysstats.c (next_line): New function.Ulrich Drepper2009-02-151-0/+8
| | | | | | | (GET_NPROCS_PARSER): Change parameters and use next_line. (__get_nprocs): Rewrite to not use stdio routines. * sysdeps/unix/sysv/linux/sparc/getsysstats.c (GET_NPROCS_PARSER): Change parameters and use next_line.
* [BZ #5381]Ulrich Drepper2009-02-131-0/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2009-02-13 Ulrich Drepper <drepper@redhat.com> [BZ #5381] * nscd/nscd.h: Remove definitions and declarations for mem_in_flight. Change mempool_alloc prototype. * nscd/mem.c (gc): Don't handle mem_in_flight. (mempool_alloc): Third parameter now only indicates whether this is the first call (to allocate data) or not. If it is, get db rdlock. Release it on error. Don't handle mem_in_flight. * nscd/aicache.c (addhstaiX): Mark he parameter as const. Adjust third parameter of mempool_alloc calls. Nothing to do here in case mempool_alloc fails. Avoid local variable shadowing parameter. No need to get db rdlock before calling cache_add. * nscd/cache.c (cache_add): Adjust call to mempool_alloc. There is no mem_in_flight array anymore. * nscd/connections.c: Remove definition and handling of mem_in_flight. * nscd/grpcache.c (cache_addgr): Adjust third parameter of mempool_alloc calls. Mark he parameter as const. Nothing to do here in case mempool_alloc fails. No need to get db rdlock before calling cache_add. * nscd/hstcache.c (cache_addhst): Likewise. * nscd/initgrcache.c (addinitgroupsX): Likewise. * nscd/servicescache.c (cache_addserv): Likewise. * nscd/pwdcache.c (cache_addpw): Likewise. Remove some debugging code.
* * po/lt.po: Update from translation team.Ulrich Drepper2009-02-121-0/+4
|
* * elf/dl-load.c (open_verify): In case VALID_ELF_HEADER isUlrich Drepper2009-02-101-0/+8
| | | | | | | defined, allow additional data to be added using the optional MORE_ELF_HEADER_DATA macro. * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER, VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Define.
* * include/atomic.h: Define catomic_and if not already defined.Ulrich Drepper2009-02-081-0/+6
| | | | | * sysdeps/x86_64/bits/atomic.h: Define catomic_and. * sysdeps/i386/i486/bits/atomic.h: Likewise.
* (_int_realloc): Likewise. Third argument is now padded sizeUlrich Drepper2009-02-071-1/+2
|
* * malloc/malloc.c (_int_free): Second argument is now mchunkptr.Ulrich Drepper2009-02-071-0/+9
| | | | | | | | | | Change all callers. (_int_realloc): Likewise. All _int_* functions are now static. * malloc/hooks.c: Change all callers to _int_free and _int_realloc. * malloc/arena.c: Likewise. * include/malloc.h: Remove now unnecessary declarations of the _int_* functions.
* * sunrpc/rpc_common.c: We cannot move _null_auth into .rodata thatUlrich Drepper2009-02-071-0/+3
| | | | easily.
* * malloc/malloc.c: Add branch prediction for use of the hooks.Ulrich Drepper2009-02-071-0/+2
|
* * grp/compat-initgroups.c [NOT_IN_libc] (__libc_use_alloca): Define.Ulrich Drepper2009-02-071-0/+4
|
* [BZ #7095]Ulrich Drepper2009-02-071-0/+17
| | | | | | | | | | | | | | | | | | 2009-02-06 Ulrich Drepper <drepper@redhat.com> [BZ #7095] * bits/confname.h: Add SUSv7 macros for getconf environments. * bits/environments.h: Likewise. * sysdeps/unix/sysv/linux/i386/bits/environments.h: Likewise. * sysdeps/unix/sysv/linux/powerpc/bits/environments.h: Likewise. * sysdeps/unix/sysv/linux/s390/bits/environments.h: Likewise. * sysdeps/unix/sysv/linux/sparc/bits/environments.h: Likewise. * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Likewise. * posix/confstr.c: Handle SUSv5 and SUSv7 environments. * posix/getconf.c: Likewise. * posix/sysconf.c: Likewise. * sysdeps/posix/sysconf.c: Likewise. * posix/Makefile (getconf.speclist): Also collect SUSv5 and SUSv7 environments.
* [BZ #9753]Ulrich Drepper2009-02-071-0/+6
| | | | | | | 2009-01-16 Petr Baudis <pasky@suse.cz> [BZ #9753] * resolv/res_libc.c (__res_maybe_init): Call __res_vinit() even if we currently have zero nscount.
* [BZ #9781]Ulrich Drepper2009-02-071-0/+4
| | | | | * grp/compat-initgroups.c (compat_call): Switch to use malloc when the input line is too long.
* * po/Makefile (libc.pot): Add f_print as function taking c-formatUlrich Drepper2009-02-061-0/+3
| | | | parameter.
* * debug/xtrace.sh: Unify translatable messages.Ulrich Drepper2009-02-061-0/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * elf/ldd.bash.in: Likewise. * elf/sprof.c: Likewise. * locale/programs/locale.c: Likewise. * malloc/memusage.sh: Likewise. * nss/getent.c: Likewise. 2009-02-06 Joseph Myers <joseph@codesourcery.com> * debug/pcprofiledump.c (print_version, argp_program_version_hook): New function. * elf/ldconfig.c (more_help): New function. (argp): Use it. * elf/sln.c (usage): New function. (main): Support --help and --version. * malloc/memusagestat.c (print_version): New function. (argp_program_version_hook): New variable. * nscd/nscd.c (more_help): New function. (argp): Use it. * posix/getconf.c (main): Send --version output to stdout. Support --help. * sunrpc/rpc_main.c (usage, options_usage): Take STREAM and STATUS arguments. All callers changed. (print_version): New function. (parseargs): Support --help and --version. * sunrpc/rpcinfo.c (usage): Take STREAM argument. All callers changed. (print_version): New function. (main): Use getopt_long. Support --help and --version. * sysdeps/unix/sysv/linux/lddlibc4.c (main): Support --help and --version. 2009-02-06 Ulrich Drepper <drepper@redhat.com>
* * malloc/memusage.c (DEFAULT_BUFFER_SIZE): Change to 32768.Ulrich Drepper2009-02-061-1/+2
| | | | (update_data): Fix handling of wrapping back
* * malloc/memusage.c (update_data): Fix handling of wrapping backUlrich Drepper2009-02-061-0/+3
| | | | to the beginning of the buffer.
* [BZ #9823]Ulrich Drepper2009-02-061-0/+5
| | | | | | 2009-02-06 Ulrich Drepper <drepper@redhat.com> [BZ #9823] * stdio-common/psignal.c (psignal): Fix test for empty string.
* * include/rpc/auth.h: Use libc_hidden_proto for _null_auth.Ulrich Drepper2009-02-061-0/+4
| | | | | * sunrpc/rpc_common.c: Add libc_hidden_def for _null_auth. Also move _null_auth to .rodata.
* * time/tzset.c (__tzset_parse_tz): DST offset must also allow hourUlrich Drepper2009-02-051-0/+3
| | | | value of 24.
* * intl/dcigettext.c (DCIGETTEXT): Avoid some code duplication.Ulrich Drepper2009-02-051-0/+2
|
* * sysdeps/unix/opendir.c (__alloc_dir): We have a lot more memoryUlrich Drepper2009-02-051-0/+9
| | | | | | | | today than when the original code was written. Use larger buffers. This also makes it unnecessary to have stat information, if this causes extra efforts. (__opendir): In case O_DIRECTORY works, don't call fstat just for __alloc_dir.
* * sysdeps/sh/sh4/dl-trampoline.S: Only set HAVE_FPU if __SH_FPU_ANY__Ulrich Drepper2009-02-051-0/+11
| | | | | | | | | | is set. * sysdeps/sh/sh4/setjmp.S: Support SH4-NOFPU. * sysdeps/sh/sh4/__longjmp.S: Likewise. * sysdeps/unix/sysv/linux/sh/sh4/getcontext.S: Likewise. * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S: Likewise. * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S: Likewise. * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
* * po/ru.po: Update from translation team.Ulrich Drepper2009-02-051-0/+4
|
* * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (struct sigevent):Ulrich Drepper2009-02-051-0/+5
| | | | Add _tid slot to maintain consistency with kernel.
* 2009-02-04 Ulrich Drepper <drepper@redhat.com> cvs/fedora-glibc-20090204T2135Ulrich Drepper2009-02-041-2/+6
| | | | | | | | * libio/wfileops.c (_IO_wfile_underflow): Fix handling of incomplete characters at end of input buffer. * libio/Makefile (tests): Add tst-fgetwc. * libio/tst-fgetwc.c: New file. * libio/tst-fgetwc.input: New file.
* UpdateAndreas Jaeger2009-02-041-0/+4
| | | | | | 2009-02-04 Andreas Jaeger <aj@suse.de> * FAQ.in: Remove reference to my mips page.
* * sysdeps/unix/sysv/linux/sh/Makefile (libm.so-no-z-defs): Define.Ulrich Drepper2009-02-031-0/+4
|
* [BZ #9793]Ulrich Drepper2009-02-031-0/+8
| | | | | | | | | 2009-02-02 Ulrich Drepper <drepper@redhat.com> [BZ #9793] * iconv/gconv_trans.c (__gconv_transliterate): Don't change *OUTBUFSTART unless the whole output fit into the buffer. * iconv/Makefile (tests): Add tst-iconv4. * iconv/tst-iconv4.c: New file.
* * sysdeps/x86_64/cacheinfo.c (intel_02_known): Add new descriptors.Ulrich Drepper2009-02-011-0/+5
| | | | * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
* * nscd/connections.c (nscd_init): If database file access failsUlrich Drepper2009-01-311-3/+3
| | | | | check whether this is due to permission problems and bail in that case.
* * elf/Makefile (ld.so): Adjust the sed script to insert _begin in toUlrich Drepper2009-01-311-0/+5
| | | | newer linker scripts.
* [BZ #7040]Ulrich Drepper2009-01-301-0/+6
| | | | | | | 2009-01-30 Ulrich Drepper <drepper@redhat.com> [BZ #7040] * sysdeps/unix/sysv/linux/sys/inotify.h: Second parameter of inotify_rm_watch should have type int.
* * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S (__longjmp):Ulrich Drepper2009-01-301-0/+7
| | | | | | Make aligned_restore_vmx a local symbol. * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
* UpdateAndreas Jaeger2009-01-301-0/+10
| | | | | | | | | | | | 2009-01-30 Andreas Jaeger <aj@suse.de> * sysdeps/unix/sysv/linux/bits/shm.h (SHM_EXEC): Define. * sysdeps/unix/sysv/linux/ia64/bits/shm.h (SHM_EXEC): Define. * sysdeps/unix/sysv/linux/powerpc/bits/shm.h (SHM_EXEC): Define. * sysdeps/unix/sysv/linux/s390/bits/shm.h (SHM_EXEC): Define. * sysdeps/unix/sysv/linux/sh/bits/shm.h (SHM_EXEC): Define. * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHM_EXEC): Define. * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (SHM_EXEC): Define.