kopensolaris-gnu/glibc.git
16 years ago(optimize_utf8, calc_first,
drepper [Sat, 27 Dec 2003 23:35:07 +0000 (23:35 +0000)]
(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.

16 years ago(re_token_type_t): Put OP_DUP_PLUS
drepper [Sat, 27 Dec 2003 23:34:45 +0000 (23:34 +0000)]
(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.

16 years ago(re_dfa_add_node): Initialize opt_subexp.
drepper [Sat, 27 Dec 2003 23:34:31 +0000 (23:34 +0000)]
(re_dfa_add_node): Initialize opt_subexp.

16 years agoUpdate.
drepper [Sat, 27 Dec 2003 07:38:25 +0000 (07:38 +0000)]
Update.

16 years agoTest raise.
drepper [Sat, 27 Dec 2003 07:37:49 +0000 (07:37 +0000)]
Test raise.

16 years ago(tests): Add tst-raise1.
drepper [Sat, 27 Dec 2003 07:36:52 +0000 (07:36 +0000)]
(tests): Add tst-raise1.

16 years ago(struct pthread): Move pid field after tid.
drepper [Sat, 27 Dec 2003 06:29:01 +0000 (06:29 +0000)]
(struct pthread): Move pid field after tid.

16 years ago(really_getpid): Make inline.
drepper [Sat, 27 Dec 2003 06:28:49 +0000 (06:28 +0000)]
(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.

16 years ago(raise): Protect pid = selftid setting with __ASSUME_TGKILL || defined
drepper [Sat, 27 Dec 2003 06:28:25 +0000 (06:28 +0000)]
(raise): Protect pid = selftid setting with __ASSUME_TGKILL || defined
__NR_tgkill.
If pid is 0, set it to selftid.

16 years agoUpdate.
drepper [Sat, 27 Dec 2003 06:09:01 +0000 (06:09 +0000)]
Update.

16 years agoRemove __THROW from cancellation points.
drepper [Sat, 27 Dec 2003 06:08:31 +0000 (06:08 +0000)]
Remove __THROW from cancellation points.

16 years ago.
roland [Wed, 24 Dec 2003 02:39:43 +0000 (02:39 +0000)]
.

16 years ago2003-07-06 Petter Reinholdtsen <pere@hungry.com>
roland [Wed, 24 Dec 2003 02:39:13 +0000 (02:39 +0000)]
2003-07-06  Petter Reinholdtsen  <pere@hungry.com>

* locales/en_ZA: Correcty typo in changelog (Sofware -> Software).
* 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.

16 years ago.
roland [Wed, 24 Dec 2003 01:10:17 +0000 (01:10 +0000)]
.

16 years ago2000-05-22 Jakub Jelinek <jakub@redhat.com>
roland [Wed, 24 Dec 2003 01:10:09 +0000 (01:10 +0000)]
2000-05-22  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/i386/fpu/bits/mathinline.h (__expm1_code): Avoid using ?:
with omitted middle operand.

16 years ago.
roland [Tue, 23 Dec 2003 23:07:41 +0000 (23:07 +0000)]
.

16 years ago2003-12-23 Roland McGrath <roland@redhat.com>
roland [Tue, 23 Dec 2003 23:07:13 +0000 (23:07 +0000)]
2003-12-23  Roland McGrath  <roland@redhat.com>

* tst-oddstacklimit.c: New file.
* Makefile (tests): Add it.
(tst-oddstacklimit-ENV): New variable.

16 years ago2003-12-23 Roland McGrath <roland@redhat.com>
roland [Tue, 23 Dec 2003 23:07:09 +0000 (23:07 +0000)]
2003-12-23  Roland McGrath  <roland@redhat.com>

* init.c (__pthread_initialize_minimal_internal): Round stack rlimit
value up to page size for __default_stacksize.

16 years agoUpdate.
drepper [Tue, 23 Dec 2003 02:29:44 +0000 (02:29 +0000)]
Update.

16 years agoRemove reliance on nb_NO.ISO-8859-1 locale.
drepper [Tue, 23 Dec 2003 02:29:23 +0000 (02:29 +0000)]
Remove reliance on nb_NO.ISO-8859-1 locale.

16 years agoUpdate.
drepper [Tue, 23 Dec 2003 02:27:34 +0000 (02:27 +0000)]
Update.

16 years agoRemove C99-ism.
drepper [Tue, 23 Dec 2003 01:44:46 +0000 (01:44 +0000)]
Remove C99-ism.

16 years ago(re_string_construct_common,
drepper [Tue, 23 Dec 2003 01:44:18 +0000 (01:44 +0000)]
(re_string_construct_common,
re_string_skip_chars, create_newstate_common,
register_state, create_ci_newstate, create_cd_newstate,
calc_state_hash): Likewise.
(re_string_peek_byte_case, re_fetch_byte_case): Change
declaration from ANSI to K&R.

16 years ago[!_LIBC] (internal_function): Define.
drepper [Tue, 23 Dec 2003 01:43:59 +0000 (01:43 +0000)]
[!_LIBC] (internal_function): Define.
(re_string_allocate, re_string_construct, re_string_reconstruct,
re_string_realloc_buffers, build_wcs_buffer,
build_wcs_upper_buffer, build_upper_buffer,
re_string_translate_buffer, re_string_destruct,
re_string_elem_size_at, re_string_char_size_at,
re_string_wchar_at, re_string_context_at,
re_node_set_alloc, re_node_set_init_1
re_node_set_init_2, re_node_set_init_copy,
re_node_set_add_intersect, re_node_set_init_union,
re_node_set_merge, re_node_set_insert
re_node_set_compare, re_node_set_contains
re_node_set_remove_at, re_dfa_add_node,
re_acquire_state, re_acquire_state_context,
free_state): Add internal_function to declaration.

16 years ago(build_trtable): Don't allocate the trtable
drepper [Tue, 23 Dec 2003 01:43:19 +0000 (01:43 +0000)]
(build_trtable): Don't allocate the trtable
until state->word_trtable is known.  Don't hardcode UINT_BITS
iterations on each bitset item.

(match_ctx_init, match_ctx_clean,
match_ctx_free, match_ctx_free_subtops,
match_ctx_add_entry, search_cur_bkref_entry,
match_ctx_clear_flag, match_ctx_add_subtop,
match_ctx_add_sublast, sift_ctx_init,
re_search_internal, re_search_2_stub, re_search_stub,
re_copy_regs, acquire_init_state_context,
prune_impossible_nodes, check_matching,
check_halt_node_context, check_halt_state_context
update_regs, proceed_next_node, push_fail_stack,
pop_fail_stack, set_regs, free_fail_stack_return,
sift_states_iter_mb, sift_states_backward
update_cur_sifted_state, add_epsilon_src_nodes,
sub_epsilon_src_nodes, check_dst_limits,
check_dst_limits_calc_pos, check_subexp_limits,
sift_states_bkref, clean_state_log_if_need,
merge_state_array, transit_state,
check_subexp_matching_top, transit_state_sb,
transit_state_mb, transit_state_bkref,
get_subexp, get_subexp_sub, find_subexp_node,
check_arrival, check_arrival_add_next_nodes,
find_collation_sequence_value, check_arrival_expand_ecl,
check_arrival_expand_ecl_sub, expand_bkref_cache,
build_trtable, check_node_accept_bytes, extend_buffers,
group_nodes_into_DFAstates, check_node_accept): Likewise.

16 years ago.
roland [Mon, 22 Dec 2003 20:30:32 +0000 (20:30 +0000)]
.

16 years ago2003-12-22 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
roland [Mon, 22 Dec 2003 20:30:10 +0000 (20:30 +0000)]
2003-12-22  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>

* sysdeps/unix/sysv/linux/ia64/dl-static.c (_dl_static_init):
Initialize REF before passing it to _dl_lookup_symbol.

16 years ago.
roland [Mon, 22 Dec 2003 06:58:32 +0000 (06:58 +0000)]
.

16 years ago2003-12-21 Roland McGrath <roland@frob.com>
roland [Mon, 22 Dec 2003 06:58:09 +0000 (06:58 +0000)]
2003-12-21  Roland McGrath  <roland@frob.com>

* sysdeps/mach/hurd/dl-sysdep.c (_exit): Define with attribute_hidden.

16 years agoUpdate.
drepper [Mon, 22 Dec 2003 06:52:35 +0000 (06:52 +0000)]
Update.

16 years ago(tests): Add new tests.
drepper [Mon, 22 Dec 2003 06:46:08 +0000 (06:46 +0000)]
(tests): Add new tests.

16 years ago(tests): Add new tests.
drepper [Mon, 22 Dec 2003 06:45:54 +0000 (06:45 +0000)]
(tests): Add new tests.

16 years ago(check_dst_limits_calc_pos): Fix formatting.
drepper [Mon, 22 Dec 2003 06:45:38 +0000 (06:45 +0000)]
(check_dst_limits_calc_pos): Fix formatting.
(group_nodes_into_DFAstates): For CHARACTER with
NEXT_{,NOT}WORD_CONSTRAINT check word_char bit.

16 years ago(parse_dup_op): Return NULL if dup_elem is NULL,
drepper [Mon, 22 Dec 2003 06:45:04 +0000 (06:45 +0000)]
(parse_dup_op): Return NULL if dup_elem is NULL,
after checking syntax.  Optimize.
(calc_first): Fix comment.

(duplicate_node, duplicate_node_closure): Revert 2003-11-24 changes.

16 years ago.
roland [Mon, 22 Dec 2003 06:19:32 +0000 (06:19 +0000)]
.

16 years ago2003-12-21 Roland McGrath <roland@redhat.com>
roland [Mon, 22 Dec 2003 06:19:25 +0000 (06:19 +0000)]
2003-12-21  Roland McGrath  <roland@redhat.com>

* manual/arith.texi (Parsing of Integers): Typo fix.

16 years ago2003-12-20 Roland McGrath <roland@frob.com>
roland [Mon, 22 Dec 2003 06:19:22 +0000 (06:19 +0000)]
2003-12-20  Roland McGrath  <roland@frob.com>

* sysdeps/generic/ifreq.c (__ifreq) [_HAVE_SA_LEN]: Fix typo:
add missing dereference of IFREQS before counting loop.

16 years agoUpdate.
drepper [Sun, 21 Dec 2003 20:05:47 +0000 (20:05 +0000)]
Update.

16 years ago(tests): Add tst-eintr5.
drepper [Sun, 21 Dec 2003 20:05:16 +0000 (20:05 +0000)]
(tests): Add tst-eintr5.

16 years agoCheck that EINTR is not returned for pthread_cond_wait and
drepper [Sun, 21 Dec 2003 20:04:57 +0000 (20:04 +0000)]
Check that EINTR is not returned for pthread_cond_wait and
pthread_cond_timedwait.

16 years ago(eintr_source): Prevent sending signal to self.
drepper [Sun, 21 Dec 2003 20:04:02 +0000 (20:04 +0000)]
(eintr_source): Prevent sending signal to self.

16 years ago(tf1): Improve error message.
drepper [Sun, 21 Dec 2003 19:52:55 +0000 (19:52 +0000)]
(tf1): Improve error message.

16 years ago.
schwab [Sun, 21 Dec 2003 17:32:28 +0000 (17:32 +0000)]
.

16 years agoAvoid matching memory constraints.
schwab [Sun, 21 Dec 2003 17:31:58 +0000 (17:31 +0000)]
Avoid matching memory constraints.

16 years agoUpdate.
drepper [Sat, 20 Dec 2003 23:39:42 +0000 (23:39 +0000)]
Update.

16 years agoAdd comment explaining use of PID field.
drepper [Sat, 20 Dec 2003 23:38:56 +0000 (23:38 +0000)]
Add comment explaining use of PID field.

16 years agoHandle case where PID is temporarily negative.
drepper [Sat, 20 Dec 2003 23:38:32 +0000 (23:38 +0000)]
Handle case where PID is temporarily negative.

16 years agoNegate PID field of parent temporarily to signal the field must not be
drepper [Sat, 20 Dec 2003 23:37:13 +0000 (23:37 +0000)]
Negate PID field of parent temporarily to signal the field must not be
relied on and updated by getpid().

16 years agoUse abs() when comparing PID and TID fields.
drepper [Sat, 20 Dec 2003 23:35:43 +0000 (23:35 +0000)]
Use abs() when comparing PID and TID fields.

16 years agoAdd comment explaining use of PID field.
drepper [Sat, 20 Dec 2003 23:34:58 +0000 (23:34 +0000)]
Add comment explaining use of PID field.

16 years agoUpdate.
drepper [Sat, 20 Dec 2003 22:43:09 +0000 (22:43 +0000)]
Update.

16 years agoRewrite to not store PID if old value is negative.
drepper [Sat, 20 Dec 2003 19:24:00 +0000 (19:24 +0000)]
Rewrite to not store PID if old value is negative.

16 years agoUpdate.
drepper [Sat, 20 Dec 2003 09:58:33 +0000 (09:58 +0000)]
Update.

16 years ago(CFLAGS-getpid.c): Define.
drepper [Sat, 20 Dec 2003 09:57:54 +0000 (09:57 +0000)]
(CFLAGS-getpid.c): Define.

16 years agogetpid implementation for Linux with nptl.
drepper [Sat, 20 Dec 2003 09:57:38 +0000 (09:57 +0000)]
getpid implementation for Linux with nptl.

16 years ago(dl_main): Optimize order or subexpressions in if().
drepper [Sat, 20 Dec 2003 09:04:30 +0000 (09:04 +0000)]
(dl_main): Optimize order or subexpressions in if().

16 years agoUpdate.
drepper [Sat, 20 Dec 2003 06:34:59 +0000 (06:34 +0000)]
Update.

16 years agoTest that pthread_barrier_wait never returns EINTR.
drepper [Sat, 20 Dec 2003 06:34:30 +0000 (06:34 +0000)]
Test that pthread_barrier_wait never returns EINTR.

16 years agoTest that pthread_join never returns EINTR.
drepper [Sat, 20 Dec 2003 06:33:53 +0000 (06:33 +0000)]
Test that pthread_join never returns EINTR.

16 years agoAdjust for change to setup_eintr.
drepper [Sat, 20 Dec 2003 06:33:20 +0000 (06:33 +0000)]
Adjust for change to setup_eintr.

16 years ago(setup_eintr): Add new parameter. Pass to thread function.
drepper [Sat, 20 Dec 2003 06:32:59 +0000 (06:32 +0000)]
(setup_eintr): Add new parameter.  Pass to thread function.
(eintr_source): If ARG != NULL, use pthread_kill.

16 years ago(tests): Add tst-cancel22 and tst-cancel23.
drepper [Sat, 20 Dec 2003 06:32:45 +0000 (06:32 +0000)]
(tests): Add tst-cancel22 and tst-cancel23.
(tests-reverse): Add tst-cancel23.

(tests): Add tst-eintr3 and tst-eintr4.

16 years agoCheck that disabling cancellation really works.
drepper [Sat, 20 Dec 2003 06:32:20 +0000 (06:32 +0000)]
Check that disabling cancellation really works.

16 years ago(__librt_enable_asynccancel): Don't cancel if CANCELSTATE_BITMASK is set.
drepper [Sat, 20 Dec 2003 06:31:48 +0000 (06:31 +0000)]
(__librt_enable_asynccancel): Don't cancel if CANCELSTATE_BITMASK is set.

16 years ago(__libc_enable_asynccancel): Don't cancel if CANCELSTATE_BITMASK is set.
drepper [Sat, 20 Dec 2003 06:31:25 +0000 (06:31 +0000)]
(__libc_enable_asynccancel): Don't cancel if CANCELSTATE_BITMASK is set.

16 years agoUpdate.
drepper [Fri, 19 Dec 2003 04:25:14 +0000 (04:25 +0000)]
Update.

16 years ago(vfprintf): Pass use_outdigits flags to __printf_fp.
drepper [Fri, 19 Dec 2003 04:23:33 +0000 (04:23 +0000)]
(vfprintf): Pass use_outdigits flags to __printf_fp.

16 years ago(__printf_fp): Add support to use alternative decimal digits.
drepper [Fri, 19 Dec 2003 04:22:46 +0000 (04:22 +0000)]
(__printf_fp): Add support to use alternative decimal digits.

16 years agoFix typo.
drepper [Fri, 19 Dec 2003 03:51:06 +0000 (03:51 +0000)]
Fix typo.

16 years agoUpdate.
drepper [Fri, 19 Dec 2003 01:37:13 +0000 (01:37 +0000)]
Update.

16 years agoInclude stdint.h.
drepper [Fri, 19 Dec 2003 01:36:40 +0000 (01:36 +0000)]
Include stdint.h.
(_JMPBUF_CFA_UNWINDS): Remove.
(_JMPBUF_CFA_UNWINDS_ADJ, _JMPBUF_UNWINDS_ADJ): Define.

16 years agoSetjmp buffer unwinding helper code for x86-64.
drepper [Fri, 19 Dec 2003 01:36:23 +0000 (01:36 +0000)]
Setjmp buffer unwinding helper code for x86-64.

16 years agoSetjmp buffer unwinding helper code for SPARC32.
drepper [Fri, 19 Dec 2003 01:36:09 +0000 (01:36 +0000)]
Setjmp buffer unwinding helper code for SPARC32.

16 years agoSetjmp buffer unwinding helper code for SH.
drepper [Fri, 19 Dec 2003 01:35:46 +0000 (01:35 +0000)]
Setjmp buffer unwinding helper code for SH.

16 years agoSetjmp buffer unwinding helper code for s390.
drepper [Fri, 19 Dec 2003 01:35:37 +0000 (01:35 +0000)]
Setjmp buffer unwinding helper code for s390.

16 years agoSetjmp buffer unwinding helper code for ppc.
drepper [Fri, 19 Dec 2003 01:35:28 +0000 (01:35 +0000)]
Setjmp buffer unwinding helper code for ppc.

16 years agoSetjmp buffer unwinding helper code for ia32.
drepper [Fri, 19 Dec 2003 01:35:18 +0000 (01:35 +0000)]
Setjmp buffer unwinding helper code for ia32.

16 years agoSetjmp buffer unwinding helper code for Alpha.
drepper [Fri, 19 Dec 2003 01:35:07 +0000 (01:35 +0000)]
Setjmp buffer unwinding helper code for Alpha.

16 years ago(FRAME_LEFT): Add adj argument. Subtract it from each comparison operand.
drepper [Fri, 19 Dec 2003 01:34:28 +0000 (01:34 +0000)]
(FRAME_LEFT): Add adj argument.  Subtract it from each comparison operand.
(unwind_stop): Use _JMPBUF_CFA_UNWINDS_ADJ macro instead of
_JMPBUF_CFA_UNWINDS.  Adjust FRAME_LEFT invocations.

16 years ago(tests): Add tst-cancel20 and tst-cancelx20.
drepper [Fri, 19 Dec 2003 01:34:09 +0000 (01:34 +0000)]
(tests): Add tst-cancel20 and tst-cancelx20.
(CFLAGS-tst-cancelx20.c): Set.

(tests): Add tst-cancel21 and tst-cancelx21.
(CFLAGS-tst-cancelx21.c): Set.

(tests): Add tst-eintr2.

16 years ago(__pthread_initialize_minimal_internal): Initialize pd->stackblock_size.
drepper [Fri, 19 Dec 2003 01:33:33 +0000 (01:33 +0000)]
(__pthread_initialize_minimal_internal): Initialize pd->stackblock_size.

16 years agoNot needed anymore.
drepper [Fri, 19 Dec 2003 01:33:14 +0000 (01:33 +0000)]
Not needed anymore.

16 years agoFix last changes.
drepper [Fri, 19 Dec 2003 01:32:36 +0000 (01:32 +0000)]
Fix last changes.

16 years agoTest of cancellation of the main thread with exceptions from alternate stack.
drepper [Fri, 19 Dec 2003 01:32:24 +0000 (01:32 +0000)]
Test of cancellation of the main thread with exceptions from alternate stack.

16 years agoTest of cancellation of the main thread from alternate stack.
drepper [Fri, 19 Dec 2003 01:31:58 +0000 (01:31 +0000)]
Test of cancellation of the main thread from alternate stack.

16 years agoTest of cancellation with exceptions from alternate stack.
drepper [Fri, 19 Dec 2003 01:31:41 +0000 (01:31 +0000)]
Test of cancellation with exceptions from alternate stack.

16 years agoTest of cancellation from alternate stack.
drepper [Fri, 19 Dec 2003 01:31:18 +0000 (01:31 +0000)]
Test of cancellation from alternate stack.

16 years agoTest of cancellation from alternate stack.
drepper [Fri, 19 Dec 2003 01:31:08 +0000 (01:31 +0000)]
Test of cancellation from alternate stack.

16 years agoCheck that mutex locking functions do not return EINTR.
drepper [Fri, 19 Dec 2003 00:11:49 +0000 (00:11 +0000)]
Check that mutex locking functions do not return EINTR.

16 years agoBetter error messages.
drepper [Thu, 18 Dec 2003 21:19:22 +0000 (21:19 +0000)]
Better error messages.

16 years agoUpdate.
drepper [Thu, 18 Dec 2003 06:07:27 +0000 (06:07 +0000)]
Update.

16 years ago(__clone) [PIC]: Save PIC, reload PIC if we need to call __syscall_error,
drepper [Thu, 18 Dec 2003 06:05:03 +0000 (06:05 +0000)]
(__clone) [PIC]: Save PIC, reload PIC if we need to call __syscall_error,
cleanup asm.

16 years agoUpdate.
drepper [Thu, 18 Dec 2003 04:02:31 +0000 (04:02 +0000)]
Update.

16 years ago(fesetexceptflag): Set enable bits not raised exception bits.
drepper [Thu, 18 Dec 2003 03:58:26 +0000 (03:58 +0000)]
(fesetexceptflag): Set enable bits not raised exception bits.

16 years ago(feraiseexcept): Add delayed exception flushing, FE_UNDERFLOW is DBL_MIN/3.0,
drepper [Thu, 18 Dec 2003 03:58:09 +0000 (03:58 +0000)]
(feraiseexcept): Add delayed exception flushing, FE_UNDERFLOW is DBL_MIN/3.0,
FE_INEXACT is triggered by M_PI/69.69 converted to single precision.

16 years ago(feupdateenv): Read raised exception bits, OR with envp, pass to fesetenv.
drepper [Thu, 18 Dec 2003 03:57:50 +0000 (03:57 +0000)]
(feupdateenv): Read raised exception bits, OR with envp, pass to fesetenv.

16 years ago(fesetenv): Use asm 'ma,' completer, and gcc '+r' constraint.
drepper [Thu, 18 Dec 2003 03:57:31 +0000 (03:57 +0000)]
(fesetenv): Use asm 'ma,' completer, and gcc '+r' constraint.

16 years ago(feholdexcept): Use asm 'ma,' completer, and gcc '+r' constraint.
drepper [Thu, 18 Dec 2003 03:57:14 +0000 (03:57 +0000)]
(feholdexcept): Use asm 'ma,' completer, and gcc '+r' constraint.

16 years ago(fegetenv): use asm 'ma,' completer, and gcc '+r' constraint.
drepper [Thu, 18 Dec 2003 03:56:50 +0000 (03:56 +0000)]
(fegetenv): use asm 'ma,' completer, and gcc '+r' constraint.

16 years ago(feclearexcept): Right shift FE_ALL_EXCEPT before complimenting.
drepper [Thu, 18 Dec 2003 03:56:15 +0000 (03:56 +0000)]
(feclearexcept): Right shift FE_ALL_EXCEPT before complimenting.