aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2005-09-24[BZ #520]Ulrich Drepper3-0/+209
* SUPPORTED (SUPPORTED-LOCALES): Add ky_KG. [BZ #520] * locales/ky_KG: New file.
2005-09-24[BZ #495]Ulrich Drepper5-124/+335
* locales/st_ZA: Updates and corrections. Patch by Dwayne Bailey <dwayne@translate.org.za>.
2005-09-24[BZ #493]Ulrich Drepper2-5/+9
* locales/xh_ZA: Updates and corrections. Patch by Dwayne Bailey <dwayne@translate.org.za>.
2005-09-24[BZ #488]Ulrich Drepper1-0/+4
* locales/zu_ZA: Updates and corrections. Patch by Dwayne Bailey <dwayne@translate.org.za>.
2005-09-24[BZ #484]Ulrich Drepper1-0/+4
* locales/af_ZA: Updates and corrections. Patch by Dwayne Bailey <dwayne@translate.org.za>.
2005-09-24[BZ #1347]Ulrich Drepper4-12/+157
2005-09-24 Ulrich Drepper <drepper@redhat.com> * SUPPORTED (SUPPORTED-LOCALES): Add be_BY@latin. [BZ #1347] * locales/be_BY@latin: New file.
2005-09-23[BZ #704]Ulrich Drepper5-1/+194
* locale/iso-4217.def: Replace MGF with MGA.
2005-09-23[BZ #395]Ulrich Drepper3-9/+33
* iconvdata/jis0208.c (__jisx0208_from_ucs4_lat1): Reduce size of array. * iconvdata/jis0208.h (ucs4_to_jisx0208): Adjust access. 2004-08-13 GOTO Masanori <gotom@debian.or.jp> [BZ #395] * iconvdata/jis0208.c: Remove 0x005C mapping from __jisx0208_from_ucs4_lat1. Reported by Fumitoshi UKAI <ukai@debian.or.jp> 2005-09-23 Ulrich Drepper <drepper@redhat.com>
2005-09-23[BZ #394]Ulrich Drepper3-3/+18
2005-09-23 Ulrich Drepper <drepper@redhat.com> [BZ #394] * libio/fmemopen.c (fmemopen_write): Return 0 instead of -1 if nothing can be written. * libio/iofopncook.c (_IO_cookie_write): If something went wrong, set error bit.
2005-09-23[BZ #281]Ulrich Drepper6-9/+18
* posix/regex.h: Define RE_TRANSLATE_TYPE as unsigned char *. * posix/regcomp.c: Remove unnecessary uses of unsigned RE_TRANSLATE_TYPE. * posix/regex_internal.h: Likewise. * posix/regex_internal.c: Likewise. * posix/regexexec.c: Likewise. Based on a patch by Stepan Kasal <kasal@ucw.cz>.
2005-09-22[BZ #1035]Ulrich Drepper2-1/+4
* locale/iso-4217.def: Replace TRL entry with TRY for new Turkish Lira.
2005-09-22[BZ #1363]Ulrich Drepper1-0/+6
2005-09-22 Ulrich Drepper <drepper@redhat.com> [BZ #1363] * nscd/nscd_getpw_r.c (nscd_getpw_r): Remove incorrectly C&Ped free call in code handling detection of GC runs.
2005-09-22(nscd_getpw_r): Remove incorrectly C&Ped free call in code handling ↵Ulrich Drepper1-2/+0
detection of GC runs.
2005-09-22* elf/dl-tsd.c (__libc_dl_error_tsd): Use attribute_tls_model_ie forRoland McGrath4-3/+17
static __thread variable. From Alexandre Oliva <aoliva@redhat.com>
2005-09-22* Makefile ($(objpfx)c++-types-check.out): Use $<, not $^, in command.Roland McGrath2-1/+6
Reported by Alexandre Oliva <aoliva@redhat.com>.
2005-09-20* nscd/dbg_log.c (init_logfile): Use fopen64 rather than fopen.Roland McGrath2-1/+5
2005-09-20[BZ #1346]Roland McGrath2-2/+11
2005-09-20 Roland McGrath <roland@redhat.com> * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use execv, not execl. [BZ #1346] * elf/dl-load.c (_dl_map_object_from_fd) [HAVE_Z_RELRO]: Do relro magic on __stack_prot only if [SHARED]. Skip mprotect if __stack_prot lies outside the page-rounded-down relro region.
2005-09-20[BZ #1346]Roland McGrath1-9/+23
2005-09-20 Roland McGrath <roland@redhat.com> [BZ #1346] * elf/dl-load.c (_dl_map_object_from_fd) [HAVE_Z_RELRO]: Do relro magic on __stack_prot only if [SHARED]. Skip mprotect if __stack_prot lies outside the page-rounded-down relro region.
2005-09-20 [BZ #1358] * sysdeps/unix/alpha/sysdep.h (inline_syscall1): ↵Richard Henderson2-21/+52
Copy argument(s) to a temporary first. (inline_syscall2, inline_syscall3, inline_syscall4): Likewise. (inline_syscall5, inline_syscall6): Likewise. 2005-09-19 Richard Henderson <rth@redhat.com> [BZ #1358] * sysdeps/unix/alpha/sysdep.h (inline_syscall1): Copy argument(s) to a temporary first. (inline_syscall2, inline_syscall3, inline_syscall4): Likewise. (inline_syscall5, inline_syscall6): Likewise. * sysdeps/alpha/ldiv.S (lldiv): Add alias.
2005-09-20 * sysdeps/alpha/ldiv.S (lldiv): Add alias.Richard Henderson1-0/+2
2005-09-17[BZ #1010]Ulrich Drepper2-2/+7
* sysdeps/unix/sockatmark.c (sockatmark): Use SIOCATMARK correctly.
2005-09-17[BZ #1053]Ulrich Drepper2-1/+5
* debug/xtrace.sh: Add missing escape character in -? match. Patch by Peter Breitenlohner <peb@mppmu.mpg.de>.
2005-09-17[BZ #1051]Ulrich Drepper1-0/+10
2005-09-17 Ulrich Drepper <drepper@redhat.com> [BZ #1051] * wctype/wctype.h: Remove stray __END_NAMESPACE_C99. * stdlib/stdlib.h: Use __END_NAMESPACE_STD instead of __END_NAMESPACE_C99 in one place. * scripts/begin-end-check.pl: New file. Patch by Ralph Loader <suckfish@ihug.co.nz>. * Makefile: Add rules to run scripts/begin-end-check.pl.
2005-09-17* timezone/zdump.c: Include ctype.h.Andreas Jaeger2-0/+5
2005-09-17 Andreas Jaeger <aj@suse.de> * timezone/zdump.c: Include ctype.h.
2005-09-17Add rules to run scripts/begin-end-check.pl.Ulrich Drepper3-3/+99
2005-09-17Use __END_NAMESPACE_STD instead of __END_NAMESPACE_C99 in one place.Ulrich Drepper1-1/+1
2005-09-16[BZ #1047] Andreas Jaeger2-0/+6
* sysdeps/unix/sysv/linux/mips/getpagesize.c: New file. 2005-09-16 Andreas Jaeger <aj@suse.de> [BZ #1047] * sysdeps/unix/sysv/linux/mips/getpagesize.c: New file.
2005-09-16[BZ #933]Andreas Jaeger4-19/+40
2005-09-16 Maciej W. Rozycki <macro@linux-mips.org> [BZ #933] * sysdeps/unix/sysv/linux/mips/brk.c (__brk): Load the number of the syscall immediately before invocation. * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl): Likewise. * sysdeps/unix/sysv/linux/mips/mips64/syscall.S (syscall): Likewise. * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl): Use macros to handle GP. * sysdeps/unix/sysv/linux/mips/mips64/syscall.S (syscall): Likewise. Update inaccurate comments. 2005-09-16 Maciej W. Rozycki <macro@linux-mips.org> [BZ #933] * sysdeps/unix/sysv/linux/mips/brk.c (__brk): Load the number of the syscall immediately before invocation. * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl): Likewise. * sysdeps/unix/sysv/linux/mips/mips64/syscall.S (syscall): Likewise. * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl): Use macros to handle GP. * sysdeps/unix/sysv/linux/mips/mips64/syscall.S (syscall): Likewise. Update inaccurate comments.
2005-09-13* sysdeps/posix/spawni.c (__spawni): Automatically recognize someUlrich Drepper1-0/+5
more cases when we can use vfork.
2005-09-13(__spawni): Automatically recognize some more cases when we can use vfork.Ulrich Drepper1-2/+10
2005-09-13[BZ #1261]Roland McGrath2-2/+8
2005-08-29 Thomas Schwinge <schwinge@nic-nac-project.de> [BZ #1261] * manual/memory.texi (Hooks for Malloc): Correct prototype of my_init_hook and definition of my_free_hook.
2005-09-12[BZ #1331]Roland McGrath1-0/+7
2005-09-12 Roland McGrath <roland@redhat.com> [BZ #1331] * malloc/obstack.h [!__STDC__] (obstack_int_grow_fast): Fix misnamed macro argument. Reported by Matej Vela <vela@debian.org>.
2005-09-12[BZ #1331]Roland McGrath1-2/+3
2005-09-12 Roland McGrath <roland@redhat.com> [BZ #1331] * malloc/obstack.h [!__STDC__] (obstack_int_grow_fast): Fix misnamed macro argument. Reported by Matej Vela <vela@debian.org>.
2005-09-12* malloc/malloc.c (struct malloc_chunk): Fix comment typo.Ulrich Drepper2-3/+13
(public_cALLOc): For mmapped chunks and perturb_byte != 0, don't clear SIZE_SZ bytes more than should be cleared.
2005-09-10* inet/getnetgrent_r.c: Include assert.cvs/fedora-glibc-20050912T0656Ulrich Drepper6-100/+136
(setup): Remove FUNC_NAME and ALL arguments, assume they are always "setnetgrent" and 1. (endnetgrent_hook): New function. (internal_endnetgrent): Use it. (__internal_setnetgrent_reuse): Use it. Adjust setup caller. If status is NSS_STATUS_SUCCESS, yet action is continue, call endnetgrent hook. (internal_getnetgrent_r): Use __nss_lookup_function rather than setup. Recompute getfct pointer after successful __internal_setnetgrent_reuse. Don't use __nss_next. (innetgr): Use __nss_lookup_function instead of __nss_lookup. Adjust setup caller. * nss/nss_files/files-netgrp.c (_nss_files_endnetgrent): Always clear data_size and cursor. Add libnss_files_hidden_proto and libnss_files_hidden_def. (_nss_files_setnetgrent): Call _nss_files_endnetgrent on failure. * nis/nss_nis/nis-netgrp.c (internal_endnetgrent): Always clear data_size and cursor. (_nss_nis_setnetgrent): Don't call internal_endnetgrent. (_nss_nis_getnetgrent_r): Remove result->cursor == NULL handling. * nis/nss_nisplus/nisplus-netgrp.c (internal_endnetgrent): Always clear data_size and position. (_nss_nisplus_setnetgrent): Don't call internal_endnetgrent. 2005-09-09 Ulrich Drepper <drepper@redhat.com> * nss/getent.c (netgroup_keys): Call endnetgrent. (main): Call mtrace. * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): We don't need locking for the stream. Use feof_unlocked. 2005-09-09 Jakub Jelinek <jakub@redhat.com>
2005-09-09[BZ #1318]Ulrich Drepper1-0/+7
2005-09-09 Jakub Jelinek <jakub@redhat.com> [BZ #1318] * locale/loadarchive.c (_nl_load_locale_from_archive): Free normalized_codeset even if p was already normalized. Reported by Jaroslav Snajdr <jsnajdr@kerio.com>.
2005-09-09(_nl_load_locale_from_archive): Free normalized_codeset even if p was ↵Ulrich Drepper1-2/+2
already normalized.
2005-09-08* sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Decode DSOCAPSRoland McGrath1-0/+5
properly, first byte is bit number in mask. Skip disabled caps.
2005-09-082005-09-08 Roland McGrath <roland@redhat.com>Roland McGrath1-8/+17
* sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Decode DSOCAPS properly, first byte is bit number in mask. Skip disabled caps.
2005-09-08* sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (FUTEX_WAKE_OP,Ulrich Drepper4-14/+91
FUTEX_OP_CLEAR_WAKE_IF_GT_ONE): Define. (lll_futex_wake_unlock): Define. * sysdeps/unix/sysv/linux/alpha/lowlevellock.h (FUTEX_WAKE_OP, FUTEX_OP_CLEAR_WAKE_IF_GT_ONE): Define. (lll_futex_wake_unlock): Define. * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (FUTEX_WAKE_OP, FUTEX_OP_CLEAR_WAKE_IF_GT_ONE): Define. (lll_futex_wake_unlock): Define. * sysdeps/unix/sysv/linux/s390/lowlevellock.h (FUTEX_WAKE_OP, FUTEX_OP_CLEAR_WAKE_IF_GT_ONE): Define. (lll_futex_wake_unlock): Define. * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (FUTEX_WAKE_OP, FUTEX_OP_CLEAR_WAKE_IF_GT_ONE): Define. (lll_futex_wake_unlock): Define. * sysdeps/pthread/pthread_cond_signal.c (__pthread_cond_signal): Use lll_futex_wake_unlock. * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S (FUTEX_WAKE_OP, FUTEX_OP_CLEAR_WAKE_IF_GT_ONE): Define. (__pthread_cond_signal): Use FUTEX_WAKE_OP. * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S (FUTEX_WAKE_OP, FUTEX_OP_CLEAR_WAKE_IF_GT_ONE): Define. (__pthread_cond_signal): Use FUTEX_WAKE_OP.
2005-09-08(FUTEX_WAKE_OP, FUTEX_OP_CLEAR_WAKE_IF_GT_ONE): Define. ↵Ulrich Drepper5-0/+80
(lll_futex_wake_unlock): Define.
2005-09-08[BZ #1033, BZ #1061]Roland McGrath2-20/+65
2005-07-11 Derek R. Price <derek@ximbiot.com> [BZ #1061] * sysdeps/generic/glob.c (glob): Only a 0 return from getlogin_r means success, according to POSIX 1003.2. 2005-06-23 Paul Eggert <eggert@cs.ucla.edu> [BZ #1033] * time/mktime.c: Import from gnulib. The following macros are now consistent with other gnulib code. This does not change mktime's behavior. (TYPE_IS_INTEGER): New macro. (time_t_is_integer): Use it. (TYPE_TWOS_COMPLEMENT): New macro. (twos_complement_arithmetic): Use it. (TYPE_ONES_COMPLEMENT): New macro. (TYPE_MINIMUM, TYPE_MAXIMUM): Now supports signed-magnitude. mktime doesn't use this, but the code now matches other gnulib code. (ranged_convert): Pacify GCC 4.0 in a different way, which generates a few bytes less code. (ranged_convert, __mktime_internal): When calling a function via a pointer P, use P () rather than (*P) (), as we now assume C89 or better.
2005-09-08[BZ #1061]Roland McGrath1-2/+2
2005-07-11 Derek R. Price <derek@ximbiot.com> [BZ #1061] * sysdeps/generic/glob.c (glob): Only a 0 return from getlogin_r means success, according to POSIX 1003.2.
2005-09-07* timezone/test-tz.c: Update to match tzdata2005m.Ulrich Drepper3-4/+9
* timezone/tst-timezone.c: Likewise.
2005-09-07(update_cur_sifted_state): Likewise.Ulrich Drepper3-71/+117
(re_search_internal): Likewise. (prune_impossible_nodes): Likewise. (acquire_init_state_context): Likewise. (proceed_next_node): Likewise. (set_regs): Likewise. (free_fail_stack_return): Likewise. (check_subexp_limits): Likewise. (sub_epsilon_src_nodes): Likewise. (add_epsilon_src_nodes): Likewise. (merge_state_array): Likewise. (update_regs): Likewise. (build_trtable): Likewise. (sift_states_backward): Mark MCTX parameter as const. (build_sifted_states): Likewise. (update_cur_sifted_state): Likewise. (sift_states_mkref): Likewise. (check_dst_limits_calc_pos_1): Likewise. * posix/regex_internal.h (re_match_context_t): Make dfa a const pointer.
2005-09-07(transit_state_bkref): Make DFA a const pointer.Ulrich Drepper2-13/+20
(get_subexp): Likewise. (check_arrival): Likewise. (check_arrival_expand_ecl): Mark DFA parameter as const. (check_arrival_expand_ecl_sub): Likewise. (check_arrival_expand_ecl): Mark eclosure as const.
2005-09-07* posix/regexec.c (find_recover_state): Remove unnecessaryUlrich Drepper2-1/+6
initialization.
2005-09-07* timezone/africa: Update from tzdata2005m.Ulrich Drepper10-163/+331
* timezone/asia: Likewise. * timezone/australasia: Likewise. * timezone/backward: Likewise. * timezone/europe: Likewise. * timezone/northamerica: Likewise. * timezone/southamerica: Likewise. * timezone/zone.tab: Likewise. * timezone/zdump.c: Update from tzcode2005m.
2005-09-07* posix/regexec.c (merge_state_with_log): Define dfa as const pointer.Ulrich Drepper2-9/+21
(transit_state_sb): Likewise. (transit_state_mb): Likewise. (sift_states_iter_mb): Likewise. (check_arrival_add_next_nodes): Likewise. (check_node_accept_bytes): Change first parameter to pointer-to-const. [_LIBC] (re_search_2_stub): Use mempcpy.
2005-09-07* posix/regex_internal.c (re_string_reconstruct): Avoid callingUlrich Drepper5-110/+212
mbrtowc for very simple UTF-8 case. 2005-09-01 Paul Eggert <eggert@cs.ucla.edu> * posix/regex_internal.c (build_wcs_upper_buffer): Fix portability bugs in int versus size_t comparisons. 2005-09-06 Ulrich Drepper <drepper@redhat.com> * posix/regex_internal.c (re_acquire_state): Make DFA pointer arg a pointer-to-const. (re_acquire_state_context): Likewise. * posix/regex_internal.h: Adjust prototypes. 2005-08-31 Jim Meyering <jim@meyering.net> * posix/regcomp.c (search_duplicated_node): Make first pointer arg a pointer-to-const. * posix/regex_internal.c (create_ci_newstate, create_cd_newstate, register_state): Likewise. * posix/regexec.c (search_cur_bkref_entry, check_dst_limits): (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos): (group_nodes_into_DFAstates): Likewise. * posix/regexec.c (re_search_internal): Simplify update of rm_so and rm_eo by replacing "if (A == B) A += C - B;" with the equivalent of "if (A == B) A = C;". 2005-09-06 Ulrich Drepper <drepper@redhat.com> * posix/regcomp.c (re_compile_internal): Change third parameter type to size_t. (init_dfa): Likewise. Make sure that arithmetic on pat_len doesn't overflow. * posix/regex_internal.h (struct re_dfa_t): Change type of nodes_alloc and nodes_len to size_t. * posix/regex_internal.c (re_dfa_add_node): Use size_t as type for new_nodes_alloc. Check for overflow. 2005-08-31 Paul Eggert <eggert@cs.ucla.edu> * posix/regcomp.c (re_compile_fastmap_iter, init_dfa, init_word_char): (optimize_subexps, lower_subexp): Don't assume 1<<31 has defined behavior on hosts with 32-bit int, since the signed shift might overflow. Use 1u<<31 instead. * posix/regex_internal.h (bitset_set, bitset_clear, bitset_contain): Likewise. * posix/regexec.c (check_dst_limits_calc_pos_1): Likewise. (check_subexp_matching_top): Likewise. * posix/regcomp.c (optimize_subexps, lower_subexp): Use CHAR_BIT rather than 8, for clarity. * posix/regexec.c (check_dst_limits_calc_pos_1): (check_subexp_matching_top): Likewise. * posix/regcomp.c (init_dfa): Make table_size unsigned, so that we don't have to worry about portability issues when shifting it left. Remove no-longer-needed test for table_size > 0. * posix/regcomp.c (parse_sub_exp): Do not shift more bits than there are in a word, as the resulting behavior is undefined. * posix/regexec.c (check_dst_limits_calc_pos_1): Likewise; in one case, a <= should have been an <, and in another case the whole test was missing. * posix/regex_internal.h (BYTE_BITS): Remove. All uses changed to the standard name CHAR_BIT.