about summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
* Update.Ulrich Drepper2003-11-186-124/+347
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * posix/regex_internal.h (re_token_type_t): Remove unused ALT, END_OF_RE_TOKEN_T and SUBEXP. Reorder values. Add OP_UTF8_PERIOD and EPSILON_BIT. (IS_EPSILON_NODE): Just test if EPSILON_BIT is set. (ACCEPT_MB_NODE): Return 1 for OP_UTF8_PERIOD as well. * posix/regex_internal.c (create_ci_newstate, create_cd_newstate): Handle OP_UTF8_PERIOD. (re_string_reconstruct): Set valid_len for single byte char searching with no translation and case sensitivity. * posix/regcomp.c (re_compile_fastmap_iter, calc_first): Handle OP_UTF8_PERIOD. (re_compile_internal): Don't call optimize_utf8 if preg->translate != NULL. (optimize_utf8): Remove BACK_SLASH case. Transform OP_PERIOD into OP_UTF8_PERIOD if the searching can be optimized. (parse_bracket_exp): Don't create SIMPLE_BRACKET if it doesn't have any bits set and COMPLEX_BRACKET is used. * posix/regexec.c (transit_state_mb): Fix comment typo. (group_nodes_into_DFAstates, check_node_accept): Handle OP_UTF8_PERIOD. (check_node_accept_bytes): Likewise. Reorder slightly so that re_string_char_size_at and re_string_elem_size_at are called only when needed. * posix/bug-regex20.c (BRE, ERE): Define. (tests): Use them to make lines shorter. Expect . to be optimized. Add lots of new tests. (main): Run (ATM just case sensitive) test with backwards searching as well. 2003-11-18 Jakub Jelinek <jakub@redhat.com>
* Update.Ulrich Drepper2003-11-183-1/+6
| | | | | | | 2003-11-18 Jakub Jelinek <jakub@redhat.com> * io/bug-ftw4.c: Include string.h. * posix/fnmatch.c (mbsinit): Remove define.
* Update.Ulrich Drepper2003-11-1810-11/+212
| | | | | | | | | | | | | | | | | | | | | | | | | 2003-11-17 Jakub Jelinek <jakub@redhat.com> * posix/regcomp.c (optimize_utf8): Optimize multi-byte chars as well. * posix/bug-regex20.c (tests): Add new tests. Multi-byte char followed by dup operator is expected to be optimized. * posix/regexec.c (check_node_accept_bytes): Move nrules and j variables to the block where they are only used, initialize nrules only immediately before using it. 2003-11-15 Andreas Jaeger <aj@suse.de> * sysdeps/x86_64/fpu/s_scalbnl.S: New file. * sysdeps/x86_64/fpu/s_truncl.S: New file. * sysdeps/x86_64/fpu/s_nearbyintl.S: New file. * sysdeps/x86_64/fpu/s_floorl.S: New file. * sysdeps/x86_64/fpu/s_ilogbl.S: New file. * sysdeps/x86_64/fpu/e_remainderl.S: New file. * math/libm-test.inc (floor_test): Test also ±0.25. (ceil_test): Test -0.25.
* Update.Ulrich Drepper2003-11-183-9/+414
| | | | | | | 2003-11-17 Ulrich Drepper <drepper@redhat.com> * sysdeps/posix/getaddrinfo.c: Add support for destination address selection according to RFC 3484.
* Update.Ulrich Drepper2003-11-172-0/+7
| | | | | | | 2003-11-17 Ulrich Drepper <drepper@redhat.com> * sysdeps/pthread/configure.in: Make missing forced unwind support fatal.
* Update.Ulrich Drepper2003-11-1613-86/+200
| | | | | | | | | | | | | | | | | | | | | | | | | * posix/regex_internal.h: Add forward declaration of re_dfa_t. Replace last two parameters of re_string_allocate and re_string_construct with pointer to DFA. (re_dfa_t): Add map_notascii field. * posix/regcomp.c (re_compile_internal): Add call of re_string_construct. (init_dfa): Initialize mpa_notascii. * posix/regex_internal.c: Adjust definitions of re_string_allocate and re_string_construct. Pass DFA to re_string_construct. Adjust definition. Initialize map_notascii field. (build_wcs_upper_buffer): If map_notascii is zero use simplfied method to map ASCII values to upper case. * posix/regex.c: Include localeinfo.h. * posix/regexec.c: Adjust call of re_string_allocate. * locale/langinfo.h: Add _NL_CTYPE_MAP_TO_NONASCII. * locale/localeinfo.h (LIMAGIC): Change value. * locale/categories.def. Add entry for _NL_CTYPE_MAP_TO_NONASCII. * locale/C-ctype.h: Likewise. * locale/programs/ld-ctype.c: Compute whether any mapping maps from ASCII to non-ASCII value. Write out that value.
* Update.Ulrich Drepper2003-11-153-1/+16
| | | | | | | 2003-11-15 Ulrich Drepper <drepper@redhat.com> * wcsmbs/mbsinit.c: Undef mbsinit and __mbsinit. * include/wchar.h: Provide inline versions of mbsinit and __mbsinit.
* Update.Ulrich Drepper2003-11-142-2/+8
| | | | | | | | 2003-11-14 Jakub Jelinek <jakub@redhat.com> * posix/tst-rxspencer.c (check_match): @ without any following characters must match only end of string. (main): Fix filename in error message.
* Update.Ulrich Drepper2003-11-142-1/+6
| | | | | | | 2003-11-12 David Mosberger <davidm@hpl.hp.com> * sysdeps/ia64/dl-machine.h: Force inlining of elf_machine_runtime_setup().
* Update.Ulrich Drepper2003-11-143-6/+18
| | | | | | | | | | | | | 2003-11-13 Andreas Jaeger <aj@suse.de> * math/Makefile (CFLAGS-test-float.c): Add -fno-builtin. (CFLAGS-test-double.c): Likewise. (CFLAGS-test-ldouble.c): Likewise. (CPPFLAGS-test-ifloat.c): Likewise. (CPPFLAGS-test-idouble.c): Likewise. (CPPFLAGS-test-ildoubl.c): Likewise. * math/libm-test.inc (ceil_test): Test ceil (0.25).
* Update.Ulrich Drepper2003-11-135-5/+14
| | | | | | | | 2003-11-04 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/ifaddrs.c: Make sure it's the kernel who sends the netlink data. * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
* Update.Ulrich Drepper2003-11-133-5/+55
| | | | | | | | | | 2003-11-13 Jakub Jelinek <jakub@redhat.com> * posix/regcomp.c (optimize_utf8): Optimize even if SIMPLE_BRACKET with no bits set for >= 0x80 chars is seen. * posix/bug-regex20.c (tests): Add new tests. Expect [ABC] to be optimized. (main): Run all tests with RE_ICASE as well.
* Update.Ulrich Drepper2003-11-135-2/+1051
| | | | | | | | | * posix/Makefile: Add rules to build and run tst-rxspencer. (distribute): Add rxspencer/tests and rxspencer/COPYRIGHT. * posix/tst-rxspencer.c: New file. * posix/rxspencer/tests: New file. * posix/rxspencer/COPYRIGHT: New file. Patch mostly by Jakub Jelinek.
* Update.Ulrich Drepper2003-11-133-26/+59
| | | | | | | | | | | | | | * posix/regcomp.c (parse_bracket_exp): Don't check for range if this is no option given the first token. * posix/regcomp.c (parse_bracket_exp): Fix test for EOS after hyphen in range expression. Return EBRACK in this case. * posix/regcomp.c (parse_bracket_element): Reject hyphens unless we expect them or it's the last element in the bracket expression. Indicated by new parameter. Adjust all callers. Prettier error messages.
* Update.Ulrich Drepper2003-11-132-0/+5
| | | | * posix/runtests.c (run_a_test): If regcomp failed, reset last_pattern.
* Update.Ulrich Drepper2003-11-131-0/+5
| | | | | | | 2003-11-13 Ulrich Drepper <drepper@redhat.com> * posix/regcomp.c (parse_dup_op): Fail with REG_BADBR is first number in {,} expression is larger.
* (parse_dup_op): Fail with REG_BADBR is first number in {,} expression is larger.Ulrich Drepper2003-11-131-0/+6
|
* Update.Andreas Jaeger2003-11-132-4/+2
|
* Update.Andreas Jaeger2003-11-132-0/+41
| | | | | | | | | | | | 2003-11-13 Andreas Jaeger <aj@suse.de> * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL): Define appropriately for x86_64. (__ASSUME_UTIMES): Likewise. (__ASSUME_FADVISE64_64_SYSCALL): Likewise. (__ASSUME_CLONE_THREAD_FLAGS): Likewise. * sysdeps/x86_64/fpu/s_ceill.S: New file.
* * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL): Andreas Jaeger2003-11-131-8/+15
| | | | | | | Define appropriately for x86_64. (__ASSUME_UTIMES): Likewise. (__ASSUME_FADVISE64_64_SYSCALL): Likewise. (__ASSUME_CLONE_THREAD_FLAGS): Likewise.
* Update.Ulrich Drepper2003-11-132-0/+13
| | | | | | | 2003-11-13 Ulrich Drepper <drepper@redhat.com> * posix/regcomp.c (parse_expression): In BRE consecutive duplications are not allowed.
* Update.Ulrich Drepper2003-11-132-1/+4
| | | | | * posix/regcomp.c (parse_bracket_exp): If end of expression is seen, return EBRACK error, not BADPAT.
* Update.Ulrich Drepper2003-11-133-4/+22
| | | | | | | | | | * posix/regcomp.c (parse_expression): If token is OP_OPEN_DUP_NUM and RE_CONTEXT_INVALID_DUP syntax flag is set, fail. * posix/regex.h (RE_CONTEXT_INVALUD_OPS): New macro. (RE_SYNTAX_POSIX_BASIC): Use RE_CONTEXT_INVALUD_OPS. * posix/regcomp.c (parse_sub_exp): In case of not-matching ( ) return REG_EPAREN.
* Update.Ulrich Drepper2003-11-135-34/+91
| | | | | | | | 2003-11-12 Ulrich Drepper <drepper@redhat.com> * posix/PTESTS: Cleanup. Fix typoes. Correct bugs in 2003.2. * posix/runptests.c (main): Handle comments. * posix/PTESTS2C.sed: Handle comments.
* Update.Ulrich Drepper2003-11-125-4/+223
| | | | | | | | | | | | | | | * posix/regcomp.c (optimize_utf8): New function. (re_compile_fastmap_iter): Use dfa->mb_cur_max > 1 instead of !icase. (re_compile_internal): Call optimize_utf8 if not case insensitive and in UTF-8 locale. * posix/regex_internal.h: Ifdef out some prototypes if RE_NO_INTERNAL_PROTOTYPES is defined to shut up warnings. * posix/Makefile (tests): Add bug-regex20. (bug-regex20-ENV): Add LOCPATH. * posix/bug-regex20.c: New test. 2003-11-12 Jakub Jelinek <jakub@redhat.com>
* Update.Ulrich Drepper2003-11-129-68/+409
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-11-12 Jakub Jelinek <jakub@redhat.com> * io/ftw.c (NFTW_NEW_NAME, NFTW_OLD_NAME): Add prototypes. 2003-11-12 Jakub Jelinek <jakub@redhat.com> * posix/tst-regex.c (umemlen): New variable. (test_expr): Add expectedicase argument. Test case insensitive searches as well as backwards searches (case sensitive and insensitive) too. (run_test): Add icase argument. Use it to compute regcomp flags. (run_test_backwards): New function. (main): Cast read to size_t to avoid warning. Set umemlen. Add expectedicase arguments to test_expr. * posix/regex_internal.c (re_string_reconstruct): If is_utf8, find previous character by walking back instead of converting all chars from beginning. 2003-11-12 Jakub Jelinek <jakub@redhat.com> * posix/regex_internal.h (struct re_string_t): Add is_utf8 and mb_cur_max fields. (struct re_dfa_t): Likewise. Reorder fields to make structure smaller on 64-bit arches. (re_string_allocate, re_string_construct): Add mb_cur_max and is_utf8 arguments. (re_string_char_size_at, re_string_wchar_at): Use pstr->mb_cur_max instead of MB_CUR_MAX. * posix/regcomp.c (re_compile_fastmap_iter): Use dfa->mb_cur_max instead of MB_CUR_MAX. (re_compile_internal): Pass new arguments to re_string_construct. (init_dfa): Initialize mb_cur_max and is_utf8 fields. (peek_token, peek_token_bracket): Use input->mb_cur_max instead of MB_CUR_MAX. (parse_expression, parse_bracket_exp, parse_charclass_op): Use dfa->mb_cur_max instead of MB_CUR_MAX. * posix/regex_internal.c (re_string_construct_common): Add mb_cur_max and is_utf8 arguments. Initialize fields with them. (re_string_allocate, re_string_construct): Add mb_cur_max and is_utf8 arguments, pass them to re_string_construct_common. Use mb_cur_max instead of MB_CUR_MAX. (re_string_realloc_buffers): Use pstr->mb_cur_max instead of MB_CUR_MAX. (re_string_reconstruct): Likewise. (re_string_context_at): Use input->mb_cur_max instead of MB_CUR_MAX. (create_ci_newstate, create_cd_newstate): Use dfa->mb_cur_max instead of MB_CUR_MAX. * posix/regexec.c (re_search_internal): Likewise. Pass new arguments to re_string_allocate. (check_matching, transit_state_sb): Use dfa->mb_cur_max instead of MB_CUR_MAX. (extend_buffers): Use pstr->mb_cur_max instead of MB_CUR_MAX. 2003-11-12 Jakub Jelinek <jakub@redhat.com> * posix/Makefile (tests): Add bug-regex19. (bug-regex19-ENV): Add LOCPATH. * posix/bug-regex19.c: New test.
* Update.Ulrich Drepper2003-11-122-1/+97
| | | | | * posix/bug-regex17.c: New file * posix/bug-regex18.c: New file.
* Update.Ulrich Drepper2003-11-128-9/+155
| | | | | | | | | | | | | | | | 2003-11-11 Jakub Jelinek <jakub@redhat.com> * posix/regcomp.c (re_compile_fastmap_iter): Handle RE_ICASE with MB_CUR_MAX > 1 locales in the fastmap. 2003-11-11 Jakub Jelinek <jakub@redhat.com> * posix/regex_internal.c (build_wcs_buffer): Fix comment typo. (build_wcs_upper_buffer): Likewise. Use towupper for wchar_t instead of toupper. * posix/Makefile (tests): Add bug-regex17 and bug-regex18. (bug-regex17-ENV, bug-regex18-ENV): Add LOCPATH. * posix/bug-regex18.c: New test.
* Don't declare __pthread_unwind as weak inside libpthread.Ulrich Drepper2003-11-121-1/+1
|
* * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h (pread, pwrite):Roland McGrath2003-11-122-0/+15
| | | | Define __NR_pread/__NR_pwrite if not done in kernel headers
* * manual/xtract-typefun.awk: Swallow [(){}*] from function names.Roland McGrath2003-11-122-0/+4
|
* * manual/Makefile (info): Don't depend on dir-add.info.Roland McGrath2003-11-121-0/+16
| | | | | | | | | | | | | | | (libc.dvi libc.pdf libc.info): Depend on dir-add.texi. (dir-add.info): Target removed, replaced with ... (dir-add.texi): New target. (distribute): Add it. (install): Remove variant with --section arguments. Let the @dircategory directives do their work. (mostlyclean): Don't remove dir-add.info here. (realclean): Remove dir-add.texi here. * manual/libc.texinfo: @include dir-add.texi * configure.in: Remove check for old Debian install-info. * configure: Regenerated. * config.make.in (OLD_DEBIAN_INSTALL_INFO): Variable removed.
* 2003-11-11 Roland McGrath <roland@redhat.com>Roland McGrath2003-11-125-93/+15
| | | | | | | | | | | | | | | | * manual/Makefile (info): Don't depend on dir-add.info. (libc.dvi libc.pdf libc.info): Depend on dir-add.texi. (dir-add.info): Target removed, replaced with ... (dir-add.texi): New target. (distribute): Add it. (install): Remove variant with --section arguments. Let the @dircategory directives do their work. (mostlyclean): Don't remove dir-add.info here. (realclean): Remove dir-add.texi here. * manual/libc.texinfo: @include dir-add.texi * configure.in: Remove check for old Debian install-info. * configure: Regenerated. * config.make.in (OLD_DEBIAN_INSTALL_INFO): Variable removed.
* Update.Ulrich Drepper2003-11-112-0/+62
| | | | | | 2003-11-08 Andreas Schwab <schwab@suse.de> * scripts/data/c++-types-ia64-linux-gnu.data: New file.
* Update.Ulrich Drepper2003-11-112-2/+11
| | | | | | | | | | | 2003-11-10 Carlos O'Donell <carlos@baldric.uwo.ca> * io/ftwtest-sh: Fix nested sed commands. 2003-11-10 Jakub Jelinek <jakub@redhat.com> * posix/regex_internal.h (re_string_char_size_at): Don't look beyond valid_len wide chars.
* (re_string_char_size_at): Don't look beyond valid_len wide chars.Ulrich Drepper2003-11-111-1/+1
|
* * manual/examples/dir2.c (one): Add const to argument type.Roland McGrath2003-11-101-0/+5
| | | | Reported by J de Haan <j.de.haan@home.nl>.
* 2003-11-09 Roland McGrath <roland@redhat.com>Roland McGrath2003-11-101-1/+1
| | | | | * manual/examples/dir2.c (one): Add const to argument type. Reported by J de Haan <j.de.haan@home.nl>.
* Update.Ulrich Drepper2003-11-086-0/+885
| | | | | | | | | | | | 2003-11-08 Ulrich Drepper <drepper@redhat.com> * locales/ne_NP: New file. * locales/gu_IN: New file. * locales/kn_IN: New file. * locales/pa_IN: New file. Patch by Gnutupalli Karunakar <karunakar@freedomink.org>. * SUPPORTED (SUPPORTED-LOCALES): Add ne_NP, gu_IN, kn_IN, and pa_IN.
* Update.Ulrich Drepper2003-11-082-3389/+4751
| | | | | | 2003-11-07 Ulrich Drepper <drepper@redhat.com> * po/pl.po: Update from translation team.
* Update.Ulrich Drepper2003-11-078-30/+260
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-11-07 Jakub Jelinek <jakub@redhat.com> * io/ftw.c (NFTW_OLD_NAME, NFTW_NEW_NAME): Define. (ftw_dir, ftw_startup): Add __attribute ((noinline)). (NFTW_OLD_NAME, NFTW_NEW_NAME): New functions. (NFTW_NAME): Only define if !_LIBC, add versioned_symbol and compat_symbol. * io/ftw64.c (NFTW_OLD_NAME, NFTW_NEW_NAME): Define. * io/Versions (libc): Export nftw@@GLIBC_2.3.3 and nftw64@@GLIBC_2.3.3. * io/ftw.h (FTW_ACTIONRETVAL): New flag. (FTW_CONTINUE, FTW_STOP, FTW_SKIP_SUBTREE, FTW_SKIP_SIBLINGS): New. * io/ftw.c (ftw_dir): Add old_dir argument. Clear result if it was FTW_SKIP_SIBLINGS after processing all dir entries. Change cwd back if old_dir != NULL. (process_entry): Adjust caller. Don't change cwd back here. Change FTW_SKIP_SUBTREE result to 0. (ftw_startup): Adjust ftw_dir caller. Clear result if it was FTW_SKIP_SUBTREE or FTW_SKIP_SIBLINGS. * io/ftwtest.c (skip_subtree, skip_siblings): New variables. (options, main): Add --skip-subtree and --skip-siblings options. (cb): Use return FTW_CONTINUE instead of return 0. Handle --skip-subtree and --skip-siblings. * io/ftwtest-sh: Add tests for FTW_ACTIONRETVAL. * manual/filesys.texi: Document FTW_ACTIONRETVAL.
* Update.Ulrich Drepper2003-11-063-6/+12
| | | | | | 2003-11-06 Ulrich Drepper <drepper@redhat.com> * Makefile: Add magic to clean up correctly.
* Update.Ulrich Drepper2003-11-066-10/+390
| | | | | | | | | | | | | | | | 2003-11-05 Jakub Jelinek <jakub@redhat.com> * unwind.c (FRAME_LEFT): Define. (unwind_stop): Handle old style cleanups here. (__pthread_unwind): Handle old style cleanups only if !HAVE_FORCED_UNWIND. * Makefile (tests): Add tst-cleanup4 and tst-cleanupx4. (CFLAGS-tst-cleanupx4.c): Add -fexceptions. ($(objpfx)tst-cleanup4): Depend on $(objpfx)tst-cleanup4aux.o. ($(objpfx)tst-cleanupx4): Likewise. * tst-cleanup4.c: New test. * tst-cleanup4aux.c: New. * tst-cleanupx4.c: New test.
* Update.Ulrich Drepper2003-11-043-5/+10
| | | | | | | 2003-11-04 Ulrich Drepper <drepper@redhat.com> * sysdeps/pthread/bits/stdio-lock.h: Use lll_*lock instead of lll_mutex_*lock macros to skip atomic operations on some archs.
* Update.Ulrich Drepper2003-11-047-270/+575
| | | | | | | | | 2003-11-04 Jakub Jelinek <jakub@redhat.com> * io/ftw.c (ftw_dir): Close dir if callback with FTW_D type returns non-zero. * io/Makefile (tests): Add bug-ftw4. * io/bug-ftw4.c: New test.
* Update.Ulrich Drepper2003-11-043-3/+8
| | | | | | | 2003-11-04 Ulrich Drepper <drepper@redhat.com> * tst-numeric.data: Fix fallout from nb_NO introduction. * Makefile (LOCALES): Likewise.
* Update.Ulrich Drepper2003-11-045-23/+43
| | | | | | | | | | | 2003-10-27 Daniel Jacobowitz <drow@mvista.com> * libio/libioP.h [_IO_USE_OLD_IO_FILE] (struct _IO_FILE_complete_plus): New type. * libio/oldiofopen.c (_IO_old_fopen): Use _IO_FILE_complete_plus. * libio/oldiofdopen.c (_IO_old_fdopen): Likewise. * libio/oldiopopen.c (struct _IO_proc_file, _IO_old_popen): Likewise. Call _IO_old_init instead of _IO_init.
* Update.Ulrich Drepper2003-11-045-18/+22
| | | | * intl/locale.alias: nb_NO is now the correct name, not no_NO.
* Update.Ulrich Drepper2003-11-046-4/+35
| | | | | | * SUPPORTED (SUPPORTED-LOCALES): Add more support locales. 2003-11-03 Ulrich Drepper <drepper@redhat.com>
* Update.Ulrich Drepper2003-11-0418-0/+3861
| | | | | | | | | | | | | | | | | | | | * locales/aa_DJ: New file. * locales/aa_ER: New file. * locales/aa_ER@saaho: New file. * locales/aa_ET: New file. * locales/byn_ER: New file. * locales/gez_ER: New file. * locales/gez_ER@abegede: New file. * locales/gez_ET: New file. * locales/gez_ET@abegede: New file. * locales/om_ET: New file. * locales/om_KE: New file. * locales/sid_ET: New file. * locales/so_DJ: New file. * locales/so_ET: New file. * locales/so_KE: New file. * locales/so_SO: New file. * locales/tig_ER: New file.