platform/upstream/glibc.git
20 years agoUpdate.
Ulrich Drepper [Sat, 29 Nov 2003 07:20:47 +0000 (07:20 +0000)]
Update.

2003-10-10  Simon Josefsson  <jas@extundo.com>

* argp/argp-namefrob.h [!_LIBC]: Include mempcpy.h, strcase.h,
strchrnul.h, strndup.h (from gnulib).
* argp/argp-parse.c: Add alloca.h include snippet verbatim from
Autoconf manual.
* argp/argp-help.c: Replace alloca.h include snipper with verbatim
Autoconf manual version.
* argp/argp.h: Map __restrict to restrict or empty string when
necessary, copied verbatim from posix/regex.h.

20 years agoUpdate.
Ulrich Drepper [Sat, 29 Nov 2003 06:51:23 +0000 (06:51 +0000)]
Update.

2003-10-09  Steven Munroe  <sjmunroe@us.ibm.com>

* Makefile: Allow for c++-types-$(config-machine)-$(config-os).data in
addition to c++-types-$(base-machine)-$(config-os).data.
* scripts/data/c++-types-powerpc-linux-gnu.data: New file.
* scripts/data/c++-types-powerpc64-linux-gnu.data: New file.

20 years agoUpdate.
Ulrich Drepper [Sat, 29 Nov 2003 06:40:52 +0000 (06:40 +0000)]
Update.

* misc/mntent_r.c (decode_name): Fix decoding of tab, add decoding
of newline.
* manual/sysinfo.texi (mtab): Adjust description accordingly.
Reported by Andries.Brouwer@cwi.nl.

20 years agoUpdate.
Ulrich Drepper [Sat, 29 Nov 2003 06:13:09 +0000 (06:13 +0000)]
Update.

2003-11-28  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/x86_64/fpu/libm-test-ulps: Add some more minor changes
to compensate other setup.

2003-11-27  Andreas Jaeger  <aj@suse.de>

* sysdeps/x86_64/fpu/libm-test-ulps: Add ulps for new atan2 test.

* math/libm-test.inc (atan2_test): Add test that run infinitly.
Reported by "Willus" <etc231etc231@willus.com>.

2003-11-27  Michael Matz  <matz@suse.de>

* sysdeps/ieee754/dbl-64/mpsqrt.c (fastiroot): Fix 64-bit problem
with wrong types.

2003-11-28  Jakub Jelinek  <jakub@redhat.com>

* posix/regexec.c (acquire_init_state_context): Make inline.
Add always_inline attribute.
(check_matching): Add BE macro.  Move if (cur_state->has_backref)
into if (dfa->nbackref).
(sift_states_backward): Fix comment.
(transit_state): Add BE macro.  Move if (next_state->has_backref)
into if (dfa->nbackref && next_state).  Don't check for next_state
!= NULL twice.
* posix/regcomp.c (peek_token): Use opr.ctx_type instead of opr.idx
for ANCHOR.
(parse_expression): Only call init_word_char if word context will be
needed.

* posix/bug-regex11.c (tests): Add new tests.

* posix/tst-regex.c: Include getopt.h.
(timing): New variable.
(main): Set timing to 1 if --timing argument is present.
Add 2 new tests.
(run_test, run_test_backwards): Handle timing.

2003-11-27  Jakub Jelinek  <jakub@redhat.com>

* posix/regex_internal.h (re_string_t): Remove mbs_case field.
Add offsets, valid_raw_len, raw_len, raw_stop, mbs_allocated and
offsets_needed fields.  Change icase, is_utf8 and map_notascii
type from int bitfield to unsigned char.
(MBS_ALLOCATED, MBS_CASE_ALLOCATED): Remove.
(build_wcs_upper_buffer): Change prototype to return int.
(re_string_peek_byte_case, re_string_fetch_byte_case): Remove
defines, add prototypes.
* posix/regex_internal.c (re_string_allocate): Don't initialize
stop here.  Don't initialize mbs_case.  Set valid_raw_len.
Use mbs_allocated instead of MBS_* macros.
(re_string_construct): Don't initialize stop and valid_len here.
Don't initialize mbs_case.  Use mbs_allocated instead of MBS_*
macros.  Reallocate buffers if build_wcs_upper_buffer converted
too few bytes.  Set valid_len to bufs_len only for single byte
no translation and set in that case valid_raw_len as well.
(re_string_realloc_buffers): Reallocate offsets if not NULL.
Use mbs_allocated instead of MBS_ALLOCATED.  Don't reallocate
mbs_case.
(re_string_construct_common): Initialize raw_len, mbs_allocated,
stop and raw_stop.
(build_wcs_buffer): Apply pstr->trans before mbrtowc instead of
after it.  Set valid_raw_len.  Don't set mbs_case.
(build_wcs_upper_buffer): Return REG_NOERROR or REG_ESPACE.
Only use the fast path if !pstr->offsets_needed.  Apply pstr->trans
before mbrtowc instead of after it.  If upper case character
uses different number of bytes than lower case, goto to the
slow path.  Don't call towupper unnecessarily twice.  Set
valid_raw_len as well.  Handle in the slow path the case if
lower and upper case use different number of characters.
Don't set mbs_case.
(re_string_skip_chars): Use valid_raw_len instead of valid_len.
(build_upper_buffer): Don't set mbs_case.  Add BE macro.  Set
valid_raw_len.
(re_string_translate_buffer): Set mbs instead of mbs_case.  Set
valid_raw_len.
(re_string_reconstruct): Use raw_len/raw_stop to initialize
len/stop.  Clear valid_raw_len and offsets_needed when clearing
valid_len.  Use mbs_allocated instead of MBS_* macros.
Check original offset against valid_raw_len instead of valid_len.
Remove mbs_case handling.  Adjust valid_raw_len together with
valid_len.  If is_utf8 and looking for tip context, apply
pstr->trans first.  If buffers start with partial multi-byte
character, initialize mbs array as well if mbs_allocated.
Check return value of build_wcs_upper_buffer.
(re_string_peek_byte_case): New function.
(re_string_fetch_byte_case): New function.
(re_string_destruct): Use mbs_allocated instead of MBS_ALLOCATED.
Don't free mbs_case.  Free offsets.
* posix/regcomp.c (init_dfa): Only check if charset name is UTF-8
if mb_cur_max == 6.
* posix/regexec.c (re_search_internal): Initialize input.raw_stop
as well.  Use valid_raw_len instead of valid_len when looking
through fastmap.  Adjust registers through input.offsets.
(extend_buffers): Allow build_wcs_upper_buffer to fail.
* posix/bug-regex18.c (tests): Enable #ifdefed out tests.  Add new
tests.

20 years agoUpdate.
Ulrich Drepper [Thu, 27 Nov 2003 05:32:46 +0000 (05:32 +0000)]
Update.

2003-11-26  Jakub Jelinek  <jakub@redhat.com>

* posix/regexec.c (check_subexp_limits): Only check close
subexpression limitation if one is found.  Formatting.
(sift_states_backward, check_arrival, check_arrival_add_next_nodes):
Formatting.
* posix/bug-regex11.c (tests): Enable most #ifdefed out tests.
Add new test.

20 years agoUpdate.
Ulrich Drepper [Thu, 27 Nov 2003 05:24:58 +0000 (05:24 +0000)]
Update.

2003-11-26  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/kernel-features.h
(__ASSUME_PROT_GROWSUPDOWN): Define for 2.6.1 and up.
* sysdeps/unix/sysv/linux/dl-execstack.c: Omit compatibility code
if __ASSUME_PROT_GROWSUPDOWN is defined.

2003-11-26  Andreas Jaeger  <aj@suse.de>

* sysdeps/unix/sysv/linux/dl-execstack.c
(_dl_make_stack_executable): Set dl_stack_flags always for
success.

20 years agoUpdate.
Ulrich Drepper [Wed, 26 Nov 2003 07:40:32 +0000 (07:40 +0000)]
Update.

2003-06-22  Petter Reinholdtsen  <pere@hungry.com>

* locale/program/ld-monetary.c: Only check the first three
characters in int_curr_symbol against ISO-4217, to make the
separator character used by a locale independent of the content
in iso-4217.def.
* locale/iso-4217.def: Remove the space character from all
currency values to get the new test code in ld-monetary.c working.

20 years agoUpdate.
Ulrich Drepper [Wed, 26 Nov 2003 07:15:17 +0000 (07:15 +0000)]
Update.

2003-11-21  David Mosberger  <davidm@hpl.hp.com>

* elf/soinit.c (_fini): Put _fini() in .init_array section if
HAVE_INITFINI_ARRAY is defined.

20 years agoUpdate.
Ulrich Drepper [Wed, 26 Nov 2003 06:23:45 +0000 (06:23 +0000)]
Update.

2003-11-25  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/i386/fpu/bits/mathinline.h: Introduce __libc_sqrtl symbol.
Define it appropriately after last change.  Use it where __sqrtl
was used.

20 years agoUpdate.
Ulrich Drepper [Wed, 26 Nov 2003 05:38:12 +0000 (05:38 +0000)]
Update.

2003-11-25  H.J. Lu  <hongjiu.lu@intel.com>

* sysdeps/i386/fpu/bits/mathinline.h (sqrt): Don't inline
sqrt for gcc 3.3 and above.

20 years agoUpdate.
Ulrich Drepper [Wed, 26 Nov 2003 03:24:15 +0000 (03:24 +0000)]
Update.

2003-11-25  Ulrich Drepper  <drepper@redhat.com>

* posix/runptests.c (main): Make errors fatal.
* posix/PTESTS: One test in GA135 and GA136 check functionality
which seems not guaranteed.

2003-11-25  Jakub Jelinek  <jakub@redhat.com>

* posix/regexec.c (re_search_internal): If prune_impossible_nodes
returned REG_NOMATCH, set match_last to -1.  Don't initialize
pmatch[0] needlessly.  Fix comment.
(prune_impossible_nodes): Don't segfault on NULL state_log entry.
(set_regs): Fix comment.
* posix/regcomp.c (parse_bracket_exp): Only set has_plural_match
if adding both SIMPLE_BRACKET and COMPLEX_BRACKET.
(build_charclass_op): Set has_plural_match if adding both
SIMPLE_BRACKET and COMPLEX_BRACKET.
* posix/bug-regex11.c (tests): Fix register values for one commented
out test.  Add new tests.

* posix/regex_internal.c (re_string_allocate): Make sure init_len
is at least dfa->mb_cur_max.
(re_string_reconstruct): If is_utf8, don't fall back into
re_string_skip_chars just because idx points into a middle of
valid UTF-8 character.  Instead, set the wcs bytes which correspond
to the partial character bytes to WEOF.
* posix/regexec.c (re_search_internal): Allocate input.bufs_len + 1
instead of dfa->nodes_len + 1 state_log entries initially.
* posix/bug-regex20.c (main): Uncomment backwards case insensitive
tests.

20 years agoUpdate.
Ulrich Drepper [Mon, 24 Nov 2003 19:30:51 +0000 (19:30 +0000)]
Update.

2003-11-24  Jakub Jelinek  <jakub@redhat.com>

* posix/regex_internal.h (re_token_t): Add word_char bit.  Add
comment.
(re_dfa_t): Add sb_char field.
(bitset_mask): New function.
* posix/regcomp.c (free_dfa_content): Free sb_char.
(init_dfa): Don't initialize word_char unnecessarily.
Initialize sb_char.
(duplicate_node): Don't duplicate !word_char CHARACTERs with
NEXT_WORD_CONSTRAINT constraint or word_char CHARACTERs with
NEXT_NOTWORD_CONSTRAINT.  Return -1 in *new_idx instead.
(duplicate_node_closure): Handle clone_dest == -1 from
duplicate_node.
(peek_token): Initialize word_char bit.
(parse_expression, parse_dup_op): Add comments.
(parse_bracket_exp): Don't set bitmask bits for multi-byte char
starting bytes here at the beginning.  Mask off the bits right
before creating SIMPLE_BRACKET.
(build_charclass_op): Likewise.
* posix/regexec.c (group_nodes_into_DFAstates) <case OP_PERIOD>: Only
set accept bits for single-byte characters.
(group_nodes_into_DFAstates): Don't rely on characters 0 .. 127
being single byte encoded and the rest multi-byte.
* posix/bug-regex19.c (tests): Add new tests.
(do_mb_tests): Initialize t to *test.
(main): Fail even on do_mb_tests errors.

20 years agoUpdate.
Ulrich Drepper [Sun, 23 Nov 2003 19:21:23 +0000 (19:21 +0000)]
Update.

* posix/regexec.c: Correct several memory allocation problems.
Add more BE.
* posix/regex_internal.c: Likewise.
* posix/regcomp.c: Likewise.

20 years agoUpdate.
Ulrich Drepper [Sun, 23 Nov 2003 09:46:38 +0000 (09:46 +0000)]
Update.

2003-11-23  Ulrich Drepper  <drepper@redhat.com>

* posix/regexec.c: Add const in a number of places.
* posix/regex_internal.h: Make EPSILON_BIT a macro to help
debugging.  Its value isn't important.

20 years agoUpdate.
Ulrich Drepper [Sat, 22 Nov 2003 09:35:46 +0000 (09:35 +0000)]
Update.

2003-11-22  Ulrich Drepper  <drepper@redhat.com>

* posix/PTESTS: Fix first test of GA143.

* posix/regex_internal.c (re_dfa_add_node): Add BE, reallocation
isn't likely.

20 years agoUpdate.
Ulrich Drepper [Sat, 22 Nov 2003 07:29:27 +0000 (07:29 +0000)]
Update.

* locale/programs/charmap.c (charmap_read): If encoding is found
not ASCII compatible, set enc_not_ascii_compatible.
* locale/programs/charmap.h: Declare enc_not_ascii_compatible.
* locale/programs/ld-ctype.c (ctype_startup): If
enc_not_ascii_compatible is set, initialize to_nonascii to 1.

2003-11-22  Jakub Jelinek  <jakub@redhat.com>

* elf/rtld.c (process_envvars): Only honor LD_USE_LOAD_BIAS
if !__libc_enable_secure.

* sysdeps/generic/ldsodefs.h (_dl_use_load_bias): New _rtld_global
field.
* elf/rtld.c (_rtld_global): Initialize _dl_use_load_bias field.
(dl_main): Set GL(dl_use_load_bias) default.
(process_envvars): Set GL(dl_use_load_bias) from LD_USE_LOAD_BIAS.
Add EXTRA_LD_ENVVARS_13.
* elf/dl-support.c (_dl_use_load_bias): New variable.
* elf/dl-load.c (_dl_map_object_from_fd): Mask c->mapstart
with GL(dl_use_load_bias).
* sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add
LD_USE_LOAD_BIAS.
* sysdeps/unix/sysv/linux/dl-librecon.h (EXTRA_LD_ENVVARS): Remove.
(EXTRA_LD_ENVVARS_LINUX): Renamed to...
(EXTRA_LD_ENVVARS_13): ... this.  Remove case at the beginning.
* sysdeps/unix/sysv/linux/i386/dl-librecon.h (EXTRA_LD_ENVVARS):
Don't undefine first.  Remove EXTRA_LD_ENVVARS_LINUX.

2003-11-21  Ulrich Drepper  <drepper@redhat.com>

20 years agoUpdate.
Ulrich Drepper [Sat, 22 Nov 2003 00:00:56 +0000 (00:00 +0000)]
Update.

* posix/regcomp.c (duplicate_node): Remove unnecessary local variable.

* posix/regcomp.c (re_dfa_add_tree_node): Make fourth parameter a
pointer.  Adjust callers.

20 years agoUpdate.
Ulrich Drepper [Fri, 21 Nov 2003 23:42:18 +0000 (23:42 +0000)]
Update.

2003-11-21  Ulrich Drepper  <drepper@redhat.com>

* posix/regcomp.c (fetch_token): Change interface to match
peek_token.  This avoid some copying and reduces code size.

20 years agoUpdate.
Ulrich Drepper [Fri, 21 Nov 2003 22:43:47 +0000 (22:43 +0000)]
Update.

* posix/bug-regex19.c (tests): Add more tests.

20 years agoUpdate.
Ulrich Drepper [Fri, 21 Nov 2003 22:38:10 +0000 (22:38 +0000)]
Update.

* posix/bug-regex11.c: And one more commented out test.

20 years agoUpdate.
Ulrich Drepper [Fri, 21 Nov 2003 18:53:38 +0000 (18:53 +0000)]
Update.

2003-11-21  Jakub Jelinek  <jakub@redhat.com>

* Makefile (distribute): Add tst-cleanup4aux.c.

* tst-cond12.c (prepare): Add prototype.  Move after test-skeleton.c
include.

* tst-cond12.c (do_test): If USE_COND_SIGNAL is defined, use
pthread_cond_signal.

20 years agoUpdate.
Ulrich Drepper [Fri, 21 Nov 2003 10:00:11 +0000 (10:00 +0000)]
Update.

* sysdeps/pthread/pthread_cond_wait.c (__pthread_cond_wait): Don't
store mutex address if the current value is ~0l.
* sysdeps/pthread/pthread_cond_timedwait.c
(__pthread_cond_timedwait): Likewise.
* sysdeps/pthread/pthread_cond_broadcast.c
(__pthread_cond_broadcast): Don't use requeue for pshared
condvars.

* sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
(__pthread_cond_wait): Don't store mutex address if the current
value is ~0l.
* sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
(__pthread_cond_timedwait): Likewise.
* sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
(__pthread_cond_broadcast): Don't use requeue for pshared
condvars.

* pthread_cond_init.c (__pthread_cond_init): Initialize __mutex
element with ~0l for pshared condvars, with NULL otherwise.

* sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S
(__pthread_cond_wait): Don't store mutex address if the current
value is ~0l.
* sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S
(__pthread_cond_timedwait): Likewise.
* sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S
(__pthread_cond_broadcast): Don't use requeue for pshared
condvars.

20 years agoUpdate.
Ulrich Drepper [Fri, 21 Nov 2003 09:25:26 +0000 (09:25 +0000)]
Update.

2003-11-21  Jakub Jelinek  <jakub@redhat.com>

* posix/tst-rxspencer.c (mb_tests): Don't run identical multi-byte
tests multiple times unnecessarily.

2003-11-21  Jakub Jelinek  <jakub@redhat.com>

* posix/bug-regex19.c (BRE, ERE): Define.
(tests): Add many new tests, remove UTF-8 ones.
(do_one_test, do_mb_tests): New functions.
(main): Rewritten using do_one_test and do_mb_tests.

20 years agoUpdate.
Ulrich Drepper [Fri, 21 Nov 2003 09:20:45 +0000 (09:20 +0000)]
Update.

2003-11-21  Ulrich Drepper  <drepper@redhat.com>

* Makefile: Add rules to build and run tst-cond12.
* tst-cond12.c: New file.

20 years agoUpdate.
Ulrich Drepper [Thu, 20 Nov 2003 23:36:40 +0000 (23:36 +0000)]
Update.

2003-11-20  Ulrich Drepper  <drepper@redhat.com>

* posix/PTESTS: Fix first test in GA143.

2003-11-20  Jakub Jelinek  <jakub@redhat.com>

* posix/regex_internal.h (re_dfastate_t): Remove trtable_search.
Add word_trtable.
* posix/regex_internal.c (create_newstate_common, free_state):
Don't free trtable_search.
* posix/regexec.c (check_matching): Remove fl_search argument.
(transit_state_sb): Likewise.  #ifdef out as unused.
(build_trtable): Remove fl_search argument.  Set state->word_trtable
and state->trtable.  Build separate word and non-word tables if
multi-byte and they differ for some character.
(transit_state): Remove fl_search argument.  Don't update
state->trtable here.  Handle state->word_trtable.
#ifdef out unused call to transit_state_sb.
(re_search_internal): Update check_matching caller.
(group_nodes_into_DFAstates): Don't clear non-ascii chars in accepts
bitmask for multi-byte locales.
* posix/bug-regex19.c (tests): Enable some commented out tests, add
2 new tests.
* posix/tst-rxspencer.c (mb_tests): Don't test [[=b=]] for now as
multi-byte.  Don't run identical multi-byte tests multiple times
unnecessarily.
(main): Check setlocale return value.
* posix/Makefile (tst-rxspencer-ARGS): Add --utf8 argument.
(tst-rxspencer-ENV): Remove MALLOC_TRACE, add LOCPATH.
($(objpfx)tst-rxspencer-mem): Run another tst-rxspencer test
here, without --utf8 argument but with MALLOC_TRACE.

20 years agoUpdate.
Ulrich Drepper [Thu, 20 Nov 2003 08:10:05 +0000 (08:10 +0000)]
Update.

20 years agoUpdate.
Ulrich Drepper [Wed, 19 Nov 2003 22:42:09 +0000 (22:42 +0000)]
Update.

2003-11-19  Ulrich Drepper  <drepper@redhat.com>

* posix/PTESTS: 2nd GA 135 and 1st GA 136 tests are wrong, too.

20 years agoUpdate.
Ulrich Drepper [Wed, 19 Nov 2003 19:37:31 +0000 (19:37 +0000)]
Update.

2003-11-19  Jakub Jelinek  <jakub@redhat.com>

* posix/regexec.c (extend_buffers): Don't allocate
twice as big state_log as needed.  Don't modify pstr->valid_len
for mb_cur_max == 1 !icase !trans.

* posix/regcomp.c (free_bin_tree): Removed.
(create_tree): Add dfa argument.  Don't call re_malloc for
each tree, instead allocate from str_tree_storage.
(re_dfa_add_tree_node): New function.
(free_dfa_content): Handle freeing if dfa->nodes == NULL
or dfa->state_table == NULL.
(re_compile_internal): Call free_dfa_content if init_dfa
fails.  Call free_workarea_compile, re_string_destruct
and free_dfa_content for most of the other failure paths.
(init_dfa): Initialize str_tree_storage_idx.
Don't clear any fields on allocation failure.
(free_workarea_compile): Free str_tree_storage chunks
instead of free_bin_tree (dfa->str_tree).
(parse): Call re_dfa_add_tree_node instead of re_dfa_add_node
followed by create_tree.  Add dfa argument to remaining
create_tree calls.  Remove new_idx variable.  Remove calls
to free_bin_tree.
(parse_reg_exp, parse_branch, parse_expression, parse_sub_exp,
parse_dup_op, parse_bracket_exp, build_charclass_op): Likewise.
(duplicate_tree): Remove calls to free_bin_tree, add dfa
argument to create_tree.
* posix/regex_internal.h (BIN_TREE_STORAGE_SIZE): Define.
(bin_tree_storage_t): New type.
(re_dfa_t): Add str_tree_storage and str_tree_storage_idx
fields.
* posix/Makefile (tests): Add bug-regex21.
(generated): Add bug-regex21-mem, bug-regex21.mtrace,
tst-rxspencer-mem and tst-rxspencer.mtrace.
(tests): Depend on $(objpfx)bug-regex21-mem
and $(objpfx)tst-rxspencer-mem.
(bug-regex21-ENV, tst-rxspencer-ENV): Set.
($(objpfx)bug-regex21-mem, $(objpfx)tst-rxspencer-mem): New.
* posix/tst-rxspencer.c (main): Add call to mtrace.
Free line at the end.
* posix/bug-regex21.c: New test.

* posix/regexec.c (get_subexp): After calling get_subexp_sub

20 years agoUpdate.
Ulrich Drepper [Wed, 19 Nov 2003 09:24:54 +0000 (09:24 +0000)]
Update.

* posix/bug-regex20.c: Correct invalid UTF-8 sequences.

20 years agoUpdate.
Ulrich Drepper [Wed, 19 Nov 2003 09:09:27 +0000 (09:09 +0000)]
Update.

* posix/regex_internal.c (build_wcs_upper_buffer): If mbrtowc
fails, just use the byte, do no fancy conversions.

20 years agoUpdate.
Ulrich Drepper [Wed, 19 Nov 2003 08:43:18 +0000 (08:43 +0000)]
Update.

2003-11-19  Ulrich Drepper  <drepper@redhat.com>

* posix/regex_internal.h (re_string_first_byte): Use ->valid_len
not ->len.
(re_string_is_single_byte_char): Likewise.

* posix/regexec.c (get_subexp): After calling get_subexp_seb

20 years agoUpdate.
Ulrich Drepper [Wed, 19 Nov 2003 07:18:32 +0000 (07:18 +0000)]
Update.

2003-11-18  Ulrich Drepper  <drepper@redhat.com>

* posix/regexec.c (get_subexp): Adter calling get_subexp_seb
reload buf and bkref_str.  Little optimization by avoiding memcmp.

2003-11-14  David Mosberger   <davidm@hpl.hp.com>

20 years agoUpdate.
Ulrich Drepper [Wed, 19 Nov 2003 06:12:51 +0000 (06:12 +0000)]
Update.

2003-11-14 David Mosberger   <davidm@hpl.hp.com>

* sysdeps/unix/sysv/linux/ia64/sysdep.h
(GAS_ALIGN_BREAKS_UNWIND_INFO): Define this macro to indicate
that all existing GAS versions have a problem with .align inside
a function.
* sysdeps/ia64/memccpy.S: Work around GAS_ALIGN_BREAKS_UNWIND_INFO bug.
* sysdeps/ia64/memcpy.S: Likewise.
* sysdeps/ia64/memset.S: Likewise.
* sysdeps/ia64/memmove.S: Likewise.  Also move the jump-table to
out of .text into .rodata, where it belongs.

* sysdeps/unix/sysv/linux/ia64/pipe.S: There is no need to
save/restore input-arguments, because they're necessarily
preserved by the kernel to support syscall-restart.

20 years agoUpdate.
Ulrich Drepper [Tue, 18 Nov 2003 23:40:59 +0000 (23:40 +0000)]
Update.

* 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>

20 years agoUpdate.
Ulrich Drepper [Tue, 18 Nov 2003 19:12:03 +0000 (19:12 +0000)]
Update.

2003-11-18  Jakub Jelinek  <jakub@redhat.com>

* io/bug-ftw4.c: Include string.h.
* posix/fnmatch.c (mbsinit): Remove define.

20 years agoUpdate.
Ulrich Drepper [Tue, 18 Nov 2003 07:25:02 +0000 (07:25 +0000)]
Update.

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.

20 years agoUpdate.
Ulrich Drepper [Tue, 18 Nov 2003 07:04:13 +0000 (07:04 +0000)]
Update.

2003-11-17  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/posix/getaddrinfo.c: Add support for destination address
selection according to RFC 3484.

20 years agoUpdate.
Ulrich Drepper [Mon, 17 Nov 2003 18:29:34 +0000 (18:29 +0000)]
Update.

2003-11-17  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/pthread/configure.in: Make missing forced unwind support
fatal.

20 years agoUpdate.
Ulrich Drepper [Sun, 16 Nov 2003 07:14:28 +0000 (07:14 +0000)]
Update.

* 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.

20 years agoUpdate.
Ulrich Drepper [Sat, 15 Nov 2003 21:58:21 +0000 (21:58 +0000)]
Update.

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.

20 years agoUpdate.
Ulrich Drepper [Fri, 14 Nov 2003 18:17:12 +0000 (18:17 +0000)]
Update.

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.

20 years agoUpdate.
Ulrich Drepper [Fri, 14 Nov 2003 00:47:47 +0000 (00:47 +0000)]
Update.

2003-11-12  David Mosberger  <davidm@hpl.hp.com>

* sysdeps/ia64/dl-machine.h: Force inlining of
elf_machine_runtime_setup().

20 years agoUpdate.
Ulrich Drepper [Fri, 14 Nov 2003 00:36:46 +0000 (00:36 +0000)]
Update.

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).

20 years agoUpdate.
Ulrich Drepper [Thu, 13 Nov 2003 23:39:31 +0000 (23:39 +0000)]
Update.

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.

20 years agoUpdate.
Ulrich Drepper [Thu, 13 Nov 2003 21:23:11 +0000 (21:23 +0000)]
Update.

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.

20 years agoUpdate.
Ulrich Drepper [Thu, 13 Nov 2003 20:52:55 +0000 (20:52 +0000)]
Update.

* 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.

20 years agoUpdate.
Ulrich Drepper [Thu, 13 Nov 2003 20:04:16 +0000 (20:04 +0000)]
Update.

* 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.

20 years agoUpdate.
Ulrich Drepper [Thu, 13 Nov 2003 18:35:19 +0000 (18:35 +0000)]
Update.

* posix/runtests.c (run_a_test): If regcomp failed, reset last_pattern.

20 years agoUpdate.
Ulrich Drepper [Thu, 13 Nov 2003 17:26:58 +0000 (17:26 +0000)]
Update.

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.

20 years ago(parse_dup_op): Fail with REG_BADBR is first number in {,} expression is larger.
Ulrich Drepper [Thu, 13 Nov 2003 17:25:46 +0000 (17:25 +0000)]
(parse_dup_op): Fail with REG_BADBR is first number in {,} expression is larger.

20 years agoUpdate.
Andreas Jaeger [Thu, 13 Nov 2003 16:49:49 +0000 (16:49 +0000)]
Update.

20 years agoUpdate.
Andreas Jaeger [Thu, 13 Nov 2003 16:41:19 +0000 (16:41 +0000)]
Update.

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.

20 years ago* sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
Andreas Jaeger [Thu, 13 Nov 2003 16:40:13 +0000 (16:40 +0000)]
* 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.

20 years agoUpdate.
Ulrich Drepper [Thu, 13 Nov 2003 09:54:39 +0000 (09:54 +0000)]
Update.

2003-11-13  Ulrich Drepper  <drepper@redhat.com>

* posix/regcomp.c (parse_expression): In BRE consecutive
duplications are not allowed.

20 years agoUpdate.
Ulrich Drepper [Thu, 13 Nov 2003 06:38:30 +0000 (06:38 +0000)]
Update.

* posix/regcomp.c (parse_bracket_exp): If end of expression is
seen, return EBRACK error, not BADPAT.

20 years agoUpdate.
Ulrich Drepper [Thu, 13 Nov 2003 06:01:46 +0000 (06:01 +0000)]
Update.

* 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.

20 years agoUpdate.
Ulrich Drepper [Thu, 13 Nov 2003 01:04:26 +0000 (01:04 +0000)]
Update.

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.

20 years agoUpdate.
Ulrich Drepper [Wed, 12 Nov 2003 19:09:20 +0000 (19:09 +0000)]
Update.

* 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>

20 years agoUpdate.
Ulrich Drepper [Wed, 12 Nov 2003 17:47:46 +0000 (17:47 +0000)]
Update.

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.

20 years agoUpdate.
Ulrich Drepper [Wed, 12 Nov 2003 07:56:31 +0000 (07:56 +0000)]
Update.

* posix/bug-regex17.c: New file
* posix/bug-regex18.c: New file.

20 years agoUpdate.
Ulrich Drepper [Wed, 12 Nov 2003 06:13:10 +0000 (06:13 +0000)]
Update.

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.

20 years agoDon't declare __pthread_unwind as weak inside libpthread.
Ulrich Drepper [Wed, 12 Nov 2003 05:36:25 +0000 (05:36 +0000)]
Don't declare __pthread_unwind as weak inside libpthread.

20 years ago* sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h (pread, pwrite):
Roland McGrath [Wed, 12 Nov 2003 01:04:12 +0000 (01:04 +0000)]
* sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h (pread, pwrite):

Define __NR_pread/__NR_pwrite if not done in kernel headers

20 years ago* manual/xtract-typefun.awk: Swallow [(){}*] from function names.
Roland McGrath [Wed, 12 Nov 2003 00:50:03 +0000 (00:50 +0000)]
* manual/xtract-typefun.awk: Swallow [(){}*] from function names.

20 years ago* manual/Makefile (info): Don't depend on dir-add.info.
Roland McGrath [Wed, 12 Nov 2003 00:37:15 +0000 (00:37 +0000)]
* 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.

20 years ago2003-11-11 Roland McGrath <roland@redhat.com>
Roland McGrath [Wed, 12 Nov 2003 00:37:03 +0000 (00:37 +0000)]
2003-11-11  Roland McGrath  <roland@redhat.com>

* 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.

20 years agoUpdate.
Ulrich Drepper [Tue, 11 Nov 2003 07:25:45 +0000 (07:25 +0000)]
Update.

2003-11-08  Andreas Schwab  <schwab@suse.de>

* scripts/data/c++-types-ia64-linux-gnu.data: New file.

20 years agoUpdate.
Ulrich Drepper [Tue, 11 Nov 2003 07:22:02 +0000 (07:22 +0000)]
Update.

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.

20 years ago(re_string_char_size_at): Don't look beyond valid_len wide chars.
Ulrich Drepper [Tue, 11 Nov 2003 06:58:52 +0000 (06:58 +0000)]
(re_string_char_size_at): Don't look beyond valid_len wide chars.

20 years ago* manual/examples/dir2.c (one): Add const to argument type.
Roland McGrath [Mon, 10 Nov 2003 01:18:56 +0000 (01:18 +0000)]
* manual/examples/dir2.c (one): Add const to argument type.

Reported by J de Haan <j.de.haan@home.nl>.

20 years ago2003-11-09 Roland McGrath <roland@redhat.com>
Roland McGrath [Mon, 10 Nov 2003 01:18:43 +0000 (01:18 +0000)]
2003-11-09  Roland McGrath  <roland@redhat.com>

* manual/examples/dir2.c (one): Add const to argument type.
Reported by J de Haan <j.de.haan@home.nl>.

20 years agoUpdate.
Ulrich Drepper [Sat, 8 Nov 2003 17:36:31 +0000 (17:36 +0000)]
Update.

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.

20 years agoUpdate.
Ulrich Drepper [Sat, 8 Nov 2003 02:50:11 +0000 (02:50 +0000)]
Update.

2003-11-07  Ulrich Drepper  <drepper@redhat.com>

* po/pl.po: Update from translation team.

20 years agoUpdate.
Ulrich Drepper [Fri, 7 Nov 2003 23:00:00 +0000 (23:00 +0000)]
Update.

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.

20 years agoUpdate.
Ulrich Drepper [Thu, 6 Nov 2003 09:48:05 +0000 (09:48 +0000)]
Update.

2003-11-06  Ulrich Drepper  <drepper@redhat.com>

* Makefile: Add magic to clean up correctly.

20 years agoUpdate.
Ulrich Drepper [Thu, 6 Nov 2003 04:29:42 +0000 (04:29 +0000)]
Update.

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.

20 years agoUpdate.
Ulrich Drepper [Tue, 4 Nov 2003 23:43:40 +0000 (23:43 +0000)]
Update.

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.

20 years agoUpdate.
Ulrich Drepper [Tue, 4 Nov 2003 21:11:41 +0000 (21:11 +0000)]
Update.

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.

20 years agoUpdate.
Ulrich Drepper [Tue, 4 Nov 2003 20:07:11 +0000 (20:07 +0000)]
Update.

2003-11-04  Ulrich Drepper  <drepper@redhat.com>

* tst-numeric.data: Fix fallout from nb_NO introduction.
* Makefile (LOCALES): Likewise.

20 years agoUpdate.
Ulrich Drepper [Tue, 4 Nov 2003 09:58:57 +0000 (09:58 +0000)]
Update.

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.

20 years agoUpdate.
Ulrich Drepper [Tue, 4 Nov 2003 07:57:51 +0000 (07:57 +0000)]
Update.

* intl/locale.alias: nb_NO is now the correct name, not no_NO.

20 years agoUpdate.
Ulrich Drepper [Tue, 4 Nov 2003 07:06:08 +0000 (07:06 +0000)]
Update.

* SUPPORTED (SUPPORTED-LOCALES): Add more support locales.

2003-11-03  Ulrich Drepper  <drepper@redhat.com>

20 years agoUpdate.
Ulrich Drepper [Tue, 4 Nov 2003 04:58:50 +0000 (04:58 +0000)]
Update.

* 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.

20 years agoUpdate.
Ulrich Drepper [Mon, 3 Nov 2003 21:27:13 +0000 (21:27 +0000)]
Update.

2003-11-03  Ulrich Drepper  <drepper@redhat.com>

* locale/iso-639.def: Add Blin.
Patch by Daniel Yacob <locales@geez.org>.

20 years agoUpdate.
Ulrich Drepper [Mon, 3 Nov 2003 19:13:38 +0000 (19:13 +0000)]
Update.

2003-11-03  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/pthread/tst-timer.c (main): Initialize
sigev2.sigev_value as well.

20 years agoUpdate.
Ulrich Drepper [Mon, 3 Nov 2003 17:41:17 +0000 (17:41 +0000)]
Update.

2003-10-31  Steven Munroe  <sjmunroe@us.ibm.com>

* sysdeps/powerpc/powerpc32/strncmp.S: New File.
* sysdeps/powerpc/powerpc64/strncmp.S: New File.

20 years agoUpdate.
Ulrich Drepper [Mon, 3 Nov 2003 17:20:32 +0000 (17:20 +0000)]
Update.

2003-11-01  Randolph Chung  <tausq@debian.org>

* sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
Add missing parentheses.

20 years ago(LOAD_ARGS_0) (LOAD_ARGS_1, LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4) (LOAD_ARGS_5,...
Ulrich Drepper [Mon, 3 Nov 2003 17:18:38 +0000 (17:18 +0000)]
(LOAD_ARGS_0) (LOAD_ARGS_1, LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4) (LOAD_ARGS_5, LOAD_ARGS_6): Add missing parentheses.

20 years ago* libio/bug-ftell.c (do_test): Add a cast.
Roland McGrath [Sat, 1 Nov 2003 21:11:05 +0000 (21:11 +0000)]
* libio/bug-ftell.c (do_test): Add a cast.

20 years ago* Makerules (shlib.lds): Make sure that ld doesn't try to link
Roland McGrath [Sat, 1 Nov 2003 00:36:04 +0000 (00:36 +0000)]
* Makerules (shlib.lds): Make sure that ld doesn't try to link

anything while generating the linker script.

20 years ago* locale/lc-ctype.c (_nl_postload_ctype): Update _nl_global_locale's
Roland McGrath [Fri, 31 Oct 2003 23:35:42 +0000 (23:35 +0000)]
* locale/lc-ctype.c (_nl_postload_ctype): Update _nl_global_locale's

special members.

20 years ago2003-10-31 Roland McGrath <roland@redhat.com>
Roland McGrath [Fri, 31 Oct 2003 23:35:21 +0000 (23:35 +0000)]
2003-10-31  Roland McGrath  <roland@redhat.com>

* locale/lc-ctype.c (_nl_postload_ctype): Update _nl_global_locale's
special members.

20 years agoUpdate.
Ulrich Drepper [Thu, 30 Oct 2003 02:14:20 +0000 (02:14 +0000)]
Update.

2003-10-29  Ulrich Drepper  <drepper@redhat.com>

* po/be.po: Update from translation team.

20 years agoUpdate.
Ulrich Drepper [Mon, 27 Oct 2003 20:09:12 +0000 (20:09 +0000)]
Update.

* elf/rtld.c (map_doit): Pass __RTLD_OPENEXEC in last parameter to
_dl_map_object.

20 years agoUpdate.
Ulrich Drepper [Mon, 27 Oct 2003 09:18:17 +0000 (09:18 +0000)]
Update.

* elf/sprof.c (load_shobj): Use l_map_start not l_addr to locate
ELF header.

20 years agoUpdate.
Ulrich Drepper [Mon, 27 Oct 2003 08:44:53 +0000 (08:44 +0000)]
Update.

2003-10-27  Ulrich Drepper  <drepper@redhat.com>

* inet/rcmd.c (__validuser2_sa): Remove unnecessary code to skip
rest of line.  We use getline which means this cannot happen.

20 years agoUpdate.
Ulrich Drepper [Mon, 27 Oct 2003 04:05:04 +0000 (04:05 +0000)]
Update.

* sysdeps/unix/sysv/linux/internal_statvfs.c (__internal_statvfs):
Avoid infinite loops in case the mounts file is hosed.
* io/Makefile: Add rules to build and run tst-statvfs.
* io/tst-statvfs.c: New file.

20 years agoUpdate.
Ulrich Drepper [Mon, 27 Oct 2003 01:36:12 +0000 (01:36 +0000)]
Update.

* include/dlfcn.h (__RTLD_OPENEXEC): Define.
* elf/dl-load.c (_dl_map_object_from_fd): Don't allow loading
executables unless __RTLD_OPENEXEC flag is present.
* elf/rtld.c (dl_main): Pass __RTLD_OPENEXEC flag to
_dl_map_object when loading the executable.

reverse lookup format for IPv6 addresses is using bitstring and
* resolv/ns_name.c: Implement encoding and decoding bitstring in

20 years agoUpdate.
Ulrich Drepper [Sun, 26 Oct 2003 20:47:33 +0000 (20:47 +0000)]
Update.

* sysdeps/generic/glob.c (glob): Handle GLOB_BRACE and escaping
correctly.
* posix/globtest.sh: Add tests for GLOB_BRACE and escaping.

20 years agoUpdate.
Ulrich Drepper [Sun, 26 Oct 2003 08:34:38 +0000 (08:34 +0000)]
Update.

2003-10-26  Ulrich Drepper  <drepper@redhat.com>

* resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Default
reverse lookup format for IPv6 addresses is using bitfields and
.ip6.arpa suffix.
* resolv/ns_name.c: Implement encoding and decoding bitfields in
hex format.