about summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
* 2003-12-11 Ulrich Weigand <uweigand@de.ibm.com>Roland McGrath2004-01-061-2/+2
| | | | | * db_info.c (REGISTER): Add bit size of thread register as second parameter to REGISTER macro.
* Fix typo.Andreas Jaeger2004-01-031-2/+2
| | | | | Remove dfa parameter. Get dfa from mctx. Adjust callers. (re_search_internal): Initialize mctx.dfa.
* (re_match_context_t): Add dfa member.Andreas Jaeger2004-01-031-0/+5
|
* Update.Ulrich Drepper2004-01-032-2/+9
| | | | | | | | 2004-01-03 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/Makefile (CFLAGS-getpid.c): Removed. (CFLAGS-getpid.o): Defined. (CFLAGS-getpid.os): Defined.
* Update.Ulrich Drepper2004-01-032-77/+151
| | | | | | | | | | | | | | | | | | | | | | | 2004-01-02 Paolo Bonzini <bonzini@gnu.org> * posix/regex_internal.c (re_node_set_add_intersect, re_node_set_merge): Rewritten. (re_node_set_insert, re_node_set_remove_at): Avoid memmove, we know what direction we should copy and that we are copying 32-bit words. (re_node_set_compare): Iterate backwards. * posix/regex_internal.h (re_match_context_t): Add dfa member. * posix/regexec.c (match_ctx_free_subtops, search_cur_bkref_entry, match_ctx_add_sublast, sift_ctx_init, acquire_init_state_context, prune_impossible_nodes, check_halt_state_context, proceed_next_node, sift_states_backward, update_cur_sifted_state, check_dst_limits, check_dst_limits_calc_pos, sift_states_bkref, transit_state, check_subexp_matching_top, transit_state_sb, transit_state_mb, transit_state_bkref, get_subexp, get_subexp_sub, check_arrival, check_arrival_add_next_nodes, expand_bkref_cache, check_node_accept): Remove dfa parameter. Get dfa from mctxt. Adjust callers. (re_search_internal): Initialize mctxt.dfa.
* (match_ctx_free_subtops, search_cur_bkref_entry, match_ctx_add_sublast, ↵Ulrich Drepper2004-01-031-149/+147
| | | | sift_ctx_init, acquire_init_state_context, prune_impossible_nodes, check_halt_state_context, proceed_next_node, sift_states_backward, update_cur_sifted_state, check_dst_limits, check_dst_limits_calc_pos, sift_states_bkref, transit_state, check_subexp_matching_top, transit_state_sb, transit_state_mb, transit_state_bkref, get_subexp, get_subexp_sub, check_arrival, check_arrival_add_next_nodes, expand_bkref_cache, check_node_accept): Remove dfa parameter. Get dfa from mctxt. Adjust callers. (re_search_internal): Initialize mctxt.dfa.
* * time/mktime.c (verify): New macro.Roland McGrath2004-01-021-0/+8
| | | | | | | (time_t_is_integer, twos_complement_arithmetic, right_shift_propagates_sign, base_year_is_a_multiple_of_100, C99_integer_division): Document these longstanding assumptions in the code, and verify them at compile-time.
* 2003-12-30 Paul Eggert <eggert@twinsun.com>Roland McGrath2004-01-021-1/+14
| | | | | | | | * time/mktime.c (verify): New macro. (time_t_is_integer, twos_complement_arithmetic, right_shift_propagates_sign, base_year_is_a_multiple_of_100, C99_integer_division): Document these longstanding assumptions in the code, and verify them at compile-time.
* Update.Ulrich Drepper2004-01-025-272/+319
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-01-02 Jakub Jelinek <jakub@redhat.com> * posix/regex_internal.c (re_node_set_insert): Remove unused variables. * posix/regex_internal.h (re_dfa_t): Add syntax field. * posix/regcomp.c (parse): Initialize dfa->syntax. * posix/regexec.c (acquire_init_state_context, prune_impossible_nodes, check_matching, check_halt_state_context, proceed_next_node, sift_states_iter_mb, sift_states_backward, update_cur_sifted_state, sift_states_bkref, transit_state, transit_state_sb, transit_state_mb, transit_state_bkref, get_subexp, get_subexp_sub, check_arrival, expand_bkref_cache, build_trtable): Remove preg argument, add dfa argument instead and remove dfa = preg->buffer initialization in the body. Adjust all callers. (check_node_accept_bytes, group_nodes_into_DFAstates, check_node_accept): Likewise. Use dfa->syntax instead of preg->syntax. (check_arrival_add_next_nodes): Remove preg argument. * posix/regex_internal.h (re_match_context_t): Make input re_string_t instead of a pointer to it. * posix/regex_internal.c (re_string_construct_common): Don't clear pstr here... (re_string_construct): ... but only here. * posix/regexec.c (match_ctx_init): Remove input argument. Don't initialize fields to zero. (re_search_internal): Move input into mctx.input. (acquire_init_state_context, check_matching, check_halt_state_context, proceed_next_node, clean_state_log_if_needed, sift_states_bkref, sift_states_iter_mb, transit_state, transit_state_sb, transit_state_mb, transit_state_bkref, get_subexp, check_arrival, check_arrival_add_next_nodes, check_node_accept, extend_buffers): Change mctx->input into &mctx->input and mctx->input->field into mctx->input.field. 2004-01-02 Jakub Jelinek <jakub@redhat.com> Paolo Bonzini <bonzini@gnu.org> * posix/regex_internal.h (re_const_bitset_ptr_t): New type. (re_string_t): Add newline_anchor, word_char and word_ops_used fields. (re_dfa_t): Change word_char type to bitset. Add word_ops_used field. (re_string_context_at, re_string_reconstruct): Remove last argument. * posix/regex_internal.c (re_string_allocate): Initialize pstr->word_char and pstr->word_ops_used. (re_string_context_at): Remove newline_anchor argument. Use input->newline_anchor instead, swap && conditions. Only use IS_WIDE_WORD_CHAR if input->word_ops_used != 0. Use input->word_char bitmap instead of IS_WORD_CHAR. (re_string_reconstruct): Likewise. Adjust re_string_context_at caller. * posix/regexec.c (acquire_init_state_context, check_halt_state_context, transit_state, transit_state_sb, transit_state_mb, transit_state_bkref, check_arrival, check_node_accept): Adjust re_string_context_at and re_string_reconstruct callers. (re_search_internal): Likewise. Set input.newline_anchor. (build_trtable): Use dfa->word_char bitmap instead of IS_WORD_CHAR. * posix/regcomp.c (init_word_char): Change return type to void. Set dfa->word_ops_used. (free_dfa_content): Don't free dfa->word_char. (parse_expression): Remove error handling for init_word_char.
* Update.Ulrich Drepper2004-01-023-32/+32
| | | | | | | | | 2004-01-01 Paolo Bonzini <bonzini@gnu.org> * posix/regex_internal.h (re_dfastate_t): Fix size of the CONTEXT bitfield. * posix/regex_internal.c (re_node_set_insert): Rewrite.
* Update.Ulrich Drepper2004-01-021-0/+7
| | | | | | | | | 2004-01-01 Petter Reinholdtsen <pere@hungry.com> * stdlib/strfmon.c: Make formatting of left-justified currency values match the the POSIX standard. When using format string "[%-14#5.4n]" to print -123.45, the result should be "[-$ 123.4500 ]", not "[-$123.4500 ]".
* Update.Ulrich Drepper2004-01-022-3/+18
| | | | | | | | | | * sort-test.sh: Print the status for both the sorting tests, xfrm and collate, making it possible to know which one of them that fail if only one of them misbehaves. Indent output from 'diff -u' when sorting test fail, to make it easier to visually group the output. 2004-01-01 Petter Reinholdtsen <pere@hungry.com>
* Update.Ulrich Drepper2004-01-024-14/+20
| | | | | | | | | | 2004-01-01 Petter Reinholdtsen <pere@hungry.com> * tst-fmon.data: Add simple test to check left justified currency values in the C locale. * tst-fmon.sh: Don't print every line. The program already prints the failing ones.
* Update.Ulrich Drepper2004-01-012-2/+6
| | | | | | 2004-01-01 Ulrich Drepper <drepper@redhat.com> * tst-fmon.c (main): Fix typo in message.
* Update.Ulrich Drepper2004-01-011-0/+19
| | | | | | | | | | | | | | | | | | | | | 2004-01-01 Ulrich Drepper <drepper@redhat.com> * posix/getconf.c: Update copyright year. * nss/getent.c: Likewise. * nscd/nscd_nischeck.c: Likewise. * iconv/iconvconfig.c: Likewise. * iconv/iconv_prog.c: Likewise. * elf/ldconfig.c: Likewise. * catgets/gencat.c: Likewise. * csu/version.c: Likewise. * elf/ldd.bash.in: Likewise. * elf/sprof.c (print_version): Likewise. * locale/programs/locale.c: Likewise. * locale/programs/localedef.c: Likewise. * nscd/nscd.c (print_version): Likewise. * debug/xtrace.sh: Likewise. * malloc/memusage.sh: Likewise. * malloc/mtrace.pl: Likewise.
* Update copyright year.Ulrich Drepper2004-01-0116-35/+43
|
* Update copyright year.Andreas Jaeger2004-01-012-2/+2
|
* * resolv/Makefile (generated): New.Andreas Jaeger2004-01-012-0/+6
|
* Update.Andreas Jaeger2004-01-011-0/+4
| | | | | | 2004-01-01 Andreas Jaeger <aj@suse.de> * Makefile (generated): Add missing files.
* * Makefile (generated): Add missing files.Andreas Jaeger2004-01-011-2/+5
|
* * time/mktime.c: (my_mktime_localtime_r):Roland McGrath2003-12-314-62/+67
| | | | | | | | | | | | | | | | | | Remove. All uses changed to __localtime_r. (__localtime_r) [!defined _LIBC]: New macro. Include "time_r.h" to get its implementation. Fix compile-command to allow for TIME_R_POSIX. * time/strftime.c (my_strftime_gmtime_r, my_strftime_localtime_r): Remove. All uses changed to __localtime_r and __gmtime_r. (__gmtime_r, __localtime_r) [!HAVE_TM_GMTOFF]: New macros. Include "time_r.h" to get their implementations. * time/timegm.c: Allow use in GNU applications outside glibc. [defined HAVE_CONFIG_H]: Include <config.h>. [!defined _LIBC]: Include "timegm.h", <time_r.h>. Define __gmtime_r, and declare __mktime_internal. (timegm): Define via a prototype, since we can safely assume C89 now.
* * CONFORMANCE: Update.Roland McGrath2003-12-311-0/+4
|
* 2003-12-31 Joseph S. Myers <jsm@polyomino.org.uk>Roland McGrath2003-12-311-20/+6
| | | | * CONFORMANCE: Update.
* Update.Ulrich Drepper2003-12-311-0/+6
| | | | | | | | 2003-12-31 Ulrich Drepper <drepper@redhat.com> * pthread_getattr_np.c (pthread_getattr_np): Make sure stack info returned for main thread does not overlap with any other VMA. Patch by Jakub Jelinek.
* (pthread_getattr_np): Make sure stack info returned for main thread does not ↵Ulrich Drepper2003-12-311-6/+9
| | | | overlap with any other VMA.
* * time/mktime.c (check_result): Use less-confusing report format.Roland McGrath2003-12-311-0/+18
| | | | | | | | | | | | | | | | | "long" -> "long int", as per usual GNU style. (main): Likewise. Don't loop if the iteration overflows time_t. Allow a negative step in the iteration. * time/mktime.c: Assume freestanding C89 or better. (HAVE_LIMITS_H, STDC_HEADERS) [defined _LIBC]: Remove; assume they're 1. (__P): Remove; not used. (CHAR_BIT, INT_MIN, INT_MAX): Remove; <limits.h> defines them. (mktime, not_equal_tm, print_tm, check_result, main): Use prototypes. Prototypes use const * where appropriate. (main) [DEBUG]: Fix typo in testing code uncovered by above changes, which caused the testing code to dump core on some hosts.
* 2003-12-30 Paul Eggert <eggert@twinsun.com>Roland McGrath2003-12-311-59/+27
| | | | | | | | | | | | | | | | | * time/mktime.c (check_result): Use less-confusing report format. "long" -> "long int", as per usual GNU style. (main): Likewise. Don't loop if the iteration overflows time_t. Allow a negative step in the iteration. * time/mktime.c: Assume freestanding C89 or better. (HAVE_LIMITS_H, STDC_HEADERS) [defined _LIBC]: Remove; assume they're 1. (__P): Remove; not used. (CHAR_BIT, INT_MIN, INT_MAX): Remove; <limits.h> defines them. (mktime, not_equal_tm, print_tm, check_result, main): Use prototypes. Prototypes use const * where appropriate. (main) [DEBUG]: Fix typo in testing code uncovered by above changes, which caused the testing code to dump core on some hosts.
* Update.Ulrich Drepper2003-12-314-12/+33
| | | | | * locale/setlocale.c (setlocale): Avoid duplicating locale names if we can reuse old strings.
* Update.Ulrich Drepper2003-12-315-70/+90
| | | | | | | | | | | | | | * inet/rcmd.c: Provide better error message in case of unknown host. Remove USE_IN_LIBIO. * nscd/nscd.init: Updated version, more conforming with current init file standards. * nscd/nscd-client.h (_PATH_NSCDPID): Move the file into /var/run/nscd directory. (_PATH_NSCDSOCKET): Likewise. * test-skeleton.c (timeout_handler): Fix error message.
* Update.Ulrich Drepper2003-12-312-18/+30
| | | | | | | 2003-12-31 Ulrich Drepper <drepper@redhat.com> * elf/dl-dst.h (DL_DST_REQUIRED): Avoid the complex operations if CNT == 0.
* Update.Ulrich Drepper2003-12-303-12/+25
| | | | | | | | | | * posix/regexec.c (get_subexp): Only set bkref_str after the first loop, use buf + bkref_str_off in the loop instead. * posix/bug-regex11.c (tests): Add 3 new tests. * posix/regexec.c (clean_state_log_if_need): Rename to... (clean_state_log_if_needed): ...this. (transit_state_mb, get_subexp_sub): Adjust callers.
* Update.Ulrich Drepper2003-12-303-2/+7
| | | | | | | 2003-12-30 Jakub Jelinek <jakub@redhat.com> * sunrpc/pmap_clnt.c (pmap_set): Do CLNT_DESTROY even if CLNT_CALL failed. Reported by Steve Grubb.
* Update.Ulrich Drepper2003-12-293-1/+19
| | | | | | 2003-12-29 Ulrich Drepper <drepper@redhat.com> * elf/elf.h: Add a few definitions from Solaris 9.
* Update.Ulrich Drepper2003-12-293-4/+13
| | | | | | | | | | 2003-12-29 Andreas Schwab <schwab@suse.de> * stdio-common/Makefile (CFLAGS-errlist.c, CFLAGS-siglist.c): Add $(fno_unit_at_a_time) to avoid reordering assembler output. (push_fail_stack): Change fs->alloc only after successful realloc. (set_regs): If proceed_next_node returns -2, free eps_via_nodes and fs.
* Update.Ulrich Drepper2003-12-296-28/+133
| | | | | | | | | | | | | | | | | | | 2003-12-29 Jakub Jelinek <jakub@redhat.com> * posix/regexec.c (re_copy_regs): Revert comment change. Avoid memory leak if realloc fails. (proceed_next_node): Return -2 if re_node_set_insert fails. Return -2 if push_fail_stack fails. (push_fail_stack): Change fs->alloc only after successful realloc. (pop_fail_stack): Formatting. (set_regs): If proceed_next_node returns -2, free eps_via_nodes and fs. (check_arrival_add_next_nodes): Merge identical statements from if branches. * signal/Makefile (tests): Add tst-raise. * signal/tst-raise.c: New test.
* Update.Ulrich Drepper2003-12-293-15/+14
| | | | | | | * posix/regcomp.c (mark_opt_subexp_iter): Declare IDX as int. * posix/regexec.c (re_copy_regs): Fix testing for failed allocation. _IO_peekc_unlocked, _IO_putc_unlocked, _IO_getwc_unlocked, and
* Update.Ulrich Drepper2003-12-284-20/+24
| | | | | | | | | * posix/regexec.c (re_copy_regs): Allocate start and end array in one block. (push_fail_stack): Add missing check for failed memory allocation. _IO_peekc_unlocked, _IO_ptc_unlocked, _IO_getwc_unlocked, and overflow for 0 as argument. Raise Invalid exception for negative args.
* Update.Ulrich Drepper2003-12-281-0/+6
| | | | | | | | 2003-12-28 Ulrich Drepper <drepper@redhat.com> * libio/libio.h: Use __builtin_expect in _IO_getc_unlocked, _IO_peekc_unlocked, _IO_ptc_unlcoked, _IO_getwc_unlocked, and _IO_putwc_unlocked.
* Use __builtin_expect in _IO_getc_unlocked, _IO_peekc_unlocked, ↵Ulrich Drepper2003-12-281-6/+14
| | | | _IO_ptc_unlcoked, _IO_getwc_unlocked, and _IO_putwc_unlocked.
* (yn_test): Expect invalid exception for negative arguments. (y0_test): ↵Andreas Jaeger2003-12-281-4/+4
| | | | Likewise. (y1_test): Likewise.
* Update.Andreas Jaeger2003-12-2813-28/+48
| | | | | | | | | | | | | | | | | | | | | | * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_y0): Raise only overflow for 0 as argument. Raise Invalid exception for negative args. * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise. * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_y0): Likewise. * sysdeps/ieee754/ldb-128/e_jnl.c (__ieee754_ynl): Likewise. * sysdeps/ieee754/ldb-128/e_j0l.c (__ieee754_y0l): Likewise. * sysdeps/ieee754/ldb-128/e_j1l.c (__ieee754_y1l): Likewise. * sysdeps/ieee754/ldb-96/e_jnl.c (__ieee754_ynl): Likewise. * sysdeps/ieee754/ldb-96/e_j0l.c (__ieee754_y0l): Likewise. * sysdeps/ieee754/ldb-96/e_j1l.c (__ieee754_y1l): Likewise. * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise. * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Likewise. * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Likewise. * math/libm-test.inc (yn_test): Expect invalid exception for negative arguments. (y0_test): Likewise. (y1_test): Likewise.
* Update.Andreas Jaeger2003-12-281-0/+5
| | | | | | | 2003-12-28 Andreas Jaeger <aj@suse.de> * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not raise execptions for exp(NaN).
* Do not raise execptions for exp(NaN).Andreas Jaeger2003-12-281-2/+2
|
* Update.Ulrich Drepper2003-12-278-182/+245
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-12-23 Paolo Bonzini <bonzini@gnu.org> * posix/regex_internal.c (re_dfa_add_node): Initialize opt_subexp. * posix/regex_internal.h (re_token_type_t): Put OP_DUP_PLUS among the tokens, rather than among the epsilon-transiting nodes. (re_token_t): Add the opt_subexp flag. * posix/regcomp.c (optimize_utf8, calc_first, calc_next, calc_epsdest): Don't consider OP_DUP_PLUS. (mark_opt_subexp, mark_opt_subexp_iter): New functions. (parse_dup_op): Mostly rewritten, lowering OP_DUP_PLUS to OP_DUP_ASTERISK and marking optional subexpressions as such using mark_opt_subexp. * posix/regexec.c (set_regs): Initialize PREV_INDEX_MATCH and pass it to update_regs. (update_regs): Use the PREV_INDEX_MATCH parameter, together with the opt_subexp flag, in order to discard a final empty match of a repeated subexpression. * posix/BOOST.tests: Adjust test vectors. * posix/PCRE.tests: Likewise. * posix/rxspencer/tests: Likewise. 2003-12-17 Paolo Bonzini <bonzini@gnu.org> 2003-12-16 Paolo Bonzini <bonzini@gnu.org> 2003-12-17 Paolo Bonzini <bonzini@gnu.org> 2003-12-16 Jakub Jelinek <jakub@redhat.com> 2003-04-06 Kaz Kojima <kkojima@rr.iij4u.or.jp> 2003-02-20 Paolo Bonzini <bonzini@gnu.org> 2003-01-12 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> 2003-01-09 Richard Henderson <rth@redhat.com> 2003-01-09 Richard Henderson <rth@redhat.com> 2003-01-03 Paul Eggert <eggert@twinsun.com>
* Update.Ulrich Drepper2003-12-276-20/+88
| | | | | | | | | | | | | | | 2003-12-23 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/raise.c (raise): Protect pid = selftid setting with __ASSUME_TGKILL || defined __NR_tgkill. If pid is 0, set it to selftid. * sysdeps/unix/sysv/linux/getpid.c (really_getpid): Make inline. Don't set self->pid but self->tid. If self->pid == 0 and self->tid != 0, return self->tid without doing a syscall. * descr.h (struct pthread): Move pid field after tid. * Makefile (tests): Add tst-raise1. * tst-raise1.c: New file.
* Update.Ulrich Drepper2003-12-271-0/+7
| | | | | | | | | 2003-12-26 Jakub Jelinek <jakub@redhat.com> * sysdeps/pthread/pthread.h (pthread_setcancelstate, pthread_setcanceltype, pthread_cancel, pthread_testcancel): Remove __THROW. * semaphore.h (sem_wait, sem_timedwait): Likewise.
* Remove __THROW from cancellation points.Ulrich Drepper2003-12-272-7/+6
|
* * locales/en_ZA: Correcty typo in changelog (Sofware -> Software).Roland McGrath2003-12-246-5/+15
| | | | | | | | * locales/hr_HR: Correct the email address of Tomislav Vujec. * locales/ja_JP: Document EUC-JP as the recommended charset. * locales/ko_KR: List Won-kyu Park as the author/contact for the locale. * locales/ru_UA: Correct the email address of Denis V. Dmitrienko.
* * sysdeps/i386/fpu/bits/mathinline.h (__expm1_code): Avoid using ?:Roland McGrath2003-12-242-1/+7
| | | | with omitted middle operand.
* * tst-oddstacklimit.c: New file.Roland McGrath2003-12-233-1/+16
| | | | | | | | * Makefile (tests): Add it. (tst-oddstacklimit-ENV): New variable. * init.c (__pthread_initialize_minimal_internal): Round stack rlimit value up to page size for __default_stacksize.