
1: 2004-12-20 Jakub Jelinek <jakub@redhat.com>, 2: Jim Gifford <giffordj@linkline.com> 3: 4: [BZ #562] 5: * sysdeps/mips/Makefile (librt-sysdep_routines): Add. 6: * sysdeps/unix/mips/rt-sysdep.S: New file. 7: 8: 2004-12-19 Roland McGrath <roland@redhat.com> 9: 10: * iconv/Makefile (test-iconvconfig): New target. 11: [$(cross-compiling) != yes] (xtests): Depend on it. 12: 13: * iconv/iconvconfig.c (nostdlib, output_file, output_file_len): 14: New variables. 15: (options, parse_opt, main): Take new options --nostdlib and 16: --output/-o to set them. Under --nostdlib, skip GCONV_PATH dirs. 17: (write_output): If output_file is set, write the output there. 18: 19: 2004-12-19 Andreas Jaeger <aj@suse.de> 20: 21: [BZ #560] 22: * inet/netinet/in.h: Use __interface_addr instead of __interface. 23: 24: [BZ #573] 25: * sunrpc/xcrypt.c (passwd2des_internal): Make it hidden instead of 26: internal linkage. 27: 28: 2004-12-19 Roland McGrath <roland@frob.com> 29: 30: * version.h (VERSION): 2.3.4. 31: * README.template: Various updates. 32: * README: Regenerated. 33: * NEWS: Mention ports. 34: * README-alpha: File removed. 35: 36: [BZ #416] 37: * locale/langinfo.h: Comment fixes. 38: 39: 2004-12-17 Ulrich Drepper <drepper@redhat.com> 40: 41: * po/ja.po: Update from translation team. 42: 43: 2004-12-17 Richard Henderson <rth@redhat.com> 44: 45: * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Add support 46: for NPTL where the PID is stored at userlevel and needs to be 47: reset when CLONE_THREAD is not used. 48: 49: 2004-12-17 Jakub Jelinek <jakub@redhat.com> 50: 51: * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Update. 52: 53: 2004-12-17 Andreas Jaeger <aj@suse.de> 54: 55: * math/libm-test.inc (atan2_test): Compute value with 36 digits. 56: * sysdeps/alpha/fpu/libm-test-ulps: Adjust for changed result. 57: * sysdeps/powerpc/fpu/libm-test-ulps: Likewise. 58: * sysdeps/s390/fpu/libm-test-ulps: Likewise. 59: * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise. 60: * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise. 61: * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. 62: 63: 2004-12-16 Ulrich Drepper <drepper@redhat.com> 64: 65: * stdlib/tst-setcontext.c: Enlarge st1 and st2 arrays. 66: 67: 2004-09-02 Steven Munroe <sjmunroe@us.ibm.com> 68: 69: [BZ #610] 70: * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S 71: (__novec_getcontext): Fix typo in store of fp29. 72: (__getcontext): Fix typo in store of fp29. 73: * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S 74: (__novec_swapcontext): Fix typo in store of fp29. 75: (__swapcontext): Fix typo in store of fp29. 76: 77: 2004-12-17 GOTO Masanori <gotom@debian.or.jp> 78: 79: * sysdeps/unix/sysv/linux/dl-osinfo.h (DL_SYSDEP_OSCHECK): Fix 80: vague message. 81: 82: 2004-12-16 Roland McGrath <roland@redhat.com> 83: 84: * nscd/Makefile ($(objpfx)nscd): Don't depend on $(selinux-LIBS), 85: which is usually a -lselinux that make will resolve wrongly. 86: 87: 2004-12-16 Andreas Jaeger <aj@suse.de> 88: 89: * math/math.h: Use #if defined to not receive warnings about 90: undefined symbols. 91: 92: 2004-12-16 Jakub Jelinek <jakub@redhat.com> 93: 94: * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Add support 95: for NPTL where the PID is stored at userlevel and needs to be reset 96: when CLONE_THREAD is not used. 97: 98: * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h 99: (SYSCALL_ERROR_HANDLER): If RTLD_PRIVATE_ERRNO, use rtld_errno 100: instead of errno. 101: * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Include 102: sysdep-cancel.h instead of sysdep.h. Handle cancellation. 103: * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Regenerate. 104: 105: * sysdeps/ieee754/ldbl-128/e_expl.c: Include stdlib.h. 106: 107: 2004-12-15 Jakub Jelinek <jakub@redhat.com> 108: 109: * sysdeps/unix/sysv/linux/gethostid.c: Make bi-arch safe. 110: 111: 2004-12-15 Steven Munroe <sjmunroe@us.ibm.com> 112: 113: * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Correct stack 114: alignment. Clean up flag bit tests. 115: * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Correct stack 116: alignment. Clean up flag bit tests. Remove redundent SP assignment. 117: Add TOC register save/restore around function call. 118: 119: * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Make no_vmx symbol 120: local. 121: * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Make no_vmx symbol 122: local. 123: * sysdeps/powerpc/powerpc64/__longjmp-common.S: Make no_vmx symbol 124: local. 125: * sysdeps/powerpc/powerpc64/setjmp-common.S: Make no_vmx and 126: aligned_save_vmx symbol local. 127: 128: 2004-12-15 Ulrich Drepper <drepper@redhat.com> 129: 130: * sysdeps/i386/i486/bits/string.h (__strncat_g): Fix i686 131: implementation. 132: 133: 2004-09-08 H.J. Lu <hongjiu.lu@intel.com> 134: 135: * Makeconfig (libunwind): New. 136: (libgcc_eh): Add $(libunwind). 137: (gnulib): Always set to -lgcc $(libgcc_eh). 138: (static-gnulib): Always set to -lgcc -lgcc_eh $(libunwind). 139: (libc.so-gnulib): New. 140: * Makerules (LDLIBS-c.so): Use $(libc.so-gnulib) instead of 141: $(static-gnulib). 142: * configure.in (libc_cv_cc_with_libunwind): Set to yes if gcc 143: uses -lunwind for static binaries. 144: 145: 2004-06-05 Joseph S. Myers <jsm@polyomino.org.uk> 146: 147: * malloc/Makefile (install-bin): Remove memusage. 148: (install-bin-script): Add memusage. 149: 150: 2004-12-15 Jakub Jelinek <jakub@redhat.com> 151: 152: * nis/nis_domain_of_r.c (nis_domain_of_r): Use libnsl_hidden_def, 153: not libnsl_hidden_proto. 154: 155: * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Add support 156: for NPTL where the PID is stored at userlevel and needs to be reset 157: when CLONE_THREAD is not used. 158: * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise. 159: 160: * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone): Save 161: and restore r2 around call to fn. 162: 163: 2004-12-15 Andreas Jaeger <aj@suse.de> 164: 165: * sysdeps/ia64/dl-machine.h (elf_machine_rela): Mark auto instead 166: of static, add always_inline attribute. 167: (elf_machine_rela_relative): Likewise. 168: (elf_machine_lazy_rel): Likewise. 169: 170: 2004-12-15 Ulrich Drepper <drepper@redhat.com> 171: 172: * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Add support 173: for pid caching in nptl. 174: 175: 2004-12-14 Ulrich Drepper <drepper@redhat.com> 176: 177: * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Add support 178: for pid caching in nptl. 179: 180: 2004-10-18 Maciej W. Rozycki <macro@mips.com> 181: 182: * sysdeps/unix/sysv/linux/mips/bits/socket.h (__cmsg_nxthdr): Use 183: __NTH instead of __THROW in the inline definition. 184: * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Likewise. 185: 186: * sysdeps/mips/bits/dlfcn.h (RTLD_DEEPBIND): New macro. 187: 188: * sysdeps/unix/sysv/linux/mips/bits/mman.h 189: (PROT_GROWSDOWN, PROT_GROWSUP): New macros. 190: 191: 2004-10-06 Alan Modra <amodra@bigpond.net.au> 192: 193: * sysdeps/powerpc/powerpc64/ppc-mcount.S (PROF): Don't undef. 194: * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Invoke CALL_MOUNT. 195: * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise. 196: * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise. 197: * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise. 198: * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise. 199: * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise. 200: * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise. 201: * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise. 202: 203: 2004-10-19 Wolfram Gloger <wg@malloc.de> 204: 205: * malloc/hooks.c (mem2chunk_check, top_check): Handle 206: non-contiguous arena. Reported by Michael Dalton 207: <mwdalton@stanford.edu> [BZ #457]. Add further checks for top chunk. 208: 209: 2004-12-14 Jakub Jelinek <jakub@redhat.com> 210: 211: * sysdeps/posix/sysconf.c (__sysconf_check_spec): Remove leading 212: underscore from GETCONF_DIR filenames. 213: 214: 2004-12-13 Ulrich Drepper <drepper@redhat.com> 215: 216: * po/de.po: Update from translation team. 217: 218: * nss/getnssent.c (__nss_getent): Double buffer size each round to 219: avoid problems with delays for some people's huge entries. 220: * nss/getXXbyYY.c (FUNCTION_NAME): Likewise. 221: 222: 2004-12-13 Jakub Jelinek <jakub@redhat.com> 223: 224: * posix/getconf.c (main): Prepend just $GETCONF_DIR/ instead of 225: $GETCONF_DIR/_ to spec. 226: * posix/confstr.c (confstr): Remove leading underscores for 227: _CS_POSIX_V6_WIDTH_RESTRICTED_ENVS. 228: 229: 2004-12-12 Ulrich Drepper <drepper@redhat.com> 230: 231: * elf/dl-load.c (_dl_map_object_from_fd): Fix computation of 232: mapping start. It must take the actual pagesize into account, not 233: the alignment in the file. 234: 235: 2004-12-11 Ulrich Drepper <drepper@redhat.com> 236: 237: * malloc/malloc.c (_int_realloc): Add checks for corrupted memory. 238: (_int_free): Make clear message are result of free() calls. 239: 240: * malloc/malloc.c (_int_realloc): Remove unnecessary tests for 241: oldmem and size == 0. 242: 243: 2004-12-10 Ulrich Drepper <drepper@redhat.com> 244: 245: * malloc/arena.c (arena_get2): Prevent endless loop if arenas and 246: list lock are taken. 247: 248: 2004-12-08 Thorsten Kukuk <kukuk@suse.de> 249: 250: * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_getnetgrent_r): 251: Add check if the value is not an empty string. [BZ #597] 252: 253: 2004-11-29 Jakub Jelinek <jakub@redhat.com> 254: 255: * stdlib/strtod_l.c (INTERNAL (__STRTOF)): If densize > 2 256: and numsize < densize, always shift num up by empty + 1 limbs. 257: 258: 2004-12-07 Paolo Bonzini <bonzini@gnu.org> 259: 260: * posix/regexec.c (proceed_next_node): Simplify treatment of epsilon 261: nodes. Pass the pushed node to push_fail_stack. 262: (push_fail_stack): Accept a single node rather than an array 263: of two epsilon destinations. 264: (build_sifted_states): Only walk non-epsilon nodes. 265: (check_arrival): Don't pass epsilon nodes to 266: check_arrival_add_next_nodes. 267: (check_arrival_add_next_nodes) [DEBUG]: Abort if an epsilon node is 268: found. 269: (check_node_accept): Do expensive checks later. 270: (add_epsilon_src_nodes): Cache result of merging the inveclosures. 271: * posix/regex_internal.h (re_dfastate_t): Add non_eps_nodes and 272: inveclosure. 273: (re_string_elem_size_at, re_string_char_size_at, re_string_wchar_at, 274: re_string_context_at, re_string_peek_byte_case, 275: re_string_fetch_byte_case, re_node_set_compare, re_node_set_contains): 276: Declare as pure. 277: * posix/regex_internal.c (create_newstate_common): Remove. 278: (register_state): Move part of it here. Initialize non_eps_nodes. 279: (free_state): Free inveclosure and non_eps_nodes. 280: (create_cd_newstate, create_ci_newstate): Allocate the new 281: re_dfastate_t here. 282: 283: 2004-12-09 Ulrich Drepper <drepper@redhat.com> 284: 285: * malloc/malloc.c (public_rEALLOc): Add parameter checks. 286: (_int_free): Provide better error message for invalid pointers. 287: 288: 2004-12-01 Jakub Jelinek <jakub@redhat.com> 289: 290: * posix/tst-regex.c: Use defined _POSIX_CPUTIME && _POSIX_CPUTIME >= 0 291: conditionals instead of defined _POSIX_CPUTIME. 292: (main): If _POSIX_CPUTIME == 0, call sysconf to see if CPUTIME 293: option is available. 294: * posix/tst-regex.c2: Use defined _POSIX_CPUTIME && _POSIX_CPUTIME >= 0 295: conditionals instead of defined _POSIX_CPUTIME. 296: (do_test): If _POSIX_CPUTIME == 0, call sysconf to see if CPUTIME 297: option is available. 298: * sysdeps/posix/sysconf.c (__sysconf): If _POSIX_CPUTIME resp. 299: _POSIX_THREAD_CPUTIME is defined to 0, return -1 for the corresponding 300: _SC_ argument. 301: 302: 2004-12-08 Jakub Jelinek <jakub@redhat.com> 303: 304: * elf/ldd.bash.in: When set -o pipefail is available, use that for 305: piping to cat; when not, don't use the pipe at all. 306: Pipe to cat in all cases of running the executable. 307: When direct running exits with code 5, retry running via ${RTLD}. 308: * elf/rtld.c (process_envvars): If __libc_enable_secure and 309: mode != normal, exit with exitcode 5. 310: 311: 2004-12-07 Jakub Jelinek <jakub@redhat.com> 312: 313: * sysdeps/posix/sysconf.c (__sysconf_check_spec): Only define 314: if it will be actually used. 315: 316: 2004-12-07 Roland McGrath <roland@redhat.com> 317: 318: * rt/tst-timer5.c (setup_test): New function. 319: (TEST_CLOCK_MISSING): Use it to punt test if timer_create does not 320: support CLOCK_MONOTONIC. 321: 322: 2004-12-07 Jakub Jelinek <jakub@redhat.com> 323: 324: * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone2): Add support for 325: NPTL where the PID is stored at userlevel and needs to be reset when 326: CLONE_THREAD is not used. Restore gp before calling _exit. 327: 328: 2004-12-07 Kaz Kojima <kkojima@rr.iij4u.or.jp> 329: 330: * sysdeps/unix/sysv/linux/sh/clone.S: Clear the frame pointer when 331: starting a new thread. Add support for NPTL where the PID is stored 332: at userlevel and needs to be reset when CLONE_THREAD is not used. 333: 334: 2004-12-01 Jakub Jelinek <jakub@redhat.com> 335: 336: * elf/rtld.c (process_envvars): Don't consider LD_SHOW_AUXV 337: and LD_DYNAMIC_WEAK if __libc_enable_secure. 338: If __libc_enable_secure, /etc/suid-debug doesn't exist and 339: program will be actually run, turn off all debugging. 340: * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add LD_DEBUG, 341: LD_DYNAMIC_WEAK and LD_SHOW_AUXV. 342: 343: 2004-12-06 Jakub Jelinek <jakub@redhat.com> 344: 345: * time/tzset.c (tzset_internal): If + or - is seen, 346: but no offset after it, reset offset to 0. [BZ #601] 347: 348: 2004-12-06 Ulrich Drepper <drepper@redhat.com> 349: 350: * libio/ioseekpos.c (_IO_seekpos_unlocked): Call _IO_SEEKOFF not 351: _IO_SEEKPOS, saving one indirect jump. 352: 353: * libio/fileops.c (_IO_new_file_seekoff): Fix optimization of in-buffer 354: seek. Remove dead code. 355: 356: 2004-12-02 Jakub Jelinek <jakub@redhat.com> 357: 358: * libio/Makefile (tests): Add bug-ungetc4. 359: * libio/bug-ungetc4.c: New test. 360: 361: 2004-12-06 Roland McGrath <roland@redhat.com> 362: 363: * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Diagnose EINVAL 364: for CLOCK_THREAD_CPUTIME_ID, not ENOTSUP. 365: Use SYSDEP_NANOSLEEP handler before validating CLOCK_ID value. 366: 367: * rt/tst-timer4.c (TEST_CLOCK, TEST_CLOCK_NANOSLEEP): New macros. 368: Use them throughout in place of CLOCK_REALTIME and nanosleep. 369: (do_test) [TEST_CLOCK_MISSING]: Call this macro and if it returns 370: non-null, punt the test with a message using the string returned. 371: * rt/tst-timer5.c: New file. 372: * rt/Makefile (tests): Add it. 373: 374: 2004-12-01 Paolo Bonzini <bonzini@gnu.org> 375: 376: * posix/regcomp.c (free_dfa_content, init_dfa): Remove 377: references to re_dfa_t's subexps field. 378: (parse_sub_exp, parse_expression): Do not use it. Use 379: completed_bkref_map instead. 380: (create_initial_state, peek_token): Store a backreference \N 381: with opr.idx = N-1. 382: * posix/regexec.c (proceed_next_node, check_dst_limits, get_subexp): 383: Likewise. 384: (check_subexp_limits): Remove useless condition. 385: * posix/regex_internal.h (re_subexp_t): Remove. 386: (re_dfa_t): Remove subexps and subexps_alloc field, add 387: completed_bkref_map. 388: 389: 2004-12-05 Roland McGrath <roland@frob.com> 390: 391: * Makeconfig: Comment typo fix. 392: 393: 2004-11-30 Andreas Schwab <schwab@suse.de> 394: 395: * nis/ypclnt.c (ypprot_err): Remove unused entries. 396: 397: 2004-11-30 Paolo Bonzini <bonzini@gnu.org> 398: 399: * posix/regexec.c (check_dst_limits_calc_pos_1): Check for 400: bkref_idx == -1, and don't recurse in that case. 401: 402: 2004-11-30 GOTO Masanori <gotom@debian.or.jp> 403: 404: * posix/confstr.c: Enclose #error message with double quote 405: for gcc-3.3 and lower. 406: 407: 2004-12-04 Ulrich Drepper <drepper@redhat.com> 408: 409: * sysdeps/unix/sysv/linux/i386/clone.S: Add support for NPTL where 410: the PID is stored at userlevel and needs to be reset when CLONE_THREAD 411: is not used. 412: * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise. 413: 414: 2004-11-18 Daniel Jacobowitz <dan@codesourcery.com> 415: 416: * sysdeps/arm/sysdep.h: Define __USE_BX__ if bx is available. 417: Use it instead of __THUMB_INTERWORK__. Make RETINSTR take 418: only a condition and a register. 419: * sysdeps/arm/dl-machine.h: Use __USE_BX__ instead of 420: __THUMB_INTERWORK__. 421: (_dl_start_user): Use BX. 422: * sysdeps/arm/strlen.S: Use DO_RET. 423: * sysdeps/unix/arm/brk.S: Likewise. 424: * sysdeps/unix/arm/fork.S: Likewise. 425: * sysdeps/unix/arm/sysdep.S: Likewise. 426: * sysdeps/unix/arm/sysdep.h: Likewise. 427: * sysdeps/unix/sysv/linux/arm/clone.S: Update uses of RETINSTR. 428: * sysdeps/unix/sysv/linux/arm/mmap.S: Likewise. 429: * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise. 430: * sysdeps/unix/sysv/linux/arm/socket.S: Likewise. 431: * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise. 432: * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise. 433: 434: 2004-12-02 Roland McGrath <roland@redhat.com> 435: 436: * extra-lib.mk (object-suffixes-$(lib)): Add .oS when 437: $(lib)-static-only-routines is nonempty. 438: (extra-objs, o-iterator.mk rule): Filter out .oS from generators. 439: Add a special rule for .oS objects -> _nonshared.a library. 440: 441: 2004-12-01 Jakub Jelinek <jakub@redhat.com> 442: 443: * time/mktime.c (__mktime_internal): If SEC_REQUESTED != SEC, 444: convert T2, not T. 445: * time/Makefile (tests): Add tst-mktime3. 446: * time/tst-mktime3.c: New test. 447: 448: 2004-12-01 Jakub Jelinek <jakub@redhat.com> 449: 450: * stdlib/stdlib.h (realpath): Remove nonnull attribute. 451: 452: * posix/fnmatch_loop.c (internal_fnmatch): Clear is_seqval after 453: normal_bracket label. 454: 455: * time/tst-mktime2.c (bigtime_test): Initialize tm.tm_isdst to -1. 456: 457: 2004-12-01 Roland McGrath <roland@redhat.com> 458: 459: * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): 460: Do $(make-target-directory). 461: 462: 2004-11-29 Roland McGrath <roland@redhat.com> 463: 464: * posix/confstr.c: Avoid punctuation in #error text. 465: 466: 2004-11-27 Ulrich Drepper <drepper@redhat.com> 467: 468: * posix/Makefile (tests): Add tst-sysconf. 469: * posix/tst-sysconf.c: New file. 470: 471: * posix/getconf.c (vars): Add support for _SC_IPV6 and 472: _SC_RAW_SOCKETS. 473: * sysdeps/posix/sysconf.c (__sysconf): Add support for _SC_IPV6 474: and _SC_RAW_SOCKETS. 475: * sysdeps/generic/bits/confname.h: Define _SC_IPV6 and 476: _SC_RAW_SOCKETS. 477: 478: 2004-11-26 Jakub Jelinek <jakub@redhat.com> 479: 480: * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add GETCONF_DIR. 481: 482: 2004-11-26 Kaz Kojima <kkojima@rr.iij4u.or.jp> 483: 484: * sysdeps/unix/sysv/linux/mips/pread.c: Include sgidefs.h only if 485: NO_SGIDEFS_H isn't defined. Don't include sgidefs.h twice. 486: * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise. 487: * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise. 488: * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise. 489: 490: 2004-11-27 Ulrich Drepper <drepper@redhat.com> 491: 492: * include/dlfcn.h (__libc_dlopen): Add __RTLD_DLOPEN to the mode 493: parameter. Reported by VY Newsum <newsum@fel.tno.nl>. 494: 495: 2004-11-10 Daniel Jacobowitz <dan@debian.org> 496: 497: * libio/iolibio.h (_IO_fclose, _IO_new_fclose, _IO_old_fclose, 498: _IO_fflush, _IO_fgetpos, _IO_fgetpos64, _IO_fgets, _IO_fopen, 499: _IO_old_fopen, _IO_new_fopen, _IO_fopen64, __fopen_internal, 500: _IO_fprintf, _IO_fputs, _IO_fsetpos, _IO_fsetpos64, _IO_ftell, 501: _IO_fread, _IO_fwrite, _IO_gets, _IO_printf, _IO_puts, _IO_scanf, 502: _IO_fflush_internal, _IO_ftell_internal, _IO_fputs_internal) 503: _IO_fwrite_internal): Remove incorrect __THROW. 504: * libio/libioP.h (_IO_default_xsputn, _IO_wdefault_xsputn, 505: _IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_default_write, 506: _IO_default_read, _IO_getline, _IO_getline_info, _IO_getwline, 507: _IO_getwline_info, _IO_file_read_internal, _IO_sgetn_internal, 508: _IO_wdo_write_internal, _IO_do_write_internal, 509: _IO_getline_info_internal, _IO_getline_internal, 510: _IO_vfprintf_internal, _IO_putc_internal, _IO_read, _IO_write, 511: _IO_close): Likewise. 512: 513: 2004-11-26 Jakub Jelinek <jakub@redhat.com> 514: 515: * posix/Makefile (install-others): Add $(inst_libexecdir)/getconf. 516: (CFLAGS-sysconf.c): Add -D_GETCONF_DIR. 517: (CFLAGS-getconf.c): New. 518: ($(inst_libexecdir)/getconf): New. 519: * posix/confstr.c (confstr): Use __sysconf to query specifications 520: that don't have _POSIX_V6_* macros defined. Use __*_{C,LD}FLAGS 521: macros defined in bits/environments.h. 522: * sysdeps/posix/sysconf.c: Include stdlib.h, string.h and 523: sys/stat.h. 524: (__sysconf_check_spec): New routine. 525: (__sysconf): Use it. 526: * posix/getconf.c (specs): Change into structure array. 527: (main): If -v is not given, try to get default from 528: $(libexecdir)/getconf/default. If specification is not 529: supported by this getconf, try to execute 530: $(libexecdir)/getconf/$(specification). 531: * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: New file. 532: * sysdeps/unix/sysv/linux/s390/bits/environments.h: New file. 533: * sysdeps/unix/sysv/linux/powerpc/bits/environments.h: New file. 534: * sysdeps/unix/sysv/linux/sparc/bits/environments.h: New file. 535: * sysdeps/unix/sysv/linux/i386/bits/environments.h: New file. 536: * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: New file. 537: * sysdeps/generic/bits/environments.h (__ILP32_OFFBIG_CFLAGS): 538: Define. 539: 540: * stdlib/stdlib.h (setenv): Use nonnull only for second argument. 541: (unsetenv): Remove. 542: 543: 2004-11-23 Paolo Bonzini <bonzini@gnu.org> 544: 545: * posix/regcomp.c (analyze_tree): Always call calc_epsdest. 546: (calc_inveclosure): Use re_node_set_insert_last. 547: (parse_dup_op): Lower X{1,5} to (X(X(X(XX?)?)?)?)? 548: rather than X?X?X?X?X?. 549: * posix/regex_internal.h (re_node_set_insert_last): New declaration. 550: * posix/regex_internal.c (re_node_set_insert_last): New function. 551: * posix/PCRE.tests: Add testcases. 552: 553: 2004-11-25 Ulrich Drepper <drepper@redhat.com> 554: 555: * dlfcn/dlfcn.h: Remove nonnull attribute from dlopen. 556: 557: * posix/confstr.c (confstr): Return appropriate strings for 558: _CS_LFS_LINTFLAGS, _CS_LFS64_CFLAGS, and _CS_LFS64_LINTFLAGS. 559: 560: 2004-11-05 Maciej W. Rozycki <macro@mips.com> 561: 562: * sysdeps/mips/dl-machine.h: Include <sgidefs.h>. Use _ABIO32, 563: _ABIN32 and _ABI64 for ABI selection throughout. 564: * sysdeps/mips/elf/start.S: Likewise. 565: * sysdeps/mips/mips64/__longjmp.c: Likewise. 566: * sysdeps/mips/mips64/bsd-_setjmp.S: Likewise. 567: * sysdeps/mips/mips64/bsd-setjmp.S: Likewise. 568: * sysdeps/mips/mips64/setjmp.S: Likewise. 569: * sysdeps/mips/mips64/setjmp_aux.c: Likewise. 570: * sysdeps/mips/sys/regdef.h: Likewise. 571: * sysdeps/mips/sys/ucontext.h: Likewise. 572: * sysdeps/unix/mips/sysdep.h: Likewise. 573: * sysdeps/unix/sysv/linux/kernel-features.h: Likewise. 574: * sysdeps/unix/sysv/linux/mips/pread.c: Likewise. 575: * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise. 576: * sysdeps/unix/sysv/linux/mips/ptrace.c: Likewise. 577: * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise. 578: * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise. 579: * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise. 580: * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise. 581: * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Likewise. 582: 583: * sysdeps/mips/atomicity.h: Use _ABIO32, _ABIN32 and _ABI64 for 584: ABI selection throughout. 585: * sysdeps/mips/bits/setjmp.h: Likewise. 586: * sysdeps/mips/fpu/bits/mathdef.h: Likewise. 587: * sysdeps/mips/machine-gmon.h: Likewise. 588: * sysdeps/mips/sys/asm.h: Likewise. 589: * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise. 590: * sysdeps/unix/sysv/linux/mips/bits/sigcontext.h: Likewise. 591: * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise. 592: * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Likewise. 593: * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h: Likewise. 594: * sysdeps/unix/sysv/linux/mips/sys/ptrace.h: Likewise. 595: * sysdeps/unix/sysv/linux/mips/sys/tas.h: Likewise. 596: * sysdeps/unix/sysv/linux/mips/sys/user.h: Likewise. 597: 598: * sysdeps/mips/sgidefs.h: Prevent <asm/sgidefs.h> from being 599: included by kernel headers and undo its settings if already 600: included. Define _ABIO32, _ABIN32 and _ABI64 if missing and use 601: them to define _MIPS_SIM_ABI32, _MIPS_SIM_NABI32 and 602: _MIPS_SIM_ABI64 for compatibility. 603: * sysdeps/unix/sysv/linux/mips/Makefile: Use _ABIO32, _ABIN32 and 604: _ABI64 for ABI selection in generated syscall-list.h 605: * sysdeps/unix/sysv/linux/mips/configure.in: Use _ABIO32, _ABIN32 606: and _ABI64 for ABI selection in generated asm-unistd.h. 607: * sysdeps/unix/sysv/linux/mips/configure: Regenerate. 608: 609: * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Correct 610: an inverted _MIPS_SIM conditional. 611: 612: 2004-11-23 Alexandre Oliva <aoliva@redhat.com> 613: 614: * sysdeps/generic/dl-tls.c (_dl_determine_tlsoffset): Use free 615: range even if it doesn't match exactly. 616: 617: 2004-11-23 Jakub Jelinek <jakub@redhat.com> 618: 619: * nss/nss_files/files-XXX.c (internal_getent): If parse_line returned 620: -1, also do H_ERRNO_SET (NETDB_INTERNAL). 621: 622: 2004-11-22 Ulrich Drepper <drepper@redhat.com> 623: 624: * sysdeps/i386/fpu_control.h: Add volatile to the asms. 625: Patch by Alexander Stohr. 626: 627: 2004-11-22 Jakub Jelinek <jakub@redhat.com> 628: 629: * nscd/nscd_getai (__nscd_getai): Avoid memory and file descriptor 630: leaks. 631: * sysdeps/posix/getaddrinfo.c (gaih_inet): Free air. 632: 633: 2004-11-15 Maciej W. Rozycki <macro@mips.com> 634: 635: * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (__SI_MAX_SIZE): 636: Define appropriately based on __WORDSIZE. 637: [struct siginfo] (__pad0): Add for explicit padding. 638: 639: * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Formatting fixes 640: throughout. 641: 642: 2004-11-22 Ulrich Drepper <drepper@redhat.com> 643: 644: * dirent/dirent.h: Add nonnull attributes. 645: * dlfcn/dlfcn.h: Likewise. 646: 647: 2004-11-20 Jakub Jelinek <jakub@redhat.com> 648: 649: * sysdeps/ieee754/k_standard.c: Document code 50. 650: (__kernel_standard) <case 50>: Avoid raising div-by-zero 651: exception again. 652: 653: 2004-11-19 H.J. Lu <hongjiu.lu@intel.com> 654: 655: [BZ #552] 656: * math/libm-test.inc (tgamma_test): Update tgamma (0) and 657: tgamma (-0). 658: * sysdeps/generic/w_tgamma.c (__tgamma): Properly handle |x| == 0. 659: * sysdeps/generic/w_tgammaf.c (__tgammaf): Likewise. 660: * sysdeps/generic/w_tgammal.c (__tgammal): Likewise. 661: * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise. 662: * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise. 663: * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise. 664: * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise. 665: * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle 666: tgamma (0) and tgamma (-0). 667: 668: 2004-11-20 Ulrich Drepper <drepper@redhat.com> 669: 670: * time/tzfile.c (__tzfile_read): Avoid open for checking whether 671: the file we already use changed. 672: 673: * misc/syslog.c: Remove !USE_IN_LIBIO code. 674: 675: 2004-11-20 Jakub Jelinek <jakub@redhat.com> 676: 677: * signal/signal.h (__sysv_signal, sysv_signal, signal, bsd_signal, 678: ssignal): Remove __nonnull attribute. 679: 680: 2004-11-20 Kaz Kojima <kkojima@rr.iij4u.or.jp> 681: 682: * sysdeps/unix/sysv/linux/sh/sys/procfs.h: New file. 683: 684: 2004-11-20 Ulrich Drepper <drepper@redhat.com> 685: 686: * signal/signal.h: Add nonnull attributes. 687: 688: * signal/signal.h: Add deprecated attributes to sigstack, 689: sigpause, sigblock, sigsetmask, siggetmask. 690: 691: 2004-11-20 Jakub Jelinek <jakub@redhat.com> 692: 693: * sysdeps/unix/sysv/linux/bits/socket.h (SCM_RIGHTS): Avoid 694: comma at the end of enum if __USE_BSD is not defined. 695: 696: 2004-11-19 Ulrich Drepper <drepper@redhat.com> 697: 698: * malloc/malloc.c (_int_malloc): Check for corruption of chunk 699: which is about to be returned. 700: 701: * malloc/malloc.c (_int_free): Add a few more cheap tests for 702: corruption. 703: 704: 2004-11-17 Randolph Chung <tausq@debian.org> 705: 706: * sysdeps/hppa/dl-machine.h (TRAMPOLINE_TEMPLATE): Add unwind 707: annotations. 708: 709: 2004-11-18 Jakub Jelinek <jakub@redhat.com> 710: 711: [BZ #544] 712: * posix/regex.h (RE_NO_SUB): New define. 713: * posix/regex_internal.h (OP_DELETED_SUBEXP): New. 714: (re_dfa_t): Add subexp_map. 715: * posix/regcomp.c (struct subexp_optimize): New type. 716: (optimize_subexps): New routine. 717: (re_compile_internal): Call it. 718: (re_compile_pattern): Set preg->no_sub to 1 if RE_NO_SUB. 719: (free_dfa_content): Free subexp_map. 720: (calc_inveclosure, calc_eclosure): Skip OP_DELETED_SUBEXP nodes. 721: * posix/regexec.c (re_search_internal): If subexp_map 722: is not NULL, duplicate registers as needed. 723: * posix/Makefile: Add rules to build and run tst-regex2. 724: * posix/tst-regex2.c: New test. 725: * posix/rxspencer/tests: Fix last two tests (\0 -> \1). 726: Add some new tests for nested subexpressions. 727: 728: 2004-11-18 Ulrich Drepper <drepper@redhat.com> 729: 730: * libio/libio.h (_IO_FLAGS2_FORTIFY): Renamed from 731: _IO_FLAGS2_CHECK_PERCENT_N. 732: * debug/fprintf_chk.c: Adjust all users. 733: * debug/printf_chk.c: Likewise. 734: * debug/vfprintf_chk.c: Likewise. 735: * debug/vprintf_chk.c: Likewise. 736: * debug/vsnprintf_chk.c: Likewise. 737: * debug/vsprintf_chk.c: Likewise. 738: * stdio-common/vfprintf.c: Likewise. Detect missing %N$ formats. 739: * debug/tst-chk1.c: Test detection of missing %N$ formats. 740: 741: 2004-11-15 Jakub Jelinek <jakub@redhat.com> 742: 743: * posix/bug-regex24.c: Include string.h. 744: 745: * nis/nis_clone_obj.c (nis_clone_object): Rename out3 label to out2 746: and out2 to out. Remove out label. Formatting. 747: 748: 2004-11-15 Ulrich Drepper <drepper@redhat.com> 749: 750: * include/stdio.h: Do not mark __libc_message as noreturn. 751: * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_fatal): Add loop to 752: fool gcc. Include <stdbool.h>. 753: * sysdeps/posix/libc_fatal.c (__libc_fatal): Add loop to fool gcc. 754: (__libc_message): Fix typo. 755: 756: 2004-11-13 Ulrich Drepper <drepper@redhat.com> 757: 758: * malloc/malloc.c (malloc_state): stat_lock_* elements need only 759: be defined if THREAD_STATS is defined. Remove pad0_ since it does 760: not align with cache line sizes in general anyway. 761: 762: 2004-11-13 Jakub Jelinek <jakub@redhat.com> 763: 764: * elf/rtld.c (print_statistics): Avoid segfaults if not all namespaces 765: are used. Fix computation of num_relative_relocations on RELA 766: architectures other than IA-64 and Alpha. 767: 768: 2004-11-13 Ulrich Drepper <drepper@redhat.com> 769: 770: * malloc/malloc.c (_int_free): Use munmap_chunk for handling 771: mma