summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
* Update.Ulrich Drepper2002-09-304-68/+358
| | | | | | | | | | | | | | | | | | | | | | | | | | 2002-09-30 Isamu Hasegawa <isamu@yamato.ibm.com> * posix/regex_internal.h (re_match_context_t): Add a new member. (re_fail_stack_ent_t): New structure. (re_fail_stack_t): Likewise. * posix/regexec.c (re_search_internal): Use the new member of re_match_context_t. Use fail stack only if it has back references and there are plural matching candidates. (proceed_next_node): Use fail stack if it is indicated. (set_regs): Likewise. (push_fail_stack): New function. (pop_fail_stack): New function. (check_dst_limits): Likewise. (check_dst_limits_calc_pos): Likewise. (search_subexp): Check the limitations on the top of subexpressions. (sift_states_bkref): Check the limitations of the destination node. Reuse the array sctx->sifted_states. 2002-09-30 Ulrich Drepper <drepper@redhat.com> * stdio-common/printf_fp.c: Shuffle a few lines around to help the compiler optimizing. No semantical changes intended.
* Update.Ulrich Drepper2002-09-301-18/+4
|
* * sysdeps/ia64/strncpy.S: Only segfault in .recovery2 if some bitsRoland McGrath2002-09-302-2/+10
| | | | from the next quad are needed.
* * elf/tls-macros.h (TLS_LD, TLS_GD): Use call insn, not callq.Roland McGrath2002-09-307-106/+44
| | | | | | | | | | | | | | | | | | * sysdeps/unix/x86_64/sysdep.S [USE_TLS && HAVE___THREAD] [! PIC]: Use direct-%fs form of TLS access for errno. * sysdeps/unix/sysv/linux/i386/i686/sysdep.h: File removed, since the i386 version has all the same asm now. * sysdeps/i386/elf/configure.in: Add @GOTNTPOFF and @NTPOFF uses to the TLS support check. * sysdeps/i386/elf/configure: Regenerated. * sysdeps/unix/sysv/linux/i386/sysdep.h [USE_TLS && HAVE___THREAD] (SYSCALL_ERROR_HANDLER): Use direct-%gs form of TLS access for errno. * sysdeps/unix/i386/sysdep.S (syscall_error) [USE_TLS && HAVE___THREAD]: Use TLS access for errno.
* 2002-09-30 Roland McGrath <roland@redhat.com>Roland McGrath2002-09-301-4/+3
| | | | | * sysdeps/unix/sysv/linux/i386/sysdep.h [USE_TLS && HAVE___THREAD] (SYSCALL_ERROR_HANDLER): Use direct-%gs form of TLS access for errno.
* Update.Andreas Jaeger2002-09-301-0/+10
| | | | | | | | | | | | * stdlib/tst-bsearch.c (main): Fix format strings. * stdio-common/tst-rndseek.c (do_test): Likewise. * libio/tst_swprintf.c (main): Likewise. * catgets/tst-catgets.c (main): Likewise. * libio/tst-fgetws.c (main): Likewise. * posix/tst-mmap.c (main): Likewise. * posix/bug-regex12.c (main): Likewise. * posix/bug-regex11.c (main): Likewise. * io/tst-getcwd.c (do_test): Likewise.
* Fix format strings.Andreas Jaeger2002-09-309-16/+16
|
* * sysdeps/unix/sysv/linux/x86_64/sysdep.hRoland McGrath2002-09-302-7/+15
| | | | [USE_TLS && HAVE___THREAD] (SYSCALL_ERROR_HANDLER): Use TLS access.
* * rt/tst-aio7.c (do_test): Don't read from stdin, which could be theRoland McGrath2002-09-301-0/+6
| | | | | terminal when the test is running in a background job. Instead, make a pipe and read from its read half while never writing anything to it.
* 2002-09-30 Roland McGrath <roland@redhat.com>Roland McGrath2002-09-301-3/+10
| | | | | | * rt/tst-aio7.c (do_test): Don't read from stdin, which could be the terminal when the test is running in a background job. Instead, make a pipe and read from its read half while never writing anything to it.
* Update.Andreas Jaeger2002-09-302-3/+10
| | | | | | | | | 2002-09-30 Andreas Jaeger <aj@suse.de> * iconvdata/tst-e2big.c (test): Use %td in printf for ptrdiff_t. * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER): Store 4 bytes into errno, not 8 bytes.
* (test): Use %td in printf for ptrdiff_t.Andreas Jaeger2002-09-301-2/+2
|
* Update.Ulrich Drepper2002-09-301-2/+7
| | | | | | | | | | 2002-09-29 Ulrich Drepper <drepper@redhat.com> * posix/regexec.c (sift_states_bkref): Remove ret variable. Use err instead. handling and don't pass in a siginfo variable. * nss/Makefile: Move bug-erange from tests to xtests.
* (sift_states_bkref): Remove ret variable. Use err instead.Ulrich Drepper2002-09-301-2/+2
|
* * test-skeleton.c (timeout_handler): Use WUNTRACED flag in waitpid.Roland McGrath2002-09-301-0/+7
| | | | | | Examine the child's status and print something different if it wasn't just killed by our SIGKILL. (main): In the child process call setpgid to put it in its own pgrp.
* 2002-09-29 Roland McGrath <roland@redhat.com>Roland McGrath2002-09-301-2/+17
| | | | | | | * test-skeleton.c (timeout_handler): Use WUNTRACED flag in waitpid. Examine the child's status and print something different if it wasn't just killed by our SIGKILL. (main): In the child process call setpgid to put it in its own pgrp.
* Update.Ulrich Drepper2002-09-291-0/+6
| | | | | | | | 2002-09-29 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): The return value semantics for sigtimedwait is different. Rework the return value handling and don't pass in an siginfo variable.
* * malloc/malloc.c [! MALLOC_DEBUG] (assert): #undef before defining.Roland McGrath2002-09-293-2/+8
| | | | * sysdeps/mach/hurd/Versions (ld: GLIBC_2.2.6): Add __errno_location.
* * sysdeps/mach/hurd/Versions (ld: GLIBC_2.2.6): Add __errno_location.Roland McGrath2002-09-292-0/+8
| | | | 2002-09-29 Roland McGrath <roland@redhat.com>
* 2002-09-29 Jakub Jelinek <jakub@redhat.com>Roland McGrath2002-09-291-0/+1
| | | | | * sysdeps/pthread/tst-timer.c (main): Clear SIGEV2.sigev_notify_attributes.
* (__sigwait): The return value semantics for sigtimedwait is different. ↵Ulrich Drepper2002-09-291-4/+9
| | | | Rework the return value handling and don't pass in an siginfo variable.
* * sysdeps/unix/sysv/linux/x86_64/sysdep.S [USE_TLS && HAVE___THREAD]:Roland McGrath2002-09-292-6/+21
| | | | | | | | | | Define errno in .tbss. * sysdeps/unix/x86_64/sysdep.S [USE_TLS && HAVE___THREAD]: Use TLS access for setting errno. * sysdeps/unix/x86_64/sysdep.S: Store 32 bits at errno, not 64 bits. AFAICT, it was just blind luck that the word following errno in .bss was just alignment padding and not some other variable to be clobbered.
* 2002-09-29 Roland McGrath <roland@redhat.com>Roland McGrath2002-09-291-1/+11
| | | | | | | * sysdeps/unix/sysv/linux/x86_64/sysdep.S [USE_TLS && HAVE___THREAD]: Define errno in .tbss. * sysdeps/unix/x86_64/sysdep.S [USE_TLS && HAVE___THREAD]: Use TLS access for setting errno.
* Update.Ulrich Drepper2002-09-292-3/+8
| | | | | | | * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SETRESUID_SYSCALL): On the sparc, define to 1, not empty. 2002-09-29 Jakub Jelinek <jakub@redhat.com>
* Update.Ulrich Drepper2002-09-294-2/+25
| | | | | | | | | | | * nss/bug-erange.c (main): Don't fail if /etc/resolv.conf doesn't exist. 2002-09-29 Ulrich Drepper <drepper@redhat.com> * nss/Makefile: Move bug-erage from tests to xtests. 2002-09-29 Jakub Jelinek <jakub@redhat.com>
* (DO_SET_THREAD_AREA): Don't use INLINE_SYSCALL for set_thread_area syscall.Ulrich Drepper2002-09-291-11/+31
|
* * stdlib/longlong.h (__udiv_qrnnd): Remove PARAMS from prototype.Roland McGrath2002-09-292-1/+5
| | | | 2002-09-29 Jakub Jelinek <jakub@redhat.com>
* * sysdeps/unix/sysv/linux/sparc/sysdep.h (inline_syscall0): Make asmRoland McGrath2002-09-296-84/+80
| | | | | | | | | | | | | | | | volatile. (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4, inline_syscall5, inline_syscall6): Likewise. * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h (INLINE_SYSCALL): Likewise. * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h (INLINE_SYSCALL): Likewise. 2002-09-29 Roland McGrath <roland@redhat.com> * configure.in (libc_cv_ranlib_necessary check): Put the .o file in the archive, not the .c file. * configure: Regenerated.
* * configure: Regenerated after aclocal.m4 change.Roland McGrath2002-09-299-109/+269
| | | | | | | | | | | | | | | * sysdeps/x86_64/sysdep.h [HAVE_ELF] (L): Define with .L##name form. * sysdeps/unix/sysv/linux/x86_64/sysdep.h (L): Don't define it here. * sysdeps/generic/dl-lookupcfg.h [USE_TLS] (DL_LOOKUP_RETURNS_MAP): Define it, because _dl_sym presumes it (for any platform). * sysdeps/x86_64/dl-tls.h: New file. * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Add a cast. * sysdeps/x86_64/elf/configure.in: New file. * sysdeps/x86_64/elf/configure: New generated file.
* * elf/rtld.c (_dl_start): Fix conditional for declaring CNT.Roland McGrath2002-09-292-1/+8
| | | | | * aclocal.m4 (LIBC_PROG_BINUTILS): Don't clobber $RANLIB with ranlib before we check it.
* 2002-09-28 Roland McGrath <roland@redhat.com>Roland McGrath2002-09-291-2/+4
| | | | | * aclocal.m4 (LIBC_PROG_BINUTILS): Don't clobber $RANLIB with ranlib before we check it.
* Update.Ulrich Drepper2002-09-292-1/+6
|
* Update.Ulrich Drepper2002-09-281-1/+6
| | | | | | | | | 2002-09-28 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add __syscall_exit entry point. * sysdeps/unix/nice.c (nice): Use getpriority() for the return value.
* Add __syscall_exit entry point.Ulrich Drepper2002-09-281-0/+1
|
* * pthread.c (__pthread_reset_main_thread) [FLOATING_STACKS]:Roland McGrath2002-09-282-6/+18
| | | | Don't call setrlimit, since we did no prior bogon we need to undo.
* * posix/bug-regex11.c (tests): Add flags field.Roland McGrath2002-09-281-0/+8
| | | | | | | (main): Avoid warnings. Use test[i].flags. Return nonzero if any of the tests failed. * posix/bug-regex12.c: New file. * posix/Makefile (tests): Add bug-regex12.
* 2002-09-28 Jakub Jelinek <jakub@redhat.com>Roland McGrath2002-09-283-8/+81
| | | | | | | | * posix/bug-regex11.c (tests): Add flags field. (main): Avoid warnings. Use test[i].flags. Return nonzero if any of the tests failed. * posix/bug-regex12.c: New file. * posix/Makefile (tests): Add bug-regex12.
* Update.Ulrich Drepper2002-09-281-3/+12
| | | | | | | | | | | | | | | 2002-03-02 Thorsten Kukuk <kukuk@suse.de> * sysdeps/unix/nice.c (nice): Use getpriority() for the return value. 2002-09-28 Jeff Bailey <jbailey@gnu.org> * sysdeps/unix/sysv/sysv4/solaris2/configure.in: Delete. * sysdeps/unix/sysv/aix/configure.in: Update comment and remove stdio=libio setting. * sysdeps/unix/sysv/linux/x86_64/sysdep.h (__NR_pread, __NR_pwrite): Define these to __NR_pread64, __NR_pwrite64 if not defined.
* * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Use INTUSE forRoland McGrath2002-09-285-7/+20
| | | | | | | | | _dl_signal_error. * sysdeps/mips/dl-machine.h (elf_machine_runtime_link_map): Likewise. * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow): Likewise. * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise. (elf_machine_rela): Likewise.
* * include/libc-symbols.h (__hidden_dot_weak1): Fix typo. ReplaceRoland McGrath2002-09-281-0/+5
| | | | ASM_GLOBAL_DIRECTIVE with .weak.
* 2002-09-27 Steven Munroe <sjmunroe@us.ibm.com>Roland McGrath2002-09-281-1/+1
| | | | | * include/libc-symbols.h (__hidden_dot_weak1): Fix typo. Replace ASM_GLOBAL_DIRECTIVE with .weak.
* (nice): Use getpriority() for the return value.Ulrich Drepper2002-09-285-16/+7
|
* (td_thr_tls_get_addr): Fix reference to dtv.Ulrich Drepper2002-09-281-1/+1
|
* * sysdeps/unix/sysv/linux/mips/truncate64.c (truncate64): FixAndreas Jaeger2002-09-281-0/+7
| | | | | | number of args to syscall. * sysdeps/unix/sysv/linux/mips/ftruncate64.c (__ftruncate64): Likewise. Patch by Guido Guenther <agx@sigxcpu.org>.
* Fix number of args to syscall.Andreas Jaeger2002-09-282-4/+4
|
* Update.Ulrich Drepper2002-09-281-0/+65
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-09-27 Isamu Hasegawa <isamu@yamato.ibm.com> * posix/regcomp.c (reg_free): Free the debug area. (re_compile_internal): Allocate debug area for the input string. (create_initial_state): Check the back references in initial states if they are really match null string in the initial state. (parse_reg_exp): Mark the dfa that the dfa can have plural matchings. (parse_expression): Likewise. (parse_bracket_exp): Likewise. * posix/regex_internal.c (re_node_set_intersect): Remove unused function. (re_node_set_contains): Change to return the index of node. * posix/regex_internal.h (re_backref_cache_entry): Change the members. (re_match_context_t): Likewise. (struct re_dfa_t): Likewise. (re_sift_context_t): New structure. * posix/regexec.c (match_ctx_clear_flag): New function. (sift_ctx_init): Likewise. (update_cur_sifted_state): Likewise. (add_epsilon_src_nodes): Likewise. (sub_epsilon_src_nodes): Likewise. (check_subexp_limits): Likewise. (search_subexp): Likewise. (sift_states_bkref): Likewise. (merge_state_array): Likewise. (sift_states_iter_bkref): Remove unused function. (add_epsilon_backreference): Remove unused function. (re_search_internal): Adapt new members and interfaces. (check_matching): Check the back references in initial states if they are really match null string in the initial state. (proceed_next_node): Change the evaluation of back references, since we have real registers here. (set_regs): Adapt new interface of proceed_next_node. (sift_states_backward): Add invocation of update_cur_sifted_state instead of add_epsilon_backreference. Add a sentinel to the outermost while loop. Move the handling of back references to sift_states_bkref function, since we can't handle some back references (e.g. a back reference which match NULL string) here. (transit_state_mb): Handle the new member max_mb_elem_len. (transit_state_bkref_loop): Move the evaluation of back references to search_subexp function, since we can't evaluate some back references (e.g. a back reference which can have plural matchings) here. (match_ctx_init): Adapt the new member. (match_ctx_add_entry): Adapt the new members. 2002-09-25 Alan Modra <amodra@bigpond.net.au> * elf/do-rel.h: Define macro DO_ELF_MACHINE_REL_RELATIVE for 'elf_machine_rel_relative' (elf_dynamic_do_rel): Call DO_ELF_MACHINE_REL_RELATIVE macro instead of 'elf_machine_rel_relative'. * sysdeps/hppa/dl-machine.h: Define macro DO_ELF_MACHINE_REL_RELATIVE for 'elf_machine_rel_relative' with extra map parameter required by HPPA. (elf_machine_rela_relative): Add plt relocation changes. 2001-11-14 Matthew Wilcox <willy@debian.org> * sysdeps/unix/sysv/linux/hppa/bits/ipc.h: New file. * sysdeps/unix/sysv/linux/hppa/bits/msq.h: New file. * sysdeps/unix/sysv/linux/hppa/bits/sem.h: New file. * sysdeps/unix/sysv/linux/hppa/bits/shm.h: New file.
* Update.Ulrich Drepper2002-09-287-311/+880
| | | | | | | 2002-09-27 Ulrich Drepper <drepper@redhat.com> * locales/zh_TW: Use shorter forms for abday and day. Patch by Rex Tsai <chihchun@kalug.linux.org.tw>.
* Define macro DO_ELF_MACHINE_REL_RELATIVE for 'elf_machine_rel_relative'. ↵Ulrich Drepper2002-09-281-2/+8
| | | | (elf_dynamic_do_rel): Call DO_ELF_MACHINE_REL_RELATIVE macro instead of 'elf_machine_rel_relative'.
* * sysdeps/unix/sysv/linux/x86_64/sysdep.hRoland McGrath2002-09-283-4/+22
| | | | | | | | | (__NR_pread, __NR_pwrite): Define these to __NR_pread64, __NR_pwrite64 if not defined. * sysdeps/unix/sysv/linux/powerpc/lchown.S [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)]: Use this condition on chown compatibility symbol; use compat_symbol, not symbol_version.
* 2002-09-27 Roland McGrath <roland@redhat.com>Roland McGrath2002-09-281-0/+10
| | | | | | * sysdeps/unix/sysv/linux/x86_64/sysdep.h (__NR_pread, __NR_pwrite): Define these to __NR_pread64, __NR_pwrite64 if not defined.