summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
* [BZ #1302]Ulrich Drepper2005-09-284-130/+173
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-09-06 Paul Eggert <eggert@cs.ucla.edu> Ulrich Drepper <drepper@redhat.com> [BZ #1302] Change bitset word type from unsigned int to unsigned long int, as this has better performance on typical 64-bit hosts. Change bitset type name to bitset_t. * posix/regcomp.c (build_equiv_class, build_charclass): (build_range_exp, build_collating_symbol): Prefer bitset_t to re_bitset_ptr_t in prototypes, when the actual argument is a bitset. This is merely a style issue, but it makes it clearer that an entire array is expected. (re_compile_fastmap_iter, init_dfa, init_word_char, optimize_subexps, lower_subexp): Adjust for new bitset_t definition. (lower_subexp, parse_bracket_exp, built_charclass_op): Likewise. * posix/regex_internal.h (bitset_set, bitset_clear, bitset_contain, bitset_not, bitset_merge, bitset_set_all, bitset_mask): Likewise. * posix/regexec.c (check_dst_limits_calc_pos_1, check_subexp_matching_top, build_trtable, group_nodes_into_DFAstates): Likewise. * posix/regcomp.c (utf8_sb_map): Don't assume initializer == 0xffffffff. * posix/regex_internal.h (BITSET_WORD_BITS): Renamed from UINT_BITS. All uses changed. (BITSET_WORDS): Renamed from BITSET_UINTS. All uses changed. (bitset_word_t): New type, replacing 'unsigned int' for bitset uses. All uses changed. (BITSET_WORD_MAX): New macro. (bitset_set, bitset_clear, bitset_contain, bitset_empty, (bitset_set_all, bitset_copy): Adjust for bitset_t change. (bitset_empty, bitset_copy): Prefer sizeof (bitset_t) to multiplying it out ourselves. (bitset_not_merge): Remove; unused. (bitset_contain): Return bool, not unsigned int with one bit on. All callers changed. * posix/regexec.c (build_trtable): Don't assume bitset_t has no stricter alignment than re_node_set; do this by defining a new internal type struct dests_alloc and using it to allocate memory.
* [BZ #1230]Ulrich Drepper2005-09-285-6/+65
| | | | | | | | | 2005-09-27 Ulrich Drepper <drepper@redhat.com> [BZ #1230] * stdlib/strtod_l.c (STRNCASECMP): Always use C locale object. (TOLOWER_C): Define. Use it when recognizing inf and nan. * stdlib/Makefile (tests): Add bug-strtod2. * stdlib/bug-strtod2.c: New file.
* * dlfcn/bug-atexit1.c: New file.Ulrich Drepper2005-09-281-4/+4
| | | | | | * dlfcn/bug-atexit1-lib.c: New file. * dlfcn/bug-atexit2.c: New file. * dlfcn/bug-atexit2-lib.c: New file.
* [BZ #1158]Ulrich Drepper2005-09-286-4/+490
| | | | | | | | | | | * stdlib/cxa_atexit.c (__new_exitfn): Rewrite to preserve order in which the functions were registered. * dlfcn/Makefile: Add rules to build and run bug-atexit1 and bug-atexit2. * dlfcn/bug-atext1.c: New file. * dlfcn/bug-atext1-lib.c: New file. * dlfcn/bug-atext2.c: New file. * dlfcn/bug-atext2-lib.c: New file.
* (__new_exitfn): Rewrite to preserve order in which the functions were ↵Ulrich Drepper2005-09-281-22/+39
| | | | registered.
* [BZ #1361]Roland McGrath2005-09-271-0/+1
| | | | [BZ #1361]
* * argp/argp-fmtstream.h [HAVE_CONFIG_H]: Do not #include <config.h>.Roland McGrath2005-09-271-0/+6
| | | | | * argp/argp-eexst.c, argp/argp-fmtstream.c, argp/argp-fs-xinl.c, argp/argp-xinl.c: Fix up whitespace.
* 2005-09-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>Roland McGrath2005-09-275-8/+4
| | | | | | * argp/argp-fmtstream.h [HAVE_CONFIG_H]: Do not #include <config.h>. * argp/argp-eexst.c, argp/argp-fmtstream.c, argp/argp-fs-xinl.c, argp/argp-xinl.c: Fix up whitespace.
* [BZ #1078]Ulrich Drepper2005-09-275-5/+89
| | | | | | | | | | 2005-09-27 Ulrich Drepper <drepper@redhat.com> [BZ #1078] * libio/fileops.c (_IO_new_file_xsputn): Determine amount of available space in non-line-buffered buffer correctly. * libio/oldfileops.c (_IO_old_file_xsputn): Likewise. * stdio-common/Makefile (tests): Add tst-fwrite. * stdio-common/tst-fwrite.c: New file.
* [BZ #838]Ulrich Drepper2005-09-274-2/+81
| | | | | | | | | * malloc/arena.c (ptmalloc_lock_all): If global lock already taken by the same thread, just bump the counter. (ptmalloc_unlock_all): If counter for recursive locks hasn't reached zero, don't do anything else. * malloc/Makefile (tests): Add tst-mallocfork. * malloc/tst-mallocfork.c: New file.
* [BZ #808]Ulrich Drepper2005-09-271-1/+1
|
* [BZ #786]Ulrich Drepper2005-09-272-1/+4
| | | | * malloc/malloc.c (_int_realloc): Make error message clearer.
* [BZ #713]Ulrich Drepper2005-09-278-32/+96
| | | | | | | | | | | 2005-09-26 Ulrich Drepper <drepper@redhat.com> [BZ #713] * libio/iofgets.c: Treat N==1 correctly. * libio/iofgets_u.c: Likewise. * libio/iofgetws.c: Likewise. * libio/iofgetws_u.c: Likewise. * stdio-common/Makefile (tests): Add tst-fgets. * stdio-common/tst-fgets.c: New file.
* [BZ #652]Ulrich Drepper2005-09-262-1/+63
| | | | | | | | 2005-01-11 Thorsten Kukuk <kukuk@suse.de> [BZ #652] * posix/getconf.c: Add new option -a to print the names of the current system configuration variables to stdout. Based on patch from Josh Aas <josha@sgi.com>.
* [BZ #644]Ulrich Drepper2005-09-263-1/+106
| | | | | | | | * sysdeps/posix/getaddrinfo.c (fls): New function. (gaih_inet): Don't use ffs, use fls. Convert address to native byte order first. * posix/Makefile (tests): Add tst-rfc3484. * posix/tst-rfc3484.c: New file.
* (fls): New function. (gaih_inet): Don't use ffs, use fls. Convert address ↵Ulrich Drepper2005-09-261-6/+21
| | | | to native byte order first.
* typoRoland McGrath2005-09-261-1/+1
| | | | * sysdeps/posix/getaddrinfo.c (match_prefix): Fix matching loop if
* * libio/oldiofclose.c (_IO_old_fclose): Likewise.Ulrich Drepper2005-09-262-2/+3
|
* [BZ #627]Ulrich Drepper2005-09-262-2/+6
| | | | | * libio/iofclose.c (_IO_new_fclose): Unlock the internal lock before destroying it as part of the _IO_FINISH call.
* [BZ #524]Ulrich Drepper2005-09-262-1/+6
| | | | | | * sysdeps/posix/getaddrinfo.c (match_prefix): Fix matching loop of number of bits is multiple of 8. Patch by Fredrik Tolf <fredrik@dolda2000.com>.
* [BZ #516]Ulrich Drepper2005-09-262-14/+33
| | | | | * elf/dl-load.c: Report failed loading due to ELF class mismatch with better words.
* [BZ #162]Ulrich Drepper2005-09-262-5/+13
| | | | | | | 2005-09-26 Ulrich Drepper <drepper@redhat.com> [BZ #162] * manual/llio.texi (Waiting for I/O): Correct description of read conditions reported by select.
* * pthread_cond_destroy.c (__pthread_cond_destroy): If there areUlrich Drepper2005-09-252-5/+30
| | | | waiters, awake all waiters on the associated mutex.
* * inet/getnetgrent_r.c (innetgr): Call endfct even if result != 0.Ulrich Drepper2005-09-252-4/+9
| | | | Return 1 only if result == 1. Patch by Benoit Capelle.
* [BZ #278]Ulrich Drepper2005-09-254-10/+14
| | | | | | | | * manual/stdio.texi (Hook Functions): Correct type of position parameter of seeker and fix fallout of the change in the text. * wcsmbs/tst-mbrtowc2.c: New file. * wcsmbs/Makefile (tests): Add tst-mbrtowc2.
* [BZ #714]Ulrich Drepper2005-09-255-5/+1923
| | | | | | | | | 2005-09-25 Ulrich Drepper <drepper@redhat.com> [BZ #714] * iconv/loop.c [!STORE_REST] (SINGLE): Correctly record number of left-over bytes and store them correctly. * iconvdata/tst-iconv6.c: New file. * iconvdata/Makefile (tests): Add tst-iconv6.
* * Makefile (LOCALES): Add zh_TW.EUC-TW.Ulrich Drepper2005-09-254-3/+74
|
* [!STORE_REST] (SINGLE): Correctly record number of left-over bytes and store ↵Ulrich Drepper2005-09-251-1/+5
| | | | them correctly.
* * sysdeps/unix/sysv/i386/signal.S: Removed, saved in ports repository.Roland McGrath2005-09-251-0/+5
| | | | * sysdeps/unix/sysv/i386/sigreturn.S: Likewise.
* 2005-09-24 Roland McGrath <roland@redhat.com>Roland McGrath2005-09-252-58/+0
| | | | | * sysdeps/unix/sysv/i386/signal.S: Removed, saved in ports repository. * sysdeps/unix/sysv/i386/sigreturn.S: Likewise.
* [BZ #668]Ulrich Drepper2005-09-242-25/+31
| | | | * locales/yi_US: Spelling fixes.
* [BZ #667]Ulrich Drepper2005-09-242-16/+19
| | | | * locales/wa_BE: Fixed weekday names to match new orthographic rules.
* [BZ #666]Ulrich Drepper2005-09-242-7/+11
| | | | * locales/tg_TJ: Correct yesexpr.
* [BZ #665]Ulrich Drepper2005-09-242-2/+146
| | | | * locales/sq_AL: Add language specific collation.
* [BZ #663]Ulrich Drepper2005-09-242-7/+14
| | | | * locales/bs_BA: Don't comment out reorder-after. Fix tel_int_fmt.
* [BZ #662]Ulrich Drepper2005-09-242-19/+32
| | | | | * locales/az_AZ: Fix the day and month names. Add transliteration for schwa character.
* [BZ #545]Ulrich Drepper2005-09-243-59/+65
| | | | * locale/iso-639.def: More updates from the current spec.
* [BZ #588]Ulrich Drepper2005-09-242-7/+26
| | | | | * locales/el_GR: Change to use 12h time format. Patch by Konstantinos Margaritis <markos@debian.org>.
* [BZ #566]Ulrich Drepper2005-09-244-57/+2291
| | | | | | * SUPPORTED (SUPPORTED-LOCALES): Add hsb_DE and hsb_DE.UTF-8. [BZ #566] * locales/hsb_DE: New file.
* * locale/programs/ld-address.c (address_finish): Produce betterUlrich Drepper2005-09-245-4/+19
| | | | error messages for invalid lang_ab use.
* * locale/iso-639.def: Add a few updates from current spec.Ulrich Drepper2005-09-243-12/+20
|
* [BZ #520]Ulrich Drepper2005-09-243-0/+209
| | | | | | * SUPPORTED (SUPPORTED-LOCALES): Add ky_KG. [BZ #520] * locales/ky_KG: New file.
* [BZ #495]Ulrich Drepper2005-09-245-124/+335
| | | | | * locales/st_ZA: Updates and corrections. Patch by Dwayne Bailey <dwayne@translate.org.za>.
* [BZ #493]Ulrich Drepper2005-09-242-5/+9
| | | | | * locales/xh_ZA: Updates and corrections. Patch by Dwayne Bailey <dwayne@translate.org.za>.
* [BZ #488]Ulrich Drepper2005-09-241-0/+4
| | | | | * locales/zu_ZA: Updates and corrections. Patch by Dwayne Bailey <dwayne@translate.org.za>.
* [BZ #484]Ulrich Drepper2005-09-241-0/+4
| | | | | * locales/af_ZA: Updates and corrections. Patch by Dwayne Bailey <dwayne@translate.org.za>.
* [BZ #1347]Ulrich Drepper2005-09-244-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.
* [BZ #704]Ulrich Drepper2005-09-235-1/+194
| | | | * locale/iso-4217.def: Replace MGF with MGA.
* [BZ #395]Ulrich Drepper2005-09-233-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>
* [BZ #394]Ulrich Drepper2005-09-233-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.