aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2005-10-16[BZ #1254]Roland McGrath3-3/+17
* sysdeps/mach/hurd/getpeername.c (__getpeername): Respect *LEN byte limit when setting ADDR->sa_family. Reported by Samuel Thibault <samuel.thibault@ens-lyon.org>.
2005-10-16[BZ #1253]Roland McGrath2-1/+11
* sysdeps/mach/hurd/dl-sysdep.h [SHARED] (DL_ARGV_NOT_RELRO): New macro. [BZ #1253]
2005-10-16[BZ #1253]Roland McGrath2-11/+26
2005-10-16 Roland McGrath <roland@frob.com> [BZ #1253] * sysdeps/mach/hurd/i386/init-first.c (init): Make cast kosher. (_hurd_stack_setup): Don't declare with arguments and ellipsis. Use __builtin_frame_address and __builtin_return_address. (_dl_init_first): Likewise. * sysdeps/mach/hurd/i386/init-first.c (_cthread_init_routine): Declare as weak extern. (init): Check for it being undefined.
2005-10-16[BZ #1076, BZ #1250, BZ #1251]Roland McGrath1-1/+4
BZ tags 2005-08-05 Roland McGrath <roland@frob.com> [BZ #1251] [BZ #1250] [BZ #1076]
2005-10-16[BZ #1394]Roland McGrath1-0/+1
bz tag [BZ #1394]
2005-10-162005-10-16 Daniel Jacobowitz <dan@codesourcery.com>Roland McGrath5-11/+22
Roland McGrath <roland@redhat.com> * Makerules [module-names] (extra-modules-build): New variable. ($(extra-modules-build:%=$(objpfx)%.so)): New static pattern rule. Depend on libc.so and libc_nonshared.a. * dlfcn/Makefile ($(test-modules)): Remove static pattern rule. * elf/Makefile (modules-names-nobuild): New variable, add filtmod1. ($(test-modules)): Remove static pattern rule.
2005-10-16* include/dirent.h: Include <stdbool.h>.Roland McGrath1-0/+7
* sysdeps/mach/hurd/fdopendir.c: Include <fcntl.h>. (fdopendir): Correct argument to _hurd_fd_get(). * sysdeps/mach/hurd/opendir.c (__opendir): Remove stray `}'.
2005-10-162005-10-15 Thomas Schwinge <tschwinge@gnu.org>Roland McGrath3-3/+3
* include/dirent.h: Include <stdbool.h>. * sysdeps/mach/hurd/fdopendir.c: Include <fcntl.h>. (fdopendir): Correct argument to _hurd_fd_get(). * sysdeps/mach/hurd/opendir.c (__opendir): Remove stray `}'.
2005-10-15[BZ #1224]Ulrich Drepper2-27/+16
2005-08-20 Paul Eggert <eggert@cs.ucla.edu> [BZ #1224] * posix/regcomp.c (init_word_char, duplicate_node_closure, fetch_token, peek_token_bracket, build_range_exp, build_collating_symbol): Remove forward decls; no longer needed now that we use prototypes.
2005-10-15[BZ #1221]Ulrich Drepper2-5/+7
* posix/regex_internal.h: Remove last traces of RE_NO_INTERNAL_PROTOTYPES.
2005-10-15[BZ #968]Ulrich Drepper3-8/+64
* string/strxfrm_l.c (STRXFRM): Fix exit conditions of two loops.
2005-10-15* sysdeps/unix/fdopendir.c (fdopendir): Make sure descriptorUlrich Drepper2-0/+13
allows reading.
2005-10-15* wcsmbs/tst-mbrtowc2.c: Use de_DE.UTF-8 instead of en_US.UTF-8.Ulrich Drepper3-2/+6
* wcsmbs/Makefile: Define tst-mbrtowc2-ENV.
2005-10-15* posix/regexec.c: Finish prototyping of static functions.Ulrich Drepper3-0/+59
* posix/regex_internal.c: Likewise.
2005-10-15[BZ #119]Ulrich Drepper2-2/+7
2005-10-15 Ulrich Drepper <drepper@redhat.com> [BZ #119] * locales/es_AR: Fix thousands_sep and grouping.
2005-10-15[BZ #451]Ulrich Drepper3-0/+155
* locales/rw_RW: New file. * SUPPORTED (SUPPORTED-LOCALES): Add rw_RW.UTF-8.
2005-10-15[BZ #367]Ulrich Drepper3-0/+221
* locales/si_LK: New file. * SUPPORTED (SUPPORTED-LOCALES): Add si_LK.UTF-8.
2005-10-15[BZ #297]Ulrich Drepper1-0/+3
* locales/fi_FI: Change date_fmt.
2005-10-15Change date_fmt.Ulrich Drepper1-3/+2
2005-10-15* sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): New function, brokenRoland McGrath3-24/+103
out of ... (__opendir): ... here. Call it. * sysdeps/mach/hurd/fdopendir.c: New file.
2005-10-15Comment fix.Roland McGrath1-1/+2
2005-10-15[BZ #71, BZ #305]Ulrich Drepper26-207/+67
* locales/te_IN: Fix noexpr, replace yY with nN. [BZ #305] * locales/bn_BD: Add yY and nN to yesexpr and noexpr respectively. * locales/ml_IN: Likewise. * locales/ta_IN: Likewise. * locales/kw_GB: Add yY to yesexpr. * locales/oc_FR: Likewise. * locales/bn_IN: Use copy "bn_BD" in LC_MESSAGES definition. [BZ #71] [BZ #305] * locales/ar_EG: Add yY and nN to yesexpr and noexpr respectively. Define yesstr and nostr. * locales/ar_AE: Use copy "ar_EG" in LC_MESSAGES definition. * locales/ar_BH: Likewise. * locales/ar_DZ: Likewise. * locales/ar_IN: Likewise. * locales/ar_IQ: Likewise. * locales/ar_JO: Likewise. * locales/ar_KW: Likewise. * locales/ar_LB: Likewise. * locales/ar_LY: Likewise. * locales/ar_MA: Likewise. * locales/ar_OM: Likewise. * locales/ar_QA: Likewise. * locales/ar_SA: Likewise. * locales/ar_SD: Likewise. * locales/ar_SY: Likewise. * locales/ar_TN: Likewise. * locales/ar_YE: Likewise.
2005-10-15[BZ #865]Ulrich Drepper6-7/+113
* math/tgmath.h: Correctly determine result type for __TGMATH_BINARY_REAL_ONLY, __TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY, __TGMATH_TERNARY_REAL_ONLY, and __TGMATH_BINARY_REAL_IMAG. 2005-09-17 Andreas Jaeger <aj@suse.de> [BZ #865] * math/test-tgmath-int.c: New file. * math/Makefile (tests): Add test-tgmath-int. 2005-10-14 Ulrich Drepper <drepper@redhat.com>
2005-10-14[BZ #804]Ulrich Drepper5-92/+176
* malloc/tst-mtrace.sh: Work around for bootstraping.
2005-10-14* locale/programs/ld-collate.c (collate_output): Fix counting ofUlrich Drepper2-1/+12
elements. Don't limit table size. Use correct secondary hash function. * locale/localeinfo.h (LIMAGIC): Change value returned for LC_COLLATE. * posix/fnmatch_loop.c: Adjust for changed secondary hash function. * posix/regcomp.c: Likewise. * sysdeps/unix/sysv/linux/x86_64/ucontext_i.h (TESTS): Define.
2005-10-14* SUPPORTED (SUPPORTED-LOCALES): Add dz_BT.UTF-8.Ulrich Drepper1-2/+1
2005-10-14[BZ #368]Ulrich Drepper9-57/+1449
* SUPPORTED (SUPPORTED-LOCALES): Add dz_BT.UTF-8. [BZ #368] * locales/dz_BT: New file.
2005-10-14* time/asctime.c (asctime_internal): Use __snprintf instead ofUlrich Drepper3-7/+16
snprintf to avoid PLT entry.
2005-10-14* sysdeps/unix/opendir.c (__opendir): Pass extra argument toUlrich Drepper7-16/+62
__alloc_dir. (__alloc_dir): Only close descriptor on error if new parameter is true. * sysdeps/unix/fdopendir.c (fdopendir): Pass extra argument to __alloc_dir. Don't close fd on error. * include/dirent.h (__alloc_dir): Adjust prototype. * include/sys/mman.h (__mremap): Add ellipsis. * malloc/memusage.c: Adjust mremap wrapper for optional additional parameter.
2005-10-14[BZ #982]Ulrich Drepper8-11/+93
* locales/ml_IN: Fix title.
2005-10-14* stdlib/Makefile (tests): Add tst-ucontext-off.Ulrich Drepper2-0/+8
* stdlib/tst-ucontext-off.c: New file. * sysdeps/unix/sysv/linux/x86_64/ucontext_i.h (TEST): Define. * sysdeps/unix/sysv/linux/i386/ucontext_i.h (TESTS): Likewise.
2005-10-14[BZ #980]Ulrich Drepper1-0/+3
* locales/yi_US: Fix title.
2005-10-14* locales/nl_NL: Define country_car, lang_name, lang_ab,Ulrich Drepper2-0/+8
lang_term, and lang_lib.
2005-10-14[BZ #1468]Ulrich Drepper9-7/+320
* sysdeps/unix/sysv/linux/x86_64/ucontext_i.h: Fix values for oFPREGS, oSIGMASK, oFPREGSMEM, and oMXCSR. Patch by Nicholas Miell <nmiell@comcast.net>.
2005-10-14[BZ #1460]Ulrich Drepper5-18/+69
* time/asctime.c (asctime_internal): New function, derived from asctime_r. Takes additional parameter which is the buffer length. Use snprintf instead sprintf, if it overflows, fail. (asctime_r): Call asctime_internal with 26 as buffer length. (asctime): Call asctime_internal with length of internal buffer. * time/Makefile (tests): Add bug-asctime_r. * time/bug-asctime_r.c: New file.
2005-10-14[BZ #1459]Ulrich Drepper4-2/+55
* time/asctime.c (__asctime_r): Check for tm_year computation to overflow and fail in this case. * time/Makefile (tests): Add bug-asctime. * time/bug-asctime.c: New file.
2005-10-14[BZ #1458]Ulrich Drepper9-10/+32
2005-10-14 Ulrich Drepper <drepper@redhat.com> [BZ #1458] * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MREMAP_FIXED. * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise. * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise. * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise. * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise. * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise. * misc/sys/mman.h: Add ellipsis after last parameter of mremap and adjust leading comment. * sysdeps/unix/sysv/linux/syscalls.list: Add pointer parameter to mremap syscall.
2005-10-14[BZ #1405]Ulrich Drepper2-2/+12
* libio/iogetdelim.c (_IO_getdelim): Fix truncation of return value. Avoid overflow in computation.
2005-10-14[BZ #1373]Ulrich Drepper4-22/+33
2005-10-13 Ulrich Drepper <drepper@redhat.com> [BZ #1373] * argp/argp.h: Remove __NTH for __argp_usage inline function.
2005-10-13[BZ #1248]Ulrich Drepper3-86/+64
2005-08-26 Paul Eggert <eggert@cs.ucla.edu> [BZ #1248] * posix/regex_internal.h (bitset_not, bitset_merge, bitset_not_merge, bitset_mask, re_string_allocate, re_string_construct, re_string_reconstruct, re_string_destruct, re_string_elem_size_at, re_string_char_size_at, re_string_wchar_at, re_string_peek_byte_case, re_string_fetch_byte_case, re_node_set_alloc, re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy, re_node_set_add_intersect, re_node_set_init_union, re_node_set_merge, re_node_set_insert, re_node_set_insert_last, re_node_set_compare, re_node_set_contains, re_node_set_remove_at, re_dfa_add_node, re_acquire_state, re_acquire_state_context): Remove unnecessary forward decls. (re_string_char_size_at, re_string_wchar_at, re_string_elem_size_at): Put __attribute at function definition, now that the function decl has been removed. * posix/regex_internal.c (re_string_peek_byte_case, re_string_fetch_byte_case, re_node_set_compare, re_node_set_contains): Likewise.
2005-10-13* posix/regcomp.c: Likewise.Ulrich Drepper2-195/+78
2005-10-13[BZ #1231]Ulrich Drepper3-343/+158
2005-08-23 Paul Eggert <eggert@cs.ucla.edu> [BZ #1231] * posix/regex_internal.c (re_string_skip_chars, register_state, calc_state_hash): Remove forward decls. * posix/regexec.c (acquire_init_state_context, check_halt_node_context, proceed_next_node, pop_fail_stack, sub_epsilon_src_nodes, clean_state_log_if_needed): Likewise. * posix/regex.c: No need to use K&R definitions for static functions. * posix/regex_internal.c: Likewise.
2005-10-13[BZ #1466]Ulrich Drepper5-10/+22
* sysdeps/generic/s_csqrt.c (__csqrt): For zero real part, return principal square root. * sysdeps/generic/s_csqrtf.c (__csqrtf): Likewise. * sysdeps/generic/s_csqrtl.c (__csqrtl): Likewise. * math/libm-test.inc (csqrt_test): Add test for returning principal value.
2005-10-13* include/features.h: Define _POSIX_C_SOURCE to 200112 forUlrich Drepper8-2/+1176
_XOPEN_SOURCE == 600.
2005-10-13* malloc/malloc.c (_int_free): Fail if block size is obviously wrong.Ulrich Drepper2-0/+8
2005-10-12* include/malloc.h: Remove _int_new_arena prototype.Ulrich Drepper3-43/+46
* malloc/arena.c (_int_new_arena): Move definition ahead of arena_get2 and make static.
2005-10-12Correctly implement M_MXFAST.Ulrich Drepper3-25/+49
* malloc/malloc.c (struct malloc_state): Replace max_fast with flags fields. (global_max_fast): New variable. (set_max_fast): Change to not require arena parameter and to modify global_max_fast. Change all callers. (get_max_fast): New macro. Use this instead of directly accessing now removed max_fast arena member. (have_fastchunks): Use flags instead of max_fast. (clear_fastchunks): Likewise. (set_fastchunks): Likewise. (contiguous): Likewise. (noncontiguous): Likewise. (set_noncontiguous): Likewise. (set_contiguous): Likewise. (malloc_init_state): Explicitly set FASTCHUNKS_BIT. Call set_max_fast only for main arena. * malloc/hooks.c (public_sET_STATe): Adjust set_max_fast use.
2005-10-12[BZ #532]Ulrich Drepper3-0/+291
2005-10-12 Ulrich Drepper <drepper@redhat.com> [BZ #532] * locales/ts_ZA: New file. Patch by Dwayne Bailey <dwayne@translate.org.za>. * SUPPORTED: Add ts_ZA.UTF-8.
2005-10-10* sysdeps/generic/bits/byteswap.h (__bswap_constant_16): New macro.Ulrich Drepper3-16/+29
(__bswap_16): Use it. (__bswap_constant_32): New macro. (__bswap_32): Use it.
2005-10-10* malloc/arena.c (ptmalloc_unlock_all2): Reset atfork_recursive_cntr.cvs/fedora-glibc-20051010T1417Ulrich Drepper1-1/+1