about summary refs log tree commit diff
path: root/ChangeLog
Commit message (Collapse)AuthorAgeFilesLines
* * elf/ldd.bash.in: When set -o pipefail is available, use that forRoland McGrath2004-12-081-0/+9
| | | | | | | | piping to cat; when not, don't use the pipe at all. Pipe to cat in all cases of running the executable. When direct running exits with code 5, retry running via ${RTLD}. * elf/rtld.c (process_envvars): If __libc_enable_secure and mode != normal, exit with exitcode 5.
* * sysdeps/posix/sysconf.c (__sysconf_check_spec): Only define cvs/fedora-glibc-20041208T1024Roland McGrath2004-12-071-0/+5
| | | | if it will be actually used.
* * rt/tst-timer5.c (setup_test): New function.Roland McGrath2004-12-071-0/+6
| | | | | (TEST_CLOCK_MISSING): Use it to punt test if timer_create does not support CLOCK_MONOTONIC.
* Update.Ulrich Drepper2004-12-071-0/+6
| | | | | | | | 2004-12-07 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone2): Add support for NPTL where the PID is stored at userlevel and needs to be reset when CLONE_THREAD is not used. Restore gp before calling _exit.
* Update.Ulrich Drepper2004-12-071-0/+6
| | | | | | | | 2004-12-07 Kaz Kojima <kkojima@rr.iij4u.or.jp> * sysdeps/unix/sysv/linux/sh/clone.S: Clear the frame pointer when starting a new thread. Add support for NPTL where the PID is stored at userlevel and needs to be reset when CLONE_THREAD is not used.
* Update. cvs/fedora-glibc-20041207T1331Ulrich Drepper2004-12-071-0/+9
| | | | | | | | | | | 2004-12-01 Jakub Jelinek <jakub@redhat.com> * elf/rtld.c (process_envvars): Don't consider LD_SHOW_AUXV and LD_DYNAMIC_WEAK if __libc_enable_secure. If __libc_enable_secure, /etc/suid-debug doesn't exist and program will be actually run, turn off all debugging. * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add LD_DEBUG, LD_DYNAMIC_WEAK and LD_SHOW_AUXV.
* [BZ #601]Ulrich Drepper2004-12-061-1/+6
| | | | | | | | | | Update. 2004-12-06 Jakub Jelinek <jakub@redhat.com> * time/tzset.c (tzset_internal): If + or - is seen, but no offset after it, reset offset to 0. [BZ #601] * libio/ioseekpos.c (_IO_seekpos_unlocked): Call _IO_SEEKOFF not
* Update.Ulrich Drepper2004-12-061-0/+3
| | | | | * libio/ioseekpos.c (_IO_seekpos_unlocked): Call _IO_SEEKOF not _IO_SEEKPOS, saving one indirect jump.
* Update.Ulrich Drepper2004-12-061-0/+10
| | | | | | | | | | | | 2004-12-06 Ulrich Drepper <drepper@redhat.com> * libio/fileops.c (_IO_new_file_seekoff): Fix optimization of in-buffer seek. Remove dead code. 2004-12-02 Jakub Jelinek <jakub@redhat.com> * libio/Makefile (tests): Add bug-ungetc4. * libio/bug-ungetc4.c: New test.
* * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Diagnose EINVALRoland McGrath2004-12-061-0/+13
| | | | | | | | | | | | for CLOCK_THREAD_CPUTIME_ID, not ENOTSUP. Use SYSDEP_NANOSLEEP handler before validating CLOCK_ID value. * rt/tst-timer4.c (TEST_CLOCK, TEST_CLOCK_NANOSLEEP): New macros. Use them throughout in place of CLOCK_REALTIME and nanosleep. (do_test) [TEST_CLOCK_MISSING]: Call this macro and if it returns non-null, punt the test with a message using the string returned. * rt/tst-timer5.c: New file. * rt/Makefile (tests): Add it.
* Update.Ulrich Drepper2004-12-061-0/+15
| | | | | | | | | | | | | | | | | 2004-12-01 Paolo Bonzini <bonzini@gnu.org> * posix/regcomp.c (free_dfa_content, init_dfa): Remove references to re_dfa_t's subexps field. (parse_sub_exp, parse_expression): Do not use it. Use completed_bkref_map instead. (create_initial_state, peek_token): Store a backreference \N with opr.idx = N-1. * posix/regexec.c (proceed_next_node, check_dst_limits, get_subexp): Likewise. (check_subexp_limits): Remove useless condition. * posix/regex_internal.h (re_subexp_t): Remove. (re_dfa_t): Remove subexps and subexps_alloc field, add completed_bkref_map.
* * Makeconfig: Comment typo fix.Roland McGrath2004-12-051-0/+4
|
* Update.Ulrich Drepper2004-12-051-0/+9
| | | | | | | | | | | 2004-11-30 Andreas Schwab <schwab@suse.de> * nis/ypclnt.c (ypprot_err): Remove unused entries. 2004-11-30 Paolo Bonzini <bonzini@gnu.org> * posix/regexec.c (check_dst_limits_calc_pos_1): Check for bkref_idx == -1, and don't recurse in that case.
* * posix/confstr.c: Enclose #error message with double quoteUlrich Drepper2004-12-051-0/+5
| | | | for gcc-3.3 and lower.
* Pretty printing.Ulrich Drepper2004-12-051-3/+5
| | | | | | | | * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise. * sysdeps/unix/arm/brk.S: Likewise. * sysdeps/unix/arm/fork.S: Likewise. * sysdeps/unix/arm/sysdep.S: Likewise. * sysdeps/unix/arm/sysdep.h: Likewise.
* Update.Ulrich Drepper2004-12-051-6/+13
| | | | | | | | | | | | | | | | 2004-12-04 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/i386/clone.S: Add support for NPTL where the PID is stored at userlevel and needs to be reset when CLONE_THREAD is not used. * sysdeps/unix/sysv/linux/86_64/clone.S: Likewise. * sysdeps/unix/sysv/linux/arm/clone.S: Update uses of RETINSTR. * sysdeps/unix/sysv/linux/arm/mmap.S: Likewise. * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise. * sysdeps/unix/sysv/linux/arm/socket.S: Likewise. * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise. * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
* * sysdeps/arm/sysdep.h: Define __USE_BX__ if bx is available.Roland McGrath2004-12-041-0/+18
| | | | | | | | | | | | | | | | | Use it instead of __THUMB_INTERWORK__. Make RETINSTR take only a condition and a register. * sysdeps/arm/dl-machine.h: Use __USE_BX__ instead of __THUMB_INTERWORK__. (_dl_start_user): Use BX. * sysdeps/arm/strlen.S: Use DO_RET. * sysdeps/unix/arm/brk.S, sysdeps/unix/arm/fork.S, sysdeps/unix/arm/sysdep.S, sysdeps/unix/arm/sysdep.h: Likewise. * sysdeps/unix/sysv/linux/arm/clone.S, sysdeps/unix/sysv/linux/arm/mmap.S, sysdeps/unix/sysv/linux/arm/mmap64.S, sysdeps/unix/sysv/linux/arm/socket.S, sysdeps/unix/sysv/linux/arm/sysdep.h, sysdeps/unix/sysv/linux/arm/vfork.S: Update uses of RETINSTR.
* * extra-lib.mk (object-suffixes-$(lib)): Add .oS when cvs/fedora-glibc-20041203T0935Roland McGrath2004-12-021-0/+7
| | | | | | $(lib)-static-only-routines is nonempty. (extra-objs, o-iterator.mk rule): Filter out .oS from generators. Add a special rule for .oS objects -> _nonshared.a library.
* * time/mktime.c (__mktime_internal): If SEC_REQUESTED != SEC,Roland McGrath2004-12-021-0/+7
| | | | | | | | convert T2, not T. * time/Makefile (tests): Add tst-mktime3. * time/tst-mktime3.c: New test. 2004-12-01 Jakub Jelinek <jakub@redhat.com>
* * posix/fnmatch_loop.c (internal_fnmatch): Clear is_seqval afterRoland McGrath2004-12-011-0/+5
| | | | | | normal_bracket label. * time/tst-mktime2.c (bigtime_test): Initialize tm.tm_isdst to -1.
* * stdlib/stdlib.h (realpath): Remove nonnull attribute.Roland McGrath2004-12-011-0/+4
|
* * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c):Roland McGrath2004-12-011-0/+5
| | | | Do $(make-target-directory).
* * posix/confstr.c: Avoid punctuation in #error text. cvs/fedora-glibc-20041130T0624Roland McGrath2004-11-301-0/+4
|
* Update.Ulrich Drepper2004-11-271-0/+3
| | | | | * posix/Makefile (tests): Add tst-sysconf. * posix/tst-sysconf.c: New file.
* Update.Ulrich Drepper2004-11-271-0/+9
| | | | | | | | | | | 2004-11-27 Ulrich Drepper <drepper@redhat.com> * posix/getconf.c (vars): Add support for _SC_IPV6 and _SC_RAW_SOCKETS. * sysdeps/posix/sysconf.c (__sysconf): Add support for _SC_IPV6 and _SC_RAW_SOCKETS. * sysdeps/generic/bits/confname.h: Define _SC_IPV6 and _SC_RAW_SOCKETS.
* Update.Ulrich Drepper2004-11-271-0/+12
| | | | | | | | | | | | | | 2004-11-26 Jakub Jelinek <jakub@redhat.com> * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add GETCONF_DIR. 2004-11-26 Kaz Kojima <kkojima@rr.iij4u.or.jp> * sysdeps/unix/sysv/linux/mips/pread.c: Include sgidefs.h only if NO_SGIDEFS_H isn't defined. Don't include sgidefs.h twice. * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise. * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise. * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
* Update.Ulrich Drepper2004-11-271-0/+23
| | | | | | | | | | | | | | | | | | | | | | | | | 2004-11-27 Ulrich Drepper <drepper@redhat.com> * include/dlfcn.h (__libc_dlopen): Add __RTLD_DLOPEN to the mode parameter. Reported by VY Newsum <newsum@fel.tno.nl>. 2004-11-10 Daniel Jacobowitz <dan@debian.org> * libio/iolibio.h (_IO_fclose, _IO_new_fclose, _IO_old_fclose, _IO_fflush, _IO_fgetpos, _IO_fgetpos64, _IO_fgets, _IO_fopen, _IO_old_fopen, _IO_new_fopen, _IO_fopen64, __fopen_internal, _IO_fprintf, _IO_fputs, _IO_fsetpos, _IO_fsetpos64, _IO_ftell, _IO_fread, _IO_fwrite, _IO_gets, _IO_printf, _IO_puts, _IO_scanf, _IO_fflush_internal, _IO_ftell_internal, _IO_fputs_internal) _IO_fwrite_internal): Remove incorrect __THROW. * libio/libioP.h (_IO_default_xsputn, _IO_wdefault_xsputn, _IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_default_write, _IO_default_read, _IO_getline, _IO_getline_info, _IO_getwline, _IO_getwline_info, _IO_file_read_internal, _IO_sgetn_internal, _IO_wdo_write_internal, _IO_do_write_internal, _IO_getline_info_internal, _IO_getline_internal, _IO_vfprintf_internal, _IO_putc_internal, _IO_read, _IO_write, _IO_close): Likewise.
* Update. cvs/fedora-glibc-20041126T1318Ulrich Drepper2004-11-261-2/+0
|
* Update.Ulrich Drepper2004-11-261-0/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * posix/Makefile (install-others): Add $(inst_libexecdir)/getconf. (CFLAGS-sysconf.c): Add -D_GETCONF_DIR. (CFLAGS-getconf.c): New. ($(inst_libexecdir)/getconf): New. * posix/confstr.c (confstr): Use __sysconf to query specifications that don't have _POSIX_V6_* macros defined. Use __*_{C,LD}FLAGS macros defined in bits/environments.h. * sysdeps/posix/sysconf.c: Include stdlib.h, string.h and sys/stat.h. (__sysconf_check_spec): New routine. (__sysconf): Use it. * posix/getconf.c (specs): Change into structure array. (main): If -v is not given, try to get default from $(libexecdir)/getconf/default. If specification is not supported by this getconf, try to execute $(libexecdir)/getconf/$(specification). * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: New file. * sysdeps/unix/sysv/linux/s390/bits/environments.h: New file. * sysdeps/unix/sysv/linux/powerpc/bits/environments.h: New file. * sysdeps/unix/sysv/linux/sparc/bits/environments.h: New file. * sysdeps/unix/sysv/linux/i386/bits/environments.h: New file. * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: New file. * sysdeps/generic/bits/environments.h (__ILP32_OFFBIG_CFLAGS): Define. 2004-11-26 Jakub Jelinek <jakub@redhat.com>
* Update.Ulrich Drepper2004-11-261-0/+5
| | | | | | | 2004-11-26 Jakub Jelinek <jakub@redhat.com> * stdlib/stdlib.h (setenv): Use nonnull only for second argument. (unsetenv): Remove.
* Update.Ulrich Drepper2004-11-251-0/+10
| | | | | | | | | | | | 2004-11-23 Paolo Bonzini <bonzini@gnu.org> * posix/regcomp.c (analyze_tree): Always call calc_epsdest. (calc_inveclosure): Use re_node_set_insert_last. (parse_dup_op): Lower X{1,5} to (X(X(X(XX?)?)?)?)? rather than X?X?X?X?X?. * posix/regex_internal.h (re_node_set_insert_last): New declaration. * posix/regex_internal.c (re_node_set_insert_last): New function. * posix/PCRE.tests: Add testcases.
* Update.Ulrich Drepper2004-11-251-0/+2
| | | | * dlfcn/dlfcn.h: Remove nonnull attribute from dlopen.
* Update.Ulrich Drepper2004-11-251-0/+5
| | | | | | | 2004-11-25 Ulrich Drepper <drepper@redhat.com> * posix/confstr.c (confstr): Return appropriate strings for _CS_LFS_LINTFLAGS, _CS_LFS64_CFLAGS, and _CS_LFS64_LINTFLAGS.
* Remove whitespace from last change cvs/fedora-glibc-20041124T0741Andreas Jaeger2004-11-241-4/+4
| | | | | | | * sysdeps/mips/sgidefs.h: Prevent <asm/sgidefs.h> from being included by kernel headers and undo its settings if already included. Define _ABIO32, _ABIN32 and _ABI64 if missing and use them to define _MIPS_SIM_ABI32, _MIPS_SIM_NABI32 and
* Update.Andreas Jaeger2004-11-241-0/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-11-05 Maciej W. Rozycki <macro@mips.com> * sysdeps/mips/dl-machine.h: Include <sgidefs.h>. Use _ABIO32, _ABIN32 and _ABI64 for ABI selection throughout. * sysdeps/mips/elf/start.S: Likewise. * sysdeps/mips/mips64/__longjmp.c: Likewise. * sysdeps/mips/mips64/bsd-_setjmp.S: Likewise. * sysdeps/mips/mips64/bsd-setjmp.S: Likewise. * sysdeps/mips/mips64/setjmp.S: Likewise. * sysdeps/mips/mips64/setjmp_aux.c: Likewise. * sysdeps/mips/sys/regdef.h: Likewise. * sysdeps/mips/sys/ucontext.h: Likewise. * sysdeps/unix/mips/sysdep.h: Likewise. * sysdeps/unix/sysv/linux/kernel-features.h: Likewise. * sysdeps/unix/sysv/linux/mips/pread.c: Likewise. * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise. * sysdeps/unix/sysv/linux/mips/ptrace.c: Likewise. * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise. * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise. * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise. * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise. * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Likewise. * sysdeps/mips/atomicity.h: Use _ABIO32, _ABIN32 and _ABI64 for ABI selection throughout. * sysdeps/mips/bits/setjmp.h: Likewise. * sysdeps/mips/fpu/bits/mathdef.h: Likewise. * sysdeps/mips/machine-gmon.h: Likewise. * sysdeps/mips/sys/asm.h: Likewise. * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise. * sysdeps/unix/sysv/linux/mips/bits/sigcontext.h: Likewise. * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise. * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Likewise. * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h: Likewise. * sysdeps/unix/sysv/linux/mips/sys/ptrace.h: Likewise. * sysdeps/unix/sysv/linux/mips/sys/tas.h: Likewise. * sysdeps/unix/sysv/linux/mips/sys/user.h: Likewise. * sysdeps/mips/sgidefs.h: Prevent <asm/sgidefs.h> from being included by kernel headers and undo its settings if already included. Define _ABIO32, _ABIN32 and _ABI64 if missing and use them to define _MIPS_SIM_ABI32, _MIPS_SIM_NABI32 and _MIPS_SIM_ABI64 for compatibility. * sysdeps/unix/sysv/linux/mips/Makefile: Use _ABIO32, _ABIN32 and _ABI64 for ABI selection in generated syscall-list.h * sysdeps/unix/sysv/linux/mips/configure.in: Use _ABIO32, _ABIN32 and _ABI64 for ABI selection in generated asm-unistd.h. * sysdeps/unix/sysv/linux/mips/configure: Regenerate. * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Correct an inverted _MIPS_SIM conditional.
* Update.Ulrich Drepper2004-11-231-0/+5
| | | | | | | 2004-11-23 Alexandre Oliva <aoliva@redhat.com> * sysdeps/generic/dl-tls.c (_dl_determine_tlsoffset): Use free range even if it doesn't match exactly.
* Update.Ulrich Drepper2004-11-231-0/+5
| | | | | | | 2004-11-23 Jakub Jelinek <jakub@redhat.com> * nss/nss_files/files-XXX.c (internal_getent): If parse_line returned -1, also do H_ERRNO_SET (NETDB_INTERNAL).
* Update.Ulrich Drepper2004-11-221-0/+5
| | | | | | | 2004-11-22 Ulrich Drepper <drepper@redhat.com> * sysdeps/i386/fpu_control.h: Add volatile to the asms. Patch by Alexander Stohr.
* Update.Ulrich Drepper2004-11-221-2/+8
| | | | | | | | | | | 2004-11-22 Jakub Jelinek <jakub@redhat.com> * nscd/nscd_getai (__nscd_getai): Avoid memory and file descriptor leaks. * sysdeps/posix/getaddrinfo.c (gaih_inet): Free air. * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (__SI_MAX_SIZE): * dirent/dirent.h: Add nonnull attributes.
* * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (__SI_MAX_SIZE): Andreas Jaeger2004-11-221-0/+9
| | | | | | | | Define appropriately based on __WORDSIZE. [struct siginfo] (__pad0): Add for explicit padding. * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Formatting fixes throughout.
* Update.Ulrich Drepper2004-11-221-0/+5
| | | | | | | 2004-11-22 Ulrich Drepper <drepper@redhat.com> * dirent/dirent.h: Add __nonnull attributes. * dlfcn/dlfcn.h: Likewise.
* [BZ #552]Ulrich Drepper2004-11-211-0/+21
| | | | | | | | | | | | | | | | | | | | | | | | Update. 2004-11-20 Jakub Jelinek <jakub@redhat.com> * sysdeps/ieee754/k_standard.c: Document code 50. (__kernel_standard) <case 50>: Avoid raising div-by-zero exception again. 2004-11-19 H.J. Lu <hongjiu.lu@intel.com> [BZ #552] * math/libm-test.inc (tgamma_test): Update tgamma (0) and tgamma (-0). * sysdeps/generic/w_tgamma.c (__tgamma): Properly handle |x| == 0. * sysdeps/generic/w_tgammaf.c (__tgammaf): Likewise. * sysdeps/generic/w_tgammal.c (__tgammal): Likewise. * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise. * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise. * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise. * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise. * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle tgamma (0) and tgamma (-0).
* Update. cvs/fedora-glibc-20041121T1116Ulrich Drepper2004-11-201-0/+3
| | | | | * time/tzfile.c (__tzfile_read): Avoid open for checking whether the file we already use changed.
* Update.Ulrich Drepper2004-11-201-0/+4
| | | | | | 2004-11-20 Ulrich Drepper <drepper@redhat.com> * misc/syslog.c: Remove !USE_IN_LIBIO code.
* Update.Ulrich Drepper2004-11-201-0/+9
| | | | | | | | | | | 2004-11-20 Jakub Jelinek <jakub@redhat.com> * signal/signal.h (__sysv_signal, sysv_signal, signal, bsd_signal, ssignal): Remove __nonnull attribute. 2004-11-20 Kaz Kojima <kkojima@rr.iij4u.or.jp> * sysdeps/unix/sysv/linux/sh/sys/procfs.h: New file.
* Update. cvs/fedora-glibc-20041120T0949Ulrich Drepper2004-11-201-0/+2
| | | | * signal/signal.h: Add nonnull attributes.
* Update.Ulrich Drepper2004-11-201-0/+5
| | | | | | | 2004-11-20 Ulrich Drepper <drepper@redhat.com> * signal/signal.h: Add deprecated attributes to sigstack, sigpause, sigblock, sigsetmask, siggetmask.
* Update.Ulrich Drepper2004-11-201-2/+6
| | | | | | | | | 2004-11-20 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/bits/socket.h (SCM_RIGHTS): Avoid comma at the end of enum if __USE_BSD is not defined. (calc_inveclosure, calc_eclosure): Skip OP_DELETED_SUBEXP nodes.
* Update.Ulrich Drepper2004-11-201-0/+3
| | | | | * malloc/malloc.c (_int_malloc): Check for corruption of chunk which is about to be returned.
* Update.Ulrich Drepper2004-11-191-1/+6
| | | | | | | | | 2004-11-19 Ulrich Drepper <drepper@redhat.com> * malloc/malloc.c (_int_free): Add a few more cheap tests for corruption. * debug/fprintf_chk.c: Adjust all users.