From 7cd274587760436effbfce65cfdbd51f761acd67 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Wed, 16 Feb 2005 19:57:14 +0000 Subject: Updated to fedora-glibc-2_3-20050216T1256 --- ChangeLog | 6088 ++------------------ ChangeLog.15 | 83 + Makeconfig | 17 +- catgets/gencat.c | 2 +- csu/Makefile | 2 + csu/version.c | 2 +- debug/catchsegv.sh | 2 +- debug/xtrace.sh | 4 +- dirent/tst-seekdir.c | 28 + elf/Makefile | 12 +- elf/dl-load.c | 22 +- elf/ldconfig.c | 2 +- elf/ldd.bash.in | 4 +- elf/rtld.c | 4 +- elf/sprof.c | 2 +- fedora/branch.mk | 10 +- fedora/glibc.spec.in | 51 +- hurd/sigunwind.c | 2 +- iconv/Makefile | 12 + iconv/iconv_prog.c | 2 +- iconv/iconvconfig.c | 2 +- iconv/strtab.c | 2 +- include/signal.h | 3 + libio/fmemopen.c | 22 +- libio/iofopncook.c | 20 +- linuxthreads/ChangeLog | 22 + linuxthreads/Makefile | 2 +- linuxthreads/descr.h | 4 +- linuxthreads/specific.c | 14 +- linuxthreads/sysdeps/i386/Makefile | 1 + locale/programs/locale.c | 2 +- locale/programs/localedef.c | 2 +- localedata/ChangeLog | 4 + localedata/gen-unicode-ctype.c | 2 +- malloc/malloc.h | 2 - malloc/memusage.sh | 4 +- malloc/mtrace.pl | 2 +- math/libm-test.inc | 112 + misc/efgcvt_r.c | 23 + misc/qefgcvt_r.c | 12 + misc/syslog.c | 414 -- misc/tst-efgcvt.c | 5 + nptl/ChangeLog | 38 + nptl/Makefile | 2 +- nptl/init.c | 2 +- nptl/sysdeps/i386/Makefile | 2 + nptl/sysdeps/i386/tls.h | 7 +- nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S | 9 +- .../unix/sysv/linux/i386/i486/sem_timedwait.S | 9 +- .../unix/sysv/linux/i386/i486/sem_trywait.S | 9 +- nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S | 9 +- nscd/Makefile | 4 +- nscd/nscd.c | 5 +- nscd/nscd.init | 10 +- nscd/nscd_getai.c | 9 +- nscd/nscd_initgroups.c | 12 +- nscd/nscd_nischeck.c | 2 +- nss/getent.c | 2 +- posix/Makefile | 11 + posix/bug-regex19.c | 20 +- posix/execl.c | 48 +- posix/execle.c | 51 +- posix/execlp.c | 48 +- posix/execvp.c | 96 +- posix/getconf.c | 2 +- posix/regcomp.c | 22 +- posix/regex_internal.h | 7 +- posix/rxspencer/tests | 9 + posix/tst-rxspencer.c | 18 +- posix/unistd.h | 16 +- stdio-common/Makefile | 2 +- stdlib/Makefile | 28 +- stdlib/fmtmsg.c | 23 +- stdlib/random_r.c | 9 + stdlib/tst-fmtmsg.c | 32 +- sunrpc/openchild.c | 2 +- sunrpc/svc_tcp.c | 2 +- sunrpc/svc_unix.c | 2 +- sysdeps/generic/dl-tls.c | 11 +- sysdeps/generic/libc-start.c | 2 +- sysdeps/generic/wordexp.c | 58 +- sysdeps/i386/Makefile | 4 + sysdeps/i386/dl-machine.h | 10 + sysdeps/ia64/fpu/Makefile | 35 +- sysdeps/ia64/fpu/e_acos.S | 1500 +++-- sysdeps/ia64/fpu/e_acosf.S | 79 +- sysdeps/ia64/fpu/e_acosl.S | 2916 +++++++--- sysdeps/ia64/fpu/e_asin.S | 1466 +++-- sysdeps/ia64/fpu/e_asinf.S | 73 +- sysdeps/ia64/fpu/e_asinl.S | 2837 +++++++-- sysdeps/ia64/fpu/e_atan2.S | 736 ++- sysdeps/ia64/fpu/e_atan2f.S | 87 +- sysdeps/ia64/fpu/e_cosh.S | 1477 ++--- sysdeps/ia64/fpu/e_coshf.S | 1447 ++--- sysdeps/ia64/fpu/e_coshl.S | 1661 +++--- sysdeps/ia64/fpu/e_exp.S | 887 ++- sysdeps/ia64/fpu/e_expf.S | 949 ++- sysdeps/ia64/fpu/e_fmod.S | 219 +- sysdeps/ia64/fpu/e_fmodf.S | 226 +- sysdeps/ia64/fpu/e_fmodl.S | 221 +- sysdeps/ia64/fpu/e_hypot.S | 73 +- sysdeps/ia64/fpu/e_hypotf.S | 74 +- sysdeps/ia64/fpu/e_hypotl.S | 71 +- sysdeps/ia64/fpu/e_log.S | 2454 +++++--- sysdeps/ia64/fpu/e_logf.S | 1787 +++--- sysdeps/ia64/fpu/e_logl.c | 1 - sysdeps/ia64/fpu/e_pow.S | 1641 +++--- sysdeps/ia64/fpu/e_powf.S | 1573 +++-- sysdeps/ia64/fpu/e_powl.S | 4078 ++++++------- sysdeps/ia64/fpu/e_remainder.S | 114 +- sysdeps/ia64/fpu/e_remainderf.S | 114 +- sysdeps/ia64/fpu/e_remainderl.S | 116 +- sysdeps/ia64/fpu/e_scalb.S | 69 +- sysdeps/ia64/fpu/e_scalbf.S | 69 +- sysdeps/ia64/fpu/e_scalbl.S | 69 +- sysdeps/ia64/fpu/e_sinh.S | 1652 ++---- sysdeps/ia64/fpu/e_sinhf.S | 1614 ++---- sysdeps/ia64/fpu/e_sinhl.S | 1778 +++--- sysdeps/ia64/fpu/e_sqrt.S | 69 +- sysdeps/ia64/fpu/e_sqrtf.S | 70 +- sysdeps/ia64/fpu/e_sqrtl.S | 68 +- sysdeps/ia64/fpu/libm_atan2_reg.S | 1234 ---- sysdeps/ia64/fpu/libm_error.c | 1853 ++++-- sysdeps/ia64/fpu/libm_reduce.S | 1500 ++--- sysdeps/ia64/fpu/libm_support.h | 570 +- sysdeps/ia64/fpu/s_atan.S | 1193 ++-- sysdeps/ia64/fpu/s_atanf.S | 75 +- sysdeps/ia64/fpu/s_atanl.S | 2171 ++++--- sysdeps/ia64/fpu/s_cbrt.S | 1224 ++-- sysdeps/ia64/fpu/s_cbrtf.S | 1226 ++-- sysdeps/ia64/fpu/s_cbrtl.S | 64 +- sysdeps/ia64/fpu/s_ceil.S | 274 +- sysdeps/ia64/fpu/s_ceilf.S | 274 +- sysdeps/ia64/fpu/s_ceill.S | 276 +- sysdeps/ia64/fpu/s_copysign.S | 6 +- sysdeps/ia64/fpu/s_cos.S | 3490 ++--------- sysdeps/ia64/fpu/s_cosf.S | 1181 ++-- sysdeps/ia64/fpu/s_cosl.S | 2756 +++++---- sysdeps/ia64/fpu/s_expm1.S | 2142 ++----- sysdeps/ia64/fpu/s_expm1f.S | 2114 ++----- sysdeps/ia64/fpu/s_expm1l.S | 1950 +++---- sysdeps/ia64/fpu/s_fabs.S | 116 +- sysdeps/ia64/fpu/s_fabsf.S | 83 +- sysdeps/ia64/fpu/s_fabsl.S | 83 +- sysdeps/ia64/fpu/s_floor.S | 252 +- sysdeps/ia64/fpu/s_floorf.S | 250 +- sysdeps/ia64/fpu/s_floorl.S | 250 +- sysdeps/ia64/fpu/s_frexp.c | 33 +- sysdeps/ia64/fpu/s_frexpf.c | 33 +- sysdeps/ia64/fpu/s_frexpl.c | 33 +- sysdeps/ia64/fpu/s_ilogb.S | 306 +- sysdeps/ia64/fpu/s_ilogbf.S | 306 +- sysdeps/ia64/fpu/s_ilogbl.S | 306 +- sysdeps/ia64/fpu/s_ldexp.S | 380 -- sysdeps/ia64/fpu/s_ldexpf.S | 379 -- sysdeps/ia64/fpu/s_ldexpl.S | 379 -- sysdeps/ia64/fpu/s_log1p.S | 2312 +++----- sysdeps/ia64/fpu/s_log1pf.S | 2028 ++----- sysdeps/ia64/fpu/s_log1pl.S | 2067 +++---- sysdeps/ia64/fpu/s_logb.S | 315 +- sysdeps/ia64/fpu/s_logbf.S | 334 +- sysdeps/ia64/fpu/s_logbl.S | 311 +- sysdeps/ia64/fpu/s_modf.S | 47 +- sysdeps/ia64/fpu/s_modff.S | 47 +- sysdeps/ia64/fpu/s_modfl.S | 49 +- sysdeps/ia64/fpu/s_nearbyint.S | 46 +- sysdeps/ia64/fpu/s_nearbyintf.S | 46 +- sysdeps/ia64/fpu/s_nearbyintl.S | 46 +- sysdeps/ia64/fpu/s_nextafterl.c | 1 - sysdeps/ia64/fpu/s_nexttoward.c | 1 - sysdeps/ia64/fpu/s_nexttowardf.c | 1 - sysdeps/ia64/fpu/s_rint.S | 287 +- sysdeps/ia64/fpu/s_rintf.S | 289 +- sysdeps/ia64/fpu/s_rintl.S | 289 +- sysdeps/ia64/fpu/s_round.S | 316 +- sysdeps/ia64/fpu/s_roundf.S | 316 +- sysdeps/ia64/fpu/s_roundl.S | 316 +- sysdeps/ia64/fpu/s_scalbn.S | 379 -- sysdeps/ia64/fpu/s_scalbnf.S | 379 -- sysdeps/ia64/fpu/s_scalbnl.S | 379 -- sysdeps/ia64/fpu/s_significand.S | 61 +- sysdeps/ia64/fpu/s_significandf.S | 61 +- sysdeps/ia64/fpu/s_significandl.S | 61 +- sysdeps/ia64/fpu/s_sincos.c | 10 +- sysdeps/ia64/fpu/s_sincosf.c | 10 +- sysdeps/ia64/fpu/s_sincosl.c | 10 +- sysdeps/ia64/fpu/s_tan.S | 554 +- sysdeps/ia64/fpu/s_tanf.S | 1003 ++-- sysdeps/ia64/fpu/s_tanl.S | 3032 +++++----- sysdeps/ia64/fpu/s_trunc.S | 207 +- sysdeps/ia64/fpu/s_truncf.S | 207 +- sysdeps/ia64/fpu/s_truncl.S | 209 +- sysdeps/mips/Makefile | 4 + sysdeps/powerpc/powerpc32/fpu/s_ceil.S | 27 +- sysdeps/powerpc/powerpc32/fpu/s_ceilf.S | 49 +- sysdeps/powerpc/powerpc32/fpu/s_floor.S | 7 +- sysdeps/powerpc/powerpc32/fpu/s_floorf.S | 25 +- sysdeps/powerpc/powerpc32/fpu/s_rint.S | 11 +- sysdeps/powerpc/powerpc32/fpu/s_rintf.S | 29 +- sysdeps/powerpc/powerpc32/fpu/s_round.S | 23 +- sysdeps/powerpc/powerpc32/fpu/s_roundf.S | 53 +- sysdeps/powerpc/powerpc32/fpu/s_trunc.S | 23 +- sysdeps/powerpc/powerpc32/fpu/s_truncf.S | 41 +- sysdeps/powerpc/powerpc64/fpu/s_ceil.S | 13 +- sysdeps/powerpc/powerpc64/fpu/s_ceilf.S | 17 +- sysdeps/powerpc/powerpc64/fpu/s_floor.S | 9 +- sysdeps/powerpc/powerpc64/fpu/s_floorf.S | 13 +- sysdeps/powerpc/powerpc64/fpu/s_rint.S | 13 +- sysdeps/powerpc/powerpc64/fpu/s_rintf.S | 17 +- sysdeps/powerpc/powerpc64/fpu/s_round.S | 15 +- sysdeps/powerpc/powerpc64/fpu/s_roundf.S | 23 +- sysdeps/powerpc/powerpc64/fpu/s_trunc.S | 13 +- sysdeps/powerpc/powerpc64/fpu/s_truncf.S | 17 +- sysdeps/s390/bits/string.h | 14 +- sysdeps/unix/alarm.c | 5 +- sysdeps/unix/i386/sysdep.S | 10 + sysdeps/unix/rewinddir.c | 1 + sysdeps/unix/sysv/linux/futimes.c | 64 +- sysdeps/unix/sysv/linux/i386/clone.S | 2 +- sysdeps/unix/sysv/linux/i386/sysdep.h | 33 +- sysdeps/unix/sysv/linux/kernel-features.h | 5 + .../unix/sysv/linux/powerpc/powerpc64/setcontext.S | 8 +- .../sysv/linux/powerpc/powerpc64/swapcontext.S | 8 +- sysdeps/x86_64/dl-machine.h | 12 +- time/strptime_l.c | 10 +- time/tst-strptime.c | 22 +- timezone/asia | 135 +- timezone/backward | 20 +- timezone/europe | 18 +- timezone/leapseconds | 11 +- timezone/northamerica | 39 +- timezone/private.h | 13 +- timezone/southamerica | 17 +- timezone/tzfile.h | 17 +- timezone/zdump.c | 377 +- timezone/zic.c | 89 +- 236 files changed, 37575 insertions(+), 50646 deletions(-) delete mode 100644 misc/syslog.c delete mode 100644 sysdeps/ia64/fpu/e_logl.c delete mode 100644 sysdeps/ia64/fpu/libm_atan2_reg.S delete mode 100644 sysdeps/ia64/fpu/s_ldexp.S delete mode 100644 sysdeps/ia64/fpu/s_ldexpf.S delete mode 100644 sysdeps/ia64/fpu/s_ldexpl.S delete mode 100644 sysdeps/ia64/fpu/s_nextafterl.c delete mode 100644 sysdeps/ia64/fpu/s_nexttoward.c delete mode 100644 sysdeps/ia64/fpu/s_nexttowardf.c delete mode 100644 sysdeps/ia64/fpu/s_scalbn.S delete mode 100644 sysdeps/ia64/fpu/s_scalbnf.S delete mode 100644 sysdeps/ia64/fpu/s_scalbnl.S diff --git a/ChangeLog b/ChangeLog index 8bd99f21f1..226211550c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5553 +1,687 @@ -2004-12-19 Roland McGrath +2005-02-09 Jakub Jelinek - * iconv/iconvconfig.c (nostdlib, output_file, output_file_len): - New variables. - (options, parse_opt, main): Take new options --nostdlib and - --output/-o to set them. Under --nostdlib, skip GCONV_PATH dirs. - (write_output): If output_file is set, write the output there. + [BZ #710] + * stdlib/random_r.c (__initstate_r): Save old state. + * stdlib/Makefile (tests): Add tst-random2. + * stdlib/tst-random2.c: New test. + Reported by Peter Bergner . -2004-12-19 Andreas Jaeger NULL +2005-02-07 Ulrich Drepper - [BZ #560] - * inet/netinet/in.h: Use __interface_addr instead of __interface. + * elf/dl-load.c (_dl_map_object_from_fd): Makre sure registers are + set correctly. - [BZ #573] - * sunrpc/xcrypt.c (passwd2des_internal): Make it hidden instead of - internal linkage. +2005-01-07 Jakub Jelinek -2004-12-19 Roland McGrath + [BZ #738] + * elf/dl-load.c (open_path): If rtld_search_dirs is in RELRO segment, + avoid writing to it if none of the standard search directories exist. - * version.h (VERSION): 2.3.4. - * README.template: Various updates. - * README: Regenerated. - * NEWS: Mention ports. - * README-alpha: File removed. +2005-02-07 Steven Munroe - [BZ #416] - * locale/langinfo.h: Comment fixes. - -2004-12-17 Ulrich Drepper - - * po/ja.po: Update from translation team. - -2004-12-17 Richard Henderson - - * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Add support - for NPTL where the PID is stored at userlevel and needs to be - reset when CLONE_THREAD is not used. - -2004-12-17 Jakub Jelinek - - * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Update. - -2004-12-17 Andreas Jaeger - - * math/libm-test.inc (atan2_test): Compute value with 36 digits. - * sysdeps/alpha/fpu/libm-test-ulps: Adjust for changed result. - * sysdeps/powerpc/fpu/libm-test-ulps: Likewise. - * sysdeps/s390/fpu/libm-test-ulps: Likewise. - * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise. - * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise. - * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. - -2004-12-16 Ulrich Drepper - - * stdlib/tst-setcontext.c: Enlarge st1 and st2 arrays. - -2004-09-02 Steven Munroe - - [BZ #610] - * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S - (__novec_getcontext): Fix typo in store of fp29. - (__getcontext): Fix typo in store of fp29. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S - (__novec_swapcontext): Fix typo in store of fp29. - (__swapcontext): Fix typo in store of fp29. - -2004-12-17 GOTO Masanori - - * sysdeps/unix/sysv/linux/dl-osinfo.h (DL_SYSDEP_OSCHECK): Fix - vague message. - -2004-12-16 Roland McGrath - - * nscd/Makefile ($(objpfx)nscd): Don't depend on $(selinux-LIBS), - which is usually a -lselinux that make will resolve wrongly. - -2004-12-16 Andreas Jaeger - - * math/math.h: Use #if defined to not receive warnings about - undefined symbols. - -2004-12-16 Jakub Jelinek - - * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): 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/sparc/sparc64/sysdep.h - (SYSCALL_ERROR_HANDLER): If RTLD_PRIVATE_ERRNO, use rtld_errno - instead of errno. - * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Include - sysdep-cancel.h instead of sysdep.h. Handle cancellation. - * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Regenerate. - - * sysdeps/ieee754/ldbl-128/e_expl.c: Include stdlib.h. - -2004-12-15 Jakub Jelinek - - * sysdeps/unix/sysv/linux/gethostid.c: Make bi-arch safe. - -2004-12-15 Steven Munroe - - * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Correct stack - alignment. Clean up flag bit tests. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Correct stack - alignment. Clean up flag bit tests. Remove redundent SP assignment. - Add TOC register save/restore around function call. - - * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Make no_vmx symbol - local. - * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Make no_vmx symbol - local. - * sysdeps/powerpc/powerpc64/__longjmp-common.S: Make no_vmx symbol - local. - * sysdeps/powerpc/powerpc64/setjmp-common.S: Make no_vmx and - aligned_save_vmx symbol local. - -2004-12-15 Ulrich Drepper - - * sysdeps/i386/i486/bits/string.h (__strncat_g): Fix i686 - implementation. - -2004-09-08 H.J. Lu - - * Makeconfig (libunwind): New. - (libgcc_eh): Add $(libunwind). - (gnulib): Always set to -lgcc $(libgcc_eh). - (static-gnulib): Always set to -lgcc -lgcc_eh $(libunwind). - (libc.so-gnulib): New. - * Makerules (LDLIBS-c.so): Use $(libc.so-gnulib) instead of - $(static-gnulib). - * configure.in (libc_cv_cc_with_libunwind): Set to yes if gcc - uses -lunwind for static binaries. - -2004-06-05 Joseph S. Myers - - * malloc/Makefile (install-bin): Remove memusage. - (install-bin-script): Add memusage. - -2004-12-15 Jakub Jelinek - - * nis/nis_domain_of_r.c (nis_domain_of_r): Use libnsl_hidden_def, - not libnsl_hidden_proto. - - * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): 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/s390/s390-64/clone.S (__clone): Likewise. - - * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone): Save - and restore r2 around call to fn. - -2004-12-15 Andreas Jaeger - - * sysdeps/ia64/dl-machine.h (elf_machine_rela): Mark auto instead - of static, add always_inline attribute. - (elf_machine_rela_relative): Likewise. - (elf_machine_lazy_rel): Likewise. - -2004-12-15 Ulrich Drepper - - * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Add support - for pid caching in nptl. - -2004-12-14 Ulrich Drepper - - * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Add support - for pid caching in nptl. - -2004-10-18 Maciej W. Rozycki - - * sysdeps/unix/sysv/linux/mips/bits/socket.h (__cmsg_nxthdr): Use - __NTH instead of __THROW in the inline definition. - * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Likewise. - - * sysdeps/mips/bits/dlfcn.h (RTLD_DEEPBIND): New macro. - - * sysdeps/unix/sysv/linux/mips/bits/mman.h - (PROT_GROWSDOWN, PROT_GROWSUP): New macros. - -2004-10-06 Alan Modra - - * sysdeps/powerpc/powerpc64/ppc-mcount.S (PROF): Don't undef. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Invoke CALL_MOUNT. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise. - * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise. - -2004-10-19 Wolfram Gloger - - * malloc/hooks.c (mem2chunk_check, top_check): Handle - non-contiguous arena. Reported by Michael Dalton - [BZ #457]. Add further checks for top chunk. - -2004-12-14 Jakub Jelinek - - * sysdeps/posix/sysconf.c (__sysconf_check_spec): Remove leading - underscore from GETCONF_DIR filenames. - -2004-12-13 Ulrich Drepper - - * po/de.po: Update from translation team. - - * nss/getnssent.c (__nss_getent): Double buffer size each round to - avoid problems with delays for some people's huge entries. - * nss/getXXbyYY.c (FUNCTION_NAME): Likewise. - -2004-12-13 Jakub Jelinek - - * posix/getconf.c (main): Prepend just $GETCONF_DIR/ instead of - $GETCONF_DIR/_ to spec. - * posix/confstr.c (confstr): Remove leading underscores for - _CS_POSIX_V6_WIDTH_RESTRICTED_ENVS. - -2004-12-12 Ulrich Drepper - - * elf/dl-load.c (_dl_map_object_from_fd): Fix computation of - mapping start. It must take the actual pagesize into account, not - the alignment in the file. - -2004-12-11 Ulrich Drepper - - * malloc/malloc.c (_int_realloc): Add checks for corrupted memory. - (_int_free): Make clear message are result of free() calls. - - * malloc/malloc.c (_int_realloc): Remove unnecessary tests for - oldmem and size == 0. - -2004-12-10 Ulrich Drepper - - * malloc/arena.c (arena_get2): Prevent endless loop if arenas and - list lock are taken. - -2004-12-08 Thorsten Kukuk - - * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_getnetgrent_r): - Add check if the value is not an empty string. [BZ #597] - -2004-11-29 Jakub Jelinek - - * stdlib/strtod_l.c (INTERNAL (__STRTOF)): If densize > 2 - and numsize < densize, always shift num up by empty + 1 limbs. - -2004-12-07 Paolo Bonzini - - * posix/regexec.c (proceed_next_node): Simplify treatment of epsilon - nodes. Pass the pushed node to push_fail_stack. - (push_fail_stack): Accept a single node rather than an array - of two epsilon destinations. - (build_sifted_states): Only walk non-epsilon nodes. - (check_arrival): Don't pass epsilon nodes to - check_arrival_add_next_nodes. - (check_arrival_add_next_nodes) [DEBUG]: Abort if an epsilon node is - found. - (check_node_accept): Do expensive checks later. - (add_epsilon_src_nodes): Cache result of merging the inveclosures. - * posix/regex_internal.h (re_dfastate_t): Add non_eps_nodes and - inveclosure. - (re_string_elem_size_at, re_string_char_size_at, re_string_wchar_at, - re_string_context_at, re_string_peek_byte_case, - re_string_fetch_byte_case, re_node_set_compare, re_node_set_contains): - Declare as pure. - * posix/regex_internal.c (create_newstate_common): Remove. - (register_state): Move part of it here. Initialize non_eps_nodes. - (free_state): Free inveclosure and non_eps_nodes. - (create_cd_newstate, create_ci_newstate): Allocate the new - re_dfastate_t here. - -2004-12-09 Ulrich Drepper - - * malloc/malloc.c (public_rEALLOc): Add parameter checks. - (_int_free): Provide better error message for invalid pointers. - -2004-12-01 Jakub Jelinek - - * posix/tst-regex.c: Use defined _POSIX_CPUTIME && _POSIX_CPUTIME >= 0 - conditionals instead of defined _POSIX_CPUTIME. - (main): If _POSIX_CPUTIME == 0, call sysconf to see if CPUTIME - option is available. - * posix/tst-regex.c2: Use defined _POSIX_CPUTIME && _POSIX_CPUTIME >= 0 - conditionals instead of defined _POSIX_CPUTIME. - (do_test): If _POSIX_CPUTIME == 0, call sysconf to see if CPUTIME - option is available. - * sysdeps/posix/sysconf.c (__sysconf): If _POSIX_CPUTIME resp. - _POSIX_THREAD_CPUTIME is defined to 0, return -1 for the corresponding - _SC_ argument. - -2004-12-08 Jakub Jelinek - - * elf/ldd.bash.in: When set -o pipefail is available, use that for - 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. - -2004-12-07 Jakub Jelinek - - * sysdeps/posix/sysconf.c (__sysconf_check_spec): Only define - if it will be actually used. - -2004-12-07 Roland McGrath - - * rt/tst-timer5.c (setup_test): New function. - (TEST_CLOCK_MISSING): Use it to punt test if timer_create does not - support CLOCK_MONOTONIC. - -2004-12-07 Jakub Jelinek - - * 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. - -2004-12-07 Kaz Kojima - - * 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. - -2004-12-01 Jakub Jelinek - - * 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. - -2004-12-06 Jakub Jelinek - - * time/tzset.c (tzset_internal): If + or - is seen, - but no offset after it, reset offset to 0. [BZ #601] - -2004-12-06 Ulrich Drepper - - * libio/ioseekpos.c (_IO_seekpos_unlocked): Call _IO_SEEKOFF not - _IO_SEEKPOS, saving one indirect jump. - - * libio/fileops.c (_IO_new_file_seekoff): Fix optimization of in-buffer - seek. Remove dead code. - -2004-12-02 Jakub Jelinek - - * libio/Makefile (tests): Add bug-ungetc4. - * libio/bug-ungetc4.c: New test. - -2004-12-06 Roland McGrath - - * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Diagnose EINVAL - 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. - -2004-12-01 Paolo Bonzini - - * 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. - -2004-12-05 Roland McGrath - - * Makeconfig: Comment typo fix. - -2004-11-30 Andreas Schwab - - * nis/ypclnt.c (ypprot_err): Remove unused entries. - -2004-11-30 Paolo Bonzini - - * posix/regexec.c (check_dst_limits_calc_pos_1): Check for - bkref_idx == -1, and don't recurse in that case. - -2004-11-30 GOTO Masanori - - * posix/confstr.c: Enclose #error message with double quote - for gcc-3.3 and lower. - -2004-12-04 Ulrich Drepper - - * 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/x86_64/clone.S: Likewise. - -2004-11-18 Daniel Jacobowitz - - * sysdeps/arm/sysdep.h: Define __USE_BX__ if bx is available. - 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: Likewise. - * sysdeps/unix/arm/fork.S: Likewise. - * sysdeps/unix/arm/sysdep.S: Likewise. - * sysdeps/unix/arm/sysdep.h: 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. - -2004-12-02 Roland McGrath - - * extra-lib.mk (object-suffixes-$(lib)): Add .oS when - $(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. - -2004-12-01 Jakub Jelinek - - * time/mktime.c (__mktime_internal): If SEC_REQUESTED != SEC, - convert T2, not T. - * time/Makefile (tests): Add tst-mktime3. - * time/tst-mktime3.c: New test. - -2004-12-01 Jakub Jelinek - - * stdlib/stdlib.h (realpath): Remove nonnull attribute. - - * posix/fnmatch_loop.c (internal_fnmatch): Clear is_seqval after - normal_bracket label. - - * time/tst-mktime2.c (bigtime_test): Initialize tm.tm_isdst to -1. - -2004-12-01 Roland McGrath - - * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): - Do $(make-target-directory). - -2004-11-29 Roland McGrath - - * posix/confstr.c: Avoid punctuation in #error text. - -2004-11-27 Ulrich Drepper - - * posix/Makefile (tests): Add tst-sysconf. - * posix/tst-sysconf.c: New file. - - * 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. - -2004-11-26 Jakub Jelinek - - * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add GETCONF_DIR. - -2004-11-26 Kaz Kojima - - * 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. - -2004-11-27 Ulrich Drepper - - * include/dlfcn.h (__libc_dlopen): Add __RTLD_DLOPEN to the mode - parameter. Reported by VY Newsum . - -2004-11-10 Daniel Jacobowitz - - * 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. - -2004-11-26 Jakub Jelinek - - * posix/Makefile (generated: Add getconf.speclist. - ($(inst_libexecdir)/getconf): Use getconf.speclist instead of - getconf output. - ($(objpfx)getconf.speclist): New rule. - * posix/getconf.speclist.h: New file. - -2004-11-26 Jakub Jelinek - - * 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. - - * stdlib/stdlib.h (setenv): Use nonnull only for second argument. - (unsetenv): Remove. - -2004-11-23 Paolo Bonzini - - * 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. - -2004-11-25 Ulrich Drepper - - * dlfcn/dlfcn.h: Remove nonnull attribute from dlopen. - - * posix/confstr.c (confstr): Return appropriate strings for - _CS_LFS_LINTFLAGS, _CS_LFS64_CFLAGS, and _CS_LFS64_LINTFLAGS. - -2004-11-05 Maciej W. Rozycki - - * sysdeps/mips/dl-machine.h: Include . 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 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. - -2004-11-23 Alexandre Oliva - - * sysdeps/generic/dl-tls.c (_dl_determine_tlsoffset): Use free - range even if it doesn't match exactly. - -2004-11-23 Jakub Jelinek - - * nss/nss_files/files-XXX.c (internal_getent): If parse_line returned - -1, also do H_ERRNO_SET (NETDB_INTERNAL). - -2004-11-22 Ulrich Drepper - - * sysdeps/i386/fpu_control.h: Add volatile to the asms. - Patch by Alexander Stohr. - -2004-11-22 Jakub Jelinek - - * nscd/nscd_getai (__nscd_getai): Avoid memory and file descriptor - leaks. - * sysdeps/posix/getaddrinfo.c (gaih_inet): Free air. - -2004-11-15 Maciej W. Rozycki - - * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (__SI_MAX_SIZE): - Define appropriately based on __WORDSIZE. - [struct siginfo] (__pad0): Add for explicit padding. - - * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Formatting fixes - throughout. - -2004-11-22 Ulrich Drepper - - * dirent/dirent.h: Add nonnull attributes. - * dlfcn/dlfcn.h: Likewise. - -2004-11-20 Jakub Jelinek - - * sysdeps/ieee754/k_standard.c: Document code 50. - (__kernel_standard) : Avoid raising div-by-zero - exception again. - -2004-11-19 H.J. Lu - - [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). - -2004-11-20 Ulrich Drepper - - * time/tzfile.c (__tzfile_read): Avoid open for checking whether - the file we already use changed. - - * misc/syslog.c: Remove !USE_IN_LIBIO code. - -2004-11-20 Jakub Jelinek - - * signal/signal.h (__sysv_signal, sysv_signal, signal, bsd_signal, - ssignal): Remove __nonnull attribute. - -2004-11-20 Kaz Kojima - - * sysdeps/unix/sysv/linux/sh/sys/procfs.h: New file. - -2004-11-20 Ulrich Drepper - - * signal/signal.h: Add nonnull attributes. - - * signal/signal.h: Add deprecated attributes to sigstack, - sigpause, sigblock, sigsetmask, siggetmask. - -2004-11-20 Jakub Jelinek - - * sysdeps/unix/sysv/linux/bits/socket.h (SCM_RIGHTS): Avoid - comma at the end of enum if __USE_BSD is not defined. - -2004-11-19 Ulrich Drepper - - * malloc/malloc.c (_int_malloc): Check for corruption of chunk - which is about to be returned. - - * malloc/malloc.c (_int_free): Add a few more cheap tests for - corruption. - -2004-11-17 Randolph Chung - - * sysdeps/hppa/dl-machine.h (TRAMPOLINE_TEMPLATE): Add unwind - annotations. - -2004-11-18 Jakub Jelinek - - [BZ #544] - * posix/regex.h (RE_NO_SUB): New define. - * posix/regex_internal.h (OP_DELETED_SUBEXP): New. - (re_dfa_t): Add subexp_map. - * posix/regcomp.c (struct subexp_optimize): New type. - (optimize_subexps): New routine. - (re_compile_internal): Call it. - (re_compile_pattern): Set preg->no_sub to 1 if RE_NO_SUB. - (free_dfa_content): Free subexp_map. - (calc_inveclosure, calc_eclosure): Skip OP_DELETED_SUBEXP nodes. - * posix/regexec.c (re_search_internal): If subexp_map - is not NULL, duplicate registers as needed. - * posix/Makefile: Add rules to build and run tst-regex2. - * posix/tst-regex2.c: New test. - * posix/rxspencer/tests: Fix last two tests (\0 -> \1). - Add some new tests for nested subexpressions. - -2004-11-18 Ulrich Drepper - - * libio/libio.h (_IO_FLAGS2_FORTIFY): Renamed from - _IO_FLAGS2_CHECK_PERCENT_N. - * debug/fprintf_chk.c: Adjust all users. - * debug/printf_chk.c: Likewise. - * debug/vfprintf_chk.c: Likewise. - * debug/vprintf_chk.c: Likewise. - * debug/vsnprintf_chk.c: Likewise. - * debug/vsprintf_chk.c: Likewise. - * stdio-common/vfprintf.c: Likewise. Detect missing %N$ formats. - * debug/tst-chk1.c: Test detection of missing %N$ formats. - -2004-11-15 Jakub Jelinek - - * posix/bug-regex24.c: Include string.h. - - * nis/nis_clone_obj.c (nis_clone_object): Rename out3 label to out2 - and out2 to out. Remove out label. Formatting. - -2004-11-15 Ulrich Drepper - - * include/stdio.h: Do not mark __libc_message as noreturn. - * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_fatal): Add loop to - fool gcc. Include . - * sysdeps/posix/libc_fatal.c (__libc_fatal): Add loop to fool gcc. - (__libc_message): Fix typo. - -2004-11-13 Ulrich Drepper - - * malloc/malloc.c (malloc_state): stat_lock_* elements need only - be defined if THREAD_STATS is defined. Remove pad0_ since it does - not align with cache line sizes in general anyway. - -2004-11-13 Jakub Jelinek - - * elf/rtld.c (print_statistics): Avoid segfaults if not all namespaces - are used. Fix computation of num_relative_relocations on RELA - architectures other than IA-64 and Alpha. - -2004-11-13 Ulrich Drepper - - * malloc/malloc.c (_int_free): Use munmap_chunk for handling - mmaped memory. - -2004-11-12 Ulrich Drepper - - * malloc/malloc.c (_int_free): Remove test for NULL parameter. - (_int_realloc): Call _int_free only if memory parameter is not NULL. - - * sysdeps/unix/sysv/linux/libc_fatal.c: Add new function __libc_message - which performs the printing and simple format string handling. The - string is written to tty, stderr, syslog in this order, stopping after - the first successful output. - (__libc_fatal): Call __libc_message. - * include/stdio.h: Declare __libc_message. - * malloc/malloc.c (malloc_printerr): Use __libc_message. - * debug/chk_fail.c: Also print message with __libc_message. - * debug/test-strcpy_chk.c: Ensure that debug messages are not printed - to the terminal or stderr. - * debug/tst-chk1.c: Likewise. - - * posix/Makefile: Remove gpl2lgpl variable. - -2004-11-12 Martin Schwidefsky - - * elf/elf.h: Add 20 bit relocations R_390_*20. - -2004-11-12 Jakub Jelinek - - * sysdeps/unix/sysv/linux/i386/setuid.c: Include linux/posix_types.h. - * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise. - * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise. - * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise. - * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise. - * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise. - -2004-11-12 Andreas Schwab - - * nis/ypclnt.c (ypprot_err): Fix "minor optimizations". - -2004-11-12 Ulrich Drepper - - * posix/Makefile (tests): Add bug-regex24. - * posix/bug-regex24.c: New file. - -2004-11-12 Paolo Bonzini - - * posix/regexec.c (check_dst_limits_calc_pos_1): Use the map to - cut recursive paths. Make exit condition more precise. - (match_ctx_add_entry): Initialize the map. - * posix/regex_internal.h (struct re_backref_cache_entry): Add a map of - reachable subexpression nodes from each backreference cache entry. - -2004-11-10 Jakub Jelinek - - * sysdeps/unix/sysv/linux/setreuid.c: Remove sys/syscall.h, - sys/types.h, linux/posix_types.h, sysdep.h and pthread-functions.h - includes. Include setxid.h. Use INLINE_SETXID_SYSCALL macro - instead of INLINE_SYSCALL, kill the HAVE_PTR__NPTL_SETXID guarded - snippets. - * sysdeps/unix/sysv/linux/setegid.c: Likewise. - * sysdeps/unix/sysv/linux/setuid.c: Likewise. - * sysdeps/unix/sysv/linux/seteuid.c: Likewise. - * sysdeps/unix/sysv/linux/setgid.c: Likewise. - * sysdeps/unix/sysv/linux/setresuid.c: Likewise. - * sysdeps/unix/sysv/linux/setresgid.c: Likewise. - * sysdeps/unix/sysv/linux/setregid.c: Likewise. - * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise. - * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise. - * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise. - * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise. - * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise. - * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise. - * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise. - * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise. - * sysdeps/unix/sysv/linux/alpha/setreuid.c: Likewise. - Formatting. Change signed int into int. - * sysdeps/unix/sysv/linux/alpha/setresuid.c: Likewise. - * sysdeps/unix/sysv/linux/alpha/setresgid.c: Likewise. - * sysdeps/unix/sysv/linux/alpha/setregid.c: Likewise. - * sysdeps/unix/sysv/linux/syscalls.list (setresuid, setresgid): - Remove. - * sysdeps/unix/setxid.h: New file. - - * Rules (binaries-static): Add xtests-static. - * Makeconfig (run-program-prefix): Filter also xtests-static. - -2004-11-09 Paul Eggert since it is marked as an obsolescent - interface. Include , , and instead. - (TYPE_BITS, TYPE_FLOATING, TYPE_SIGNED): New macros. - (subtract): New static function, that works correctly without - double-rounding, even on hosts with 64-bit time_t. Also cater - to hosts with padding bits. - (__difftime): Use it. Use DBL_MANT_DIG and LDBL_MANT_DIG to - determine whether floating types are wide enough: the old - test (which used sizeof) could in theory report the wrong results - on hosts with padding bits in floating-point values. - -2004-11-11 Simon Josefsson - - [BZ #542] - * sysdeps/generic/strtok_r.c [HAVE_CONFIG_H]: Include config.h. - [!_LIBC]: Include strtok_r.h (in gnulib), map __strtok_r to - strtok_r and __rawmemchr to strch. - (__strtok_r): Use C89 prototype. - [weak_alias]: Move calls to libc_hidden_def and weak_alias into - this #ifdef. - -2004-11-10 Paul Eggert - - [BZ #541] - * time/mktime.c (SHR): New macro, which is a portable - substitute for >> that should work even on Crays. - (TIME_T_MIDPOINT, ydhms_diff, __mktime_internal): Use it. - Problem reported by Mark D. Baushke in - . - -2004-11-09 Paolo Bonzini - - * posix/regexec.c (match_ctx_free_subtops): Remove, merge into... - (match_ctx_clean): ... this function. - (match_ctx_free): Call match_ctx_clean. - - * posix/regexec.c (transit_state): Remove the check for - out-of-bounds buffers. - (check_matching): Check here for out-of-bounds buffers. - (re_search_internal): Store into match_kind a set of bits - indicating which incantation of fastmap scanning must be - used. Use a switch statement instead of multiple ifs. - Exit the final "for (;;)" with goto free_return unless - the match succeeded, thus simplifying some conditionals. - - * posix/regex_internal.c (re_string_reconstruct, - re_string_context_at): Add several branch predictions for - case-sensitive matching and no transition table being used. - -2004-11-10 Ulrich Drepper - - * posix/tst-waitid.c: Don't use error to print error message, they - won't end up in the .out file. - -2004-11-09 Ulrich Drepper - - * nscd/nscd-client.h (libc_locked_map_ptr): Add new first - parameter, used as class for definition. - * nscd/nscd_getpw_r.c: Adjust for libc_locked_map_ptr change. - (pw_map_free): Ensure no crash after memory is freed. - * nscd/nscd_getgr_r.c: Likewise. Make map externally visible. - * nscd/nscd_gethst_r.c: Likewise. - * nscd/nscd_getai.c: Use map from nscd_gethost.c. - * nscd/nscd_initgroups.c: Use map from nscd_getgr.c. - - * nscd/nscd_getai.c: Add some checks to detect corrupt databases. - * nscd/nscd_getgr_r.c: Likewise - * nscd/nscd_gethst_r.c: Likewise. - * nscd/nscd_getpw_r.c: Likewise - -2004-11-09 Jakub Jelinek - - * posix/regcomp.c (calc_eclosure_iter): Don't access - dfa->edests[node].elems[0] if dfa->edests[node].nelem == 0. - * posix/rxspencer/tests: Add 5 new tests. - -2004-11-09 Ulrich Drepper - - * sysdeps/unix/sysv/linux/ifaddrs.c: Determine sin6_scope_id field - value correctly. Patch by Mitsuru Kanda . - -2004-11-04 Jakub Jelinek - - * libio/fileops.c (_IO_new_file_seekoff): If mode is 0 and - fp->_offset == _IO_pos_BAD, just call _IO_SYSSEEK (fp, 0, dir) - and if successful set fp->_offset. - * libio/Makefile (tests): Add bug-ungetc3. - * libio/bug-ungetc3.c: New test. - -2004-11-03 Marcus Brinkmann - - * sysdeps/gnu/_G_config.h (_G_HAVE_MREMAP): Define symbol. - * sysdeps/mach/hurd/_G_config.h: New file. - * libio/fileops.c (mmap_remap_check) [__linux__]: Replaced with - [_G_HAVE_MREMAP]. - -2004-11-08 Ulrich Drepper - - * posix/regcomp.c (utf8_sb_map): Define. - (free_dfa_content): Don't free dfa->sb_char if it's a pointer to - utf8_sb_map. - (init_dfa): Use utf8_sb_map instead of initializing memory when the - encoding is UTF-8. - -2004-11-03 Paolo Bonzini - - * posix/regcomp.c (init_dfa): Get the codeset name outside glibc as - well. Check if it is spelled UTF8 as well as UTF-8, and check - case-insensitively. Set dfa->map_notascii manually when outside - glibc. - * posix/regex_internal.c (build_wcs_upper_buffer) [!_LIBC]: Enable - optimizations based on map_notascii. - * posix/regex_internal.h [HAVE_LANGINFO_H || HAVE_LANGINFO_CODESET - || _LIBC]: Include langinfo.h. - - * posix/regex_internal.h (struct re_backref_cache_entry): Add "more" - field. - * posix/regexec.c (check_dst_limits): Hoist computation of the source - and destination bkref_idx out of the loop. Pass it to - check_dst_limits_calc_pos. - (check_dst_limits_calc_pos_1): New function, containing the recursive - loop of check_dst_limits_calc_pos; uses the "more" field of - struct re_backref_cache to control the loop. - (check_dst_limits_calc_pos): Store into "boundaries" the position - relative to lim's start and end positions. Do not accept eclosures, - accept bkref_idx instead. Call check_dst_limits_calc_pos_1 to do the - work. - (sift_states_bkref): Use the "more" field of struct re_backref_cache - to control the loop. A big "if" was turned into a continue and the - function was reindented. - (get_subexp): Use the "more" field of struct re_backref_cache - to control the loop. - (match_ctx_add_entry): Initialize the bkref_ents' "more" field. - (search_cur_bkref_entry): Return -1 if out of bounds. - - * posix/regexec.c (empty_set): Remove. - (sift_states_backward): Remove cur_src variable. Move inner loop - to build_sifted_states. - (build_sifted_states): Extract from sift_states_backward. Do not - use empty_set. - (update_cur_sifted_state): Do not use empty_set. Special case - dest_nodes->nelem == 0. - - * posix/regex_internal.h (struct re_backref_cache_entry): Remove flag - field. - (struct re_sift_context_t): Remove cur_bkref, cls_subexp_idx, - check_subexp fields. Move limits last. - * posix/regexec.c (match_ctx_clear_flag): Remove. - (sift_ctx_init): Remove check_subexp parameter. Do not set removed - fields. Callers adjusted. - (expand_bkref_cache): Remove last_str parameter. Callers adjusted. - (re_search_internal): Remove fast_translate variable. - (update_cur_sifted_state): Pass candidates as the final parameter - to sift_states_bkref. - (sift_states_bkref): Change last unused parameter to be "candidates", - do not fetch candidates into a local variable. - Remove dead test for "node == sctx->bkref", and the cur_bkref_idx - variable. - Remove loops that set/reset the flag field of backref cache entries. - (check_arrival_add_next_nodes): Use a signed int to hold the return - value of re_node_set_insert. - (group_nodes_into_DFAstates): Likewise. - (match_ctx_add_entry): Do not set the flag field of the new entry. - -2004-11-05 Roland McGrath - - * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Define - _dl_sysinfo_dso under [NEED_DL_SYSINFO_DSO] as well. - * elf/rtld.c (dl_main): Set up GLRO(dl_sysinfo_dso) under - [NEED_DL_SYSINFO_DSO] as well. - * sysdeps/generic/dl-sysdep.c (_dl_show_auxv): Always include - AT_SYSINFO and AT_SYSINFO_EHDR in name table. - (_dl_sysdep_start) [NEED_DL_SYSINFO_DSO]: Match AT_SYSINFO_EHDR. - * elf/dl-support.c (_dl_sysinfo_dso): Define also under - [NEED_DL_SYSINFO_DSO]. - (_dl_aux_init) [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO]: - Match AT_SYSINFO_EHDR and set GL(dl_sysinfo_dso). - -2004-11-05 Roland McGrath - - * manual/errno.texi (Error Codes): Revert last change for now. - * sysdeps/gnu/errlist.c: Regenerated. - -2004-11-04 Roland McGrath - - * Makeconfig (link-libc, rpath-dirs): Remove AIX cruft definitions. - (LDFLAGS-rpath-ORIGIN, LDFLAGS-soname-fname): Likewise. - (LDFLAGS-rdynamic, LDFLAGS-Bsymbolic): Likewise. - ($(common-objpfx)gnu/lib-names.stmp): Likewise. - -2004-11-01 Jakub Jelinek - - * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h [__WORDSIZE == 32] - (elf_fpxregset_t): New type. - (struct elf_prpsinfo): If __WORDSIZE == 32, change pr_[ug]id type - to unsigned short int. - * sysdeps/unix/sysv/linux/x86_64/sys/user.h - (struct user_fpregs_struct): Fix comment. - * sysdeps/i386/fpu/bits/mathdef.h (float_t, double_t): If - __FLOAT_EVAL_METHOD__ is defined and 0, typedef to float resp. double. - * sysdeps/x86_64/fpu/bits/mathdef.h: Include bits/wordsize.h. - (float_t, double_t): If -m32 and not -mfpmath=sse, typedef to - long double. - * sysdeps/x86_64/fpu/bits/fenv.h: Include bits/wordsize.h. - (fenv_t): Remove __mxcsr field for -m32. - -2004-11-04 Jakub Jelinek - - * libio/ftello.c (ftello): Don't subtract save_end - save_base - if pos is _IO_pos_BAD. - * libio/ftello64.c (ftello64): Likewise. - * libio/iofgetpos.c (_IO_new_fgetpos): Likewise. - * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise. - * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise. - * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise. - * libio/ioftell.c (_IO_ftell): Likewise. - Cast to long int instead of off_t when checking for overflow. - -2004-11-04 Richard Henderson - - * sysdeps/unix/sysv/linux/alpha/register-dump.h (regnames): Align. - (linefeed): Remove. - (register_dump): Rewrite to generate into a flat buffer instead - of into iovecs. - -2004-11-02 Jakub Jelinek - - * debug/tst-chk1.c (ret): New volatile variable. - (CHK_FAIL_END): Remove redundant ret setting. - (do_test): Remote ret variable. - -2004-01-03 Paolo Bonzini - - * posix/regex_internal.h (__regfree) [!_LIBC]: Define to regfree. - -2004-11-03 Marcus Brinkmann - - * sysdeps/generic/utime.c: Include . - - * sysdeps/generic/sysconf.c: Include and . - - * sysdeps/generic/tempname.c (__path_search): Add missing argument - TRY_TMPDIR. - -2004-11-02 Jakub Jelinek - - * include/features.h (__USE_FORTIFY_LEVEL): Also set for Red Hat - GCC 3.4.x-RH >= 3.4.2-8. - * libio/bits/features.h (printf, fprintf, vprintf, vfprintf): For - GCC 3.4.x-RH use __builtin___{,v}{,f}printf_chk instead of - __{,v}{,f}printf_chk. - * debug/tst-chk1.c (do_test): Deal with GCC 3.4.x-RH not - being able to recognize subobjects. - -2004-10-31 Mariusz Mazur - - * sysdeps/unix/sysv/linux/alpha/setregid.c: New file. - * sysdeps/unix/sysv/linux/alpha/setresgid.c: New file. - * sysdeps/unix/sysv/linux/alpha/setresuid.c: New file. - * sysdeps/unix/sysv/linux/alpha/setreuid.c: New file. - -2004-10-27 Derek R. Price - - [BZ #487] This change is imported from gnulib. - * time/mktime.c (not_equal_tm) [DEBUG]: Remove redundant check. - -2004-10-24 Paul Eggert - - [BZ #473] - * time/tst-mktime.c (main): Don't assume that mktime fails - when given time stamps before 1970. It returns negative - time_t values instead, for compatibility with BSD. - - * time/tst-mktime2.c: New file. - * time/Makefile (tests): Add it. - - [BZ #473] Import from gnulib. Revamp to avoid several problems near - time_t extrema, and on hosts with 64-bit time_t and 32-bit int. - This fixes Debian bug 177940. - * time/mktime.c (TIME_T_MIDPOINT): New macro. - (ydhms_diff): Renamed from ydhms_tm_diff, with a new signature, - which avoids overflow problems on hosts with 64-bit time_t and - 32-bit int. All callers changed. Now an inline function. - Verify at compile-time that long int is wide enough to avoid - these overflow problems. - (guess_time_tm): New function. - (__mktime_internal): Use it. Avoid overflow when computing yday on - hosts with 64-bit long and 32-bit int. Remove tests for 69; - no longer needed. Use if rather than #ifdef for LEAP_SECONDS_POSSIBLE - so that the code is checked by more compilers. - Do not rely on floating point to probe: stick to integer arithmetic, - to avoid potential porting problems. - Repair potential overflow correctly in the Southern Hemisphere. - (localtime_offset): Add a FIXME for the case where time_t is unsigned. - -2004-10-30 Andreas Schwab - - * sysdeps/m68k/dl-machine.h (elf_machine_rela) - (elf_machine_rela_relative, elf_machine_lazy_rel): Mark auto - instead of static. - -2004-10-30 Andreas Schwab - - * sysdeps/unix/sysv/linux/waitid.c: Include for NULL. - -2004-10-30 Ulrich Drepper - - * malloc/malloc.c (_int_free): Use unique comments for the error - cases. - -2004-10-28 Roland McGrath - - * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_fork): Use i386_thread_state - instead of machine_thread_state. - -2004-10-28 Roland McGrath - - * sysdeps/unix/sysv/linux/syscalls.list: Remove setaltroot. - -2004-10-28 Ulrich Drepper - - * elf/dl-open.c (dl_open_worker): Remove reference to glibcbug script. - -2004-10-27 Ulrich Drepper - - * elf/dl-load.c (_dl_map_object): Use cache_rpath to check for - existing rpath in main executable, not explicit test. - -2004-10-27 Jakub Jelinek - - * include/resolv.h (_res_opcodes): New extern. - Add libresolv_hidden_proto. - * resolv/res_debug.c (_res_opcodes): Remove. - (__p_class_syms, __p_type_syms): Add libresolv_hidden_proto - and libresolv_hidden_data_def. Remove attribute_hidden. - * resolv/res_mkquery (_res_opcodes): Remove. - * resolv/res_data.c (_res_opcodes): Remove attribute_hidden. - Add libresolv_hidden_data_def. - -2004-10-27 Ulrich Drepper - - * elf/dl-open.c (_dl_open): Don't allow explicitly opening a DSO - into an empty namespace. - - * elf/dl-fini.c (_dl_fini): Fix search for map in maps array. - Reverse order of namespaces. - * elf/Makefile: Add rules to build and run tst-dlmopen3. - * elf/tst-dlmopen3.c: New file. - * elf/tst-dlmopen1mod.c: Add check whether constructor runs. - -2004-10-27 Jakub Jelinek - - * sysdeps/generic/glob.c (globfree): Clear gl_pathv after freeing it. - * posix/Makefile: Add rules to build and run bug-glob2 test. - * posix/bug-glob2.c: New test. - -2004-10-27 Roland McGrath - - * sysdeps/mach/hurd/i386/tls.h (HURD_TLS_DESC_DECL): New macro. - (_hurd_tls_init): Use it. - (_hurd_tls_fork): New function. - * sysdeps/mach/hurd/fork.c (__fork) [USE_TLS]: Call it. - -2004-10-26 Roland McGrath - - * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Initialize TCB->tcb. - -2004-10-26 Jakub Jelinek - - * sysdeps/gnu/netinet/udp.h (struct udphdr): Use u_int16_t - type instead of uint16_t. Formatting. - -2004-10-25 Roland McGrath - - * login/openpty.c (openpty): Add libutil_hidden_def. - - * nss/nss_files/files-parse.c (nss_files_parse_hidden_def): Define to - either libc_hidden_def or libnss_files_hidden_def, not hidden_def. - This file is also compiled into libnss_hesiod by #include. - -2004-10-25 Roland McGrath - - * sysdeps/unix/bsd/hp: Directory and all files removed. - These are now in the ports repository. - * sysdeps/unix/bsd/osf: Likewise. - * sysdeps/unix/bsd/sequent: Likewise. - * sysdeps/unix/bsd/sony: Likewise. - * sysdeps/unix/bsd/ultrix4: Likewise. - * sysdeps/unix/sysv/aix: Likewise. - * sysdeps/unix/sysv/hpux: Likewise. - * sysdeps/unix/sysv/irix4: Likewise. - * sysdeps/unix/sysv/isc2.2: Likewise. - * sysdeps/unix/sysv/minix: Likewise. - * sysdeps/unix/sysv/sco3.2.4: Likewise. - * sysdeps/unix/sysv/sco3.2: Likewise. - * sysdeps/unix/sysv/sysv4: Likewise. - - * configure.in (ASM_LINE_SEP): Move this setting to ... - * sysdeps/hppa/configure.in: ... here, new file. - * sysdeps/hppa/configure: New generated file. - * configure: Regenerated. - -2004-10-25 Kaz Kojima - - * sysdeps/sh/dl-machine.h: Include sysdep.h. - (ELF_MACHINE_RUNTIME_TRAMPOLINE): Add CFI directives. - (elf_machine_runtime_setup): Add always_inline attribute. - (_dl_start_user): Pass the cor