kopensolaris-gnu/glibc.git
16 years ago(mem2chunk_check, top_check): Handle non-contiguous arena.
drepper [Tue, 14 Dec 2004 21:18:02 +0000 (21:18 +0000)]
(mem2chunk_check, top_check): Handle non-contiguous arena.
Add further checks for top chunk.

16 years agoUpdate.
drepper [Tue, 14 Dec 2004 21:00:27 +0000 (21:00 +0000)]
Update.

16 years agoUpdate.
drepper [Tue, 14 Dec 2004 20:59:44 +0000 (20:59 +0000)]
Update.

16 years agoUpdate.
drepper [Tue, 14 Dec 2004 15:39:54 +0000 (15:39 +0000)]
Update.

16 years ago(__sysconf_check_spec): Remove leading underscore from GETCONF_DIR
drepper [Tue, 14 Dec 2004 15:39:14 +0000 (15:39 +0000)]
(__sysconf_check_spec): Remove leading underscore from GETCONF_DIR
filenames.

16 years agoUpdate. fedora-glibc-20041214T1058
drepper [Tue, 14 Dec 2004 02:41:43 +0000 (02:41 +0000)]
Update.

16 years agoUpdate.
drepper [Tue, 14 Dec 2004 02:40:46 +0000 (02:40 +0000)]
Update.

16 years agoUpdate. fedora-glibc-20041213T2323
drepper [Mon, 13 Dec 2004 21:50:20 +0000 (21:50 +0000)]
Update.

16 years ago(FUNCTION_NAME): Double buffer size each round to avoid problems with
drepper [Mon, 13 Dec 2004 21:49:29 +0000 (21:49 +0000)]
(FUNCTION_NAME): Double buffer size each round to avoid problems with
delays for some people's huge entries.

16 years ago(__nss_getent): Double buffer size each round to avoid problems with
drepper [Mon, 13 Dec 2004 21:48:34 +0000 (21:48 +0000)]
(__nss_getent): Double buffer size each round to avoid problems with
delays for some people's huge entries.

16 years agoUpdate.
drepper [Mon, 13 Dec 2004 21:29:18 +0000 (21:29 +0000)]
Update.

16 years agon): Prepend just $GETCONF_DIR/ instead of $GETCONF_DIR/_ to spec.
drepper [Mon, 13 Dec 2004 21:28:34 +0000 (21:28 +0000)]
n): Prepend just $GETCONF_DIR/ instead of $GETCONF_DIR/_ to spec.

16 years ago(confstr): Remove leading underscores for
drepper [Mon, 13 Dec 2004 21:28:03 +0000 (21:28 +0000)]
(confstr): Remove leading underscores for
_CS_POSIX_V6_WIDTH_RESTRICTED_ENVS.

16 years agoUpdate.
drepper [Sun, 12 Dec 2004 21:06:37 +0000 (21:06 +0000)]
Update.

16 years agoInclude <stdbool.h> to match includes used in nptl.
drepper [Sun, 12 Dec 2004 21:05:54 +0000 (21:05 +0000)]
Include <stdbool.h> to match includes used in nptl.

16 years agoUpdate.
drepper [Sun, 12 Dec 2004 20:54:04 +0000 (20:54 +0000)]
Update.

16 years ago(_dl_map_object_from_fd): Fix computation of mapping start. It must
drepper [Sun, 12 Dec 2004 20:49:28 +0000 (20:49 +0000)]
(_dl_map_object_from_fd): Fix computation of mapping start.  It must
take the actual pagesize into account, not the alignment in the file.

16 years agoUpdate.
drepper [Sat, 11 Dec 2004 21:15:24 +0000 (21:15 +0000)]
Update.

16 years ago(_int_realloc): Add checks for corrupted memory.
drepper [Sat, 11 Dec 2004 21:14:40 +0000 (21:14 +0000)]
(_int_realloc): Add checks for corrupted memory.
(_int_free): Make clear message are result of free() calls.

16 years ago(_int_realloc): Remove unnecessary tests for oldmem and size == 0.
drepper [Sat, 11 Dec 2004 20:15:35 +0000 (20:15 +0000)]
(_int_realloc): Remove unnecessary tests for oldmem and size == 0.

16 years agoUpdate.
drepper [Fri, 10 Dec 2004 11:42:45 +0000 (11:42 +0000)]
Update.

16 years ago(arena_get2): Prevent endless loop if arenas and list lock are taken.
drepper [Fri, 10 Dec 2004 11:42:08 +0000 (11:42 +0000)]
(arena_get2): Prevent endless loop if arenas and list lock are taken.

16 years ago.
drepper [Fri, 10 Dec 2004 10:56:19 +0000 (10:56 +0000)]
.

16 years agoUpdate.
drepper [Fri, 10 Dec 2004 10:44:01 +0000 (10:44 +0000)]
Update.

16 years ago(_nss_nisplus_getnetgrent_r): Add check if the value is not an empty
drepper [Fri, 10 Dec 2004 10:43:30 +0000 (10:43 +0000)]
(_nss_nisplus_getnetgrent_r): Add check if the value is not an empty
string.  [BZ #305]

16 years agoUpdate. fedora-glibc-20041210T0634
drepper [Fri, 10 Dec 2004 04:41:46 +0000 (04:41 +0000)]
Update.

16 years ago(INTERNAL (__STRTOF)): If densize > 2
drepper [Fri, 10 Dec 2004 04:41:20 +0000 (04:41 +0000)]
(INTERNAL (__STRTOF)): If densize > 2
and numsize < densize, always shift num up by empty + 1 limbs.

16 years agoUpdate.
drepper [Fri, 10 Dec 2004 04:37:58 +0000 (04:37 +0000)]
Update.

16 years ago(create_newstate_common): Remove.
drepper [Fri, 10 Dec 2004 04:37:32 +0000 (04:37 +0000)]
(create_newstate_common): Remove.
(register_state): Move part of it here.  Initialize non_eps_nodes.
(free_state): Free inveclosure and non_eps_nodes.
(create_cd_newstate, create_ci_newstate): Allocate the new
re_dfastate_t here.

16 years ago(re_dfastate_t): Add non_eps_nodes and inveclosure.
drepper [Fri, 10 Dec 2004 04:37:02 +0000 (04:37 +0000)]
(re_dfastate_t): Add non_eps_nodes and inveclosure.
(re_string_elem_size_at, re_string_char_size_at, re_string_wchar_at,
re_string_context_at, re_string_peek_byte_case,
re_string_fetch_byte_case, re_node_set_compare, re_node_set_contains):
Declare as pure.

16 years ago(proceed_next_node): Simplify treatment of epsilon
drepper [Fri, 10 Dec 2004 04:35:29 +0000 (04:35 +0000)]
(proceed_next_node): Simplify treatment of epsilon
nodes.  Pass the pushed node to push_fail_stack.
(push_fail_stack): Accept a single node rather than an array
of two epsilon destinations.
(build_sifted_states): Only walk non-epsilon nodes.
(check_arrival): Don't pass epsilon nodes to
check_arrival_add_next_nodes.
(check_arrival_add_next_nodes) [DEBUG]: Abort if an epsilon node is
found.
(check_node_accept): Do expensive checks later.
(add_epsilon_src_nodes): Cache result of merging the inveclosures.

16 years agoUpdate.
drepper [Fri, 10 Dec 2004 01:36:18 +0000 (01:36 +0000)]
Update.

16 years ago(public_rEALLOc): Add parameter checks.
drepper [Fri, 10 Dec 2004 01:35:27 +0000 (01:35 +0000)]
(public_rEALLOc): Add parameter checks.
(_int_free): Provide better error message for invalid pointers.

16 years agoUpdate.
drepper [Fri, 10 Dec 2004 00:41:30 +0000 (00:41 +0000)]
Update.

16 years ago(__sysconf): If _POSIX_CPUTIME resp. _POSIX_THREAD_CPUTIME is defined
drepper [Fri, 10 Dec 2004 00:40:46 +0000 (00:40 +0000)]
(__sysconf): If _POSIX_CPUTIME resp.  _POSIX_THREAD_CPUTIME is defined
to 0, return -1 for the corresponding _SC_ argument.

16 years agoUse defined _POSIX_CPUTIME && _POSIX_CPUTIME >= 0 conditionals instead
drepper [Fri, 10 Dec 2004 00:40:08 +0000 (00:40 +0000)]
Use defined _POSIX_CPUTIME && _POSIX_CPUTIME >= 0 conditionals instead
of defined _POSIX_CPUTIME.
(do_test): If _POSIX_CPUTIME == 0, call sysconf to see if CPUTIME
option is available.

16 years agoUse defined _POSIX_CPUTIME && _POSIX_CPUTIME >= 0 conditionals instead
drepper [Fri, 10 Dec 2004 00:39:38 +0000 (00:39 +0000)]
Use defined _POSIX_CPUTIME && _POSIX_CPUTIME >= 0 conditionals instead
of defined _POSIX_CPUTIME.
(main): If _POSIX_CPUTIME == 0, call sysconf to see if CPUTIME option
is available.

16 years agoUpdate.
drepper [Fri, 10 Dec 2004 00:38:49 +0000 (00:38 +0000)]
Update.

16 years ago(do_test): Check for availability of CPU clock.
drepper [Fri, 10 Dec 2004 00:37:46 +0000 (00:37 +0000)]
(do_test): Check for availability of CPU clock.

16 years ago(__timer_signal_thread_pclk, __timer_signal_thread_tclk): Remove.
drepper [Fri, 10 Dec 2004 00:32:14 +0000 (00:32 +0000)]
(__timer_signal_thread_pclk, __timer_signal_thread_tclk): Remove.

16 years ago(__timer_signal_thread_pclk, __timer_signal_thread_tclk): Remove.
drepper [Fri, 10 Dec 2004 00:31:32 +0000 (00:31 +0000)]
(__timer_signal_thread_pclk, __timer_signal_thread_tclk): Remove.
(init_module): Remove their initialization.
(thread_cleanup): Remove their cleanup assertions.

16 years agoNot needed anymore.
drepper [Fri, 10 Dec 2004 00:31:01 +0000 (00:31 +0000)]
Not needed anymore.

16 years ago(timer_create): Remove unused code handling CLOCK_PROCESS_CPUTIME_ID
drepper [Fri, 10 Dec 2004 00:30:57 +0000 (00:30 +0000)]
(timer_create): Remove unused code handling CLOCK_PROCESS_CPUTIME_ID
and CLOCK_THREAD_CPUTIME_ID.

16 years ago(_POSIX_CPUTIME, _POSIX_THREAD_CPUTIME): Define to 0.
drepper [Fri, 10 Dec 2004 00:30:31 +0000 (00:30 +0000)]
(_POSIX_CPUTIME, _POSIX_THREAD_CPUTIME): Define to 0.

16 years agoUpdate.
drepper [Fri, 10 Dec 2004 00:26:55 +0000 (00:26 +0000)]
Update.

16 years ago(__timer_signal_thread_pclk, __timer_signal_thread_tclk): Remove.
drepper [Fri, 10 Dec 2004 00:26:07 +0000 (00:26 +0000)]
(__timer_signal_thread_pclk, __timer_signal_thread_tclk): Remove.

16 years ago(__timer_signal_thread_pclk, __timer_signal_thread_tclk): Remove.
drepper [Fri, 10 Dec 2004 00:25:32 +0000 (00:25 +0000)]
(__timer_signal_thread_pclk, __timer_signal_thread_tclk): Remove.
(init_module): Remove their initialization.
(thread_cleanup): Remove their cleanup assertions.

16 years agoNot needed anymore.
drepper [Fri, 10 Dec 2004 00:25:25 +0000 (00:25 +0000)]
Not needed anymore.

16 years ago(timer_create): Remove unused code handling CLOCK_PROCESS_CPUTIME_ID
drepper [Fri, 10 Dec 2004 00:24:36 +0000 (00:24 +0000)]
(timer_create): Remove unused code handling CLOCK_PROCESS_CPUTIME_ID
and CLOCK_THREAD_CPUTIME_ID.

16 years ago(_POSIX_CPUTIME, _POSIX_THREAD_CPUTIME): Define to 0.
drepper [Fri, 10 Dec 2004 00:23:51 +0000 (00:23 +0000)]
(_POSIX_CPUTIME, _POSIX_THREAD_CPUTIME): Define to 0.

16 years ago(__pthread_initialize_minimal_internal): Also unblock SIGSETXID.
drepper [Thu, 9 Dec 2004 23:53:39 +0000 (23:53 +0000)]
(__pthread_initialize_minimal_internal): Also unblock SIGSETXID.

16 years ago.
roland [Wed, 8 Dec 2004 22:08:52 +0000 (22:08 +0000)]
.

16 years ago2004-12-08 Jakub Jelinek <jakub@redhat.com>
roland [Wed, 8 Dec 2004 22:08:47 +0000 (22:08 +0000)]
2004-12-08  Jakub Jelinek  <jakub@redhat.com>

* elf/ldd.bash.in: When set -o pipefail is available, use that for
piping to cat; when not, don't use the pipe at all.
Pipe to cat in all cases of running the executable.
When direct running exits with code 5, retry running via ${RTLD}.
* elf/rtld.c (process_envvars): If __libc_enable_secure and
mode != normal, exit with exitcode 5.

16 years ago. fedora-glibc-20041208T1024
roland [Tue, 7 Dec 2004 21:06:29 +0000 (21:06 +0000)]
.

16 years ago2004-12-07 Jakub Jelinek <jakub@redhat.com>
roland [Tue, 7 Dec 2004 21:06:24 +0000 (21:06 +0000)]
2004-12-07  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/posix/sysconf.c (__sysconf_check_spec): Only define
if it will be actually used.

16 years ago.
roland [Tue, 7 Dec 2004 20:45:18 +0000 (20:45 +0000)]
.

16 years ago2004-12-07 Roland McGrath <roland@redhat.com>
roland [Tue, 7 Dec 2004 20:44:46 +0000 (20:44 +0000)]
2004-12-07  Roland McGrath  <roland@redhat.com>

* rt/tst-timer5.c (setup_test): New function.
(TEST_CLOCK_MISSING): Use it to punt test if timer_create does not
support CLOCK_MONOTONIC.

16 years agoUpdate.
drepper [Tue, 7 Dec 2004 20:34:18 +0000 (20:34 +0000)]
Update.

16 years ago(__clone2): Add support for NPTL where the PID is stored at userlevel
drepper [Tue, 7 Dec 2004 20:33:29 +0000 (20:33 +0000)]
(__clone2): Add support for NPTL where the PID is stored at userlevel
and needs to be reset when CLONE_THREAD is not used.  Restore gp before
calling _exit.

16 years agoUpdate.
drepper [Tue, 7 Dec 2004 20:32:24 +0000 (20:32 +0000)]
Update.

16 years ago(tests): Add tst-getpid2.
drepper [Tue, 7 Dec 2004 20:31:27 +0000 (20:31 +0000)]
(tests): Add tst-getpid2.

16 years ago(TEST_CLONE_FLAGS): Define.
drepper [Tue, 7 Dec 2004 20:29:06 +0000 (20:29 +0000)]
(TEST_CLONE_FLAGS): Define.
(do_test): Use it.  Use __clone2 instead of clone on ia64.

16 years agoTest for clone2 and getpid.
drepper [Tue, 7 Dec 2004 20:28:23 +0000 (20:28 +0000)]
Test for clone2 and getpid.

16 years agoclone2 for nptl/ia64.
drepper [Tue, 7 Dec 2004 20:27:14 +0000 (20:27 +0000)]
clone2 for nptl/ia64.

16 years ago(TID): Add.
drepper [Tue, 7 Dec 2004 20:26:18 +0000 (20:26 +0000)]
(TID): Add.

16 years agoUpdate.
drepper [Tue, 7 Dec 2004 19:40:04 +0000 (19:40 +0000)]
Update.

16 years agoclone support for nptl/SH.
drepper [Tue, 7 Dec 2004 19:39:01 +0000 (19:39 +0000)]
clone support for nptl/SH.

16 years agoUpdate.
drepper [Tue, 7 Dec 2004 19:38:34 +0000 (19:38 +0000)]
Update.

16 years agoClear the frame pointer when starting a new thread. Add support for NPTL
drepper [Tue, 7 Dec 2004 19:37:51 +0000 (19:37 +0000)]
Clear the frame pointer when starting a new thread.  Add support for NPTL
where the PID is stored at userlevel and needs to be reset when
CLONE_THREAD is not used.

16 years agoUpdate. fedora-glibc-20041207T1331
drepper [Tue, 7 Dec 2004 06:55:06 +0000 (06:55 +0000)]
Update.

16 years ago(UNSECURE_ENVVARS): Add LD_DEBUG, LD_DYNAMIC_WEAK and LD_SHOW_AUXV.
drepper [Tue, 7 Dec 2004 06:54:31 +0000 (06:54 +0000)]
(UNSECURE_ENVVARS): Add LD_DEBUG, LD_DYNAMIC_WEAK and LD_SHOW_AUXV.

16 years ago(process_envvars): Don't consider LD_SHOW_AUXV
drepper [Tue, 7 Dec 2004 06:54:07 +0000 (06:54 +0000)]
(process_envvars): Don't consider LD_SHOW_AUXV
and LD_DYNAMIC_WEAK if __libc_enable_secure.
If __libc_enable_secure, /etc/suid-debug doesn't exist and
program will be actually run, turn off all debugging.

16 years agoUpdate.
drepper [Mon, 6 Dec 2004 22:51:31 +0000 (22:51 +0000)]
Update.

16 years ago(tzset_internal): If + or - is seen, but no offset after it, reset
drepper [Mon, 6 Dec 2004 22:50:41 +0000 (22:50 +0000)]
(tzset_internal): If + or - is seen, but no offset after it, reset
offset to 0.  [BZ #601]

16 years agoUpdate.
drepper [Mon, 6 Dec 2004 22:48:11 +0000 (22:48 +0000)]
Update.

16 years ago(_IO_seekpos_unlocked): Call _IO_SEEKOF not _IO_SEEKPOS, saving one
drepper [Mon, 6 Dec 2004 22:47:08 +0000 (22:47 +0000)]
(_IO_seekpos_unlocked): Call _IO_SEEKOF not _IO_SEEKPOS, saving one
indirect jump.

16 years agoUpdate.
drepper [Mon, 6 Dec 2004 22:39:13 +0000 (22:39 +0000)]
Update.

16 years ago(tests): Add bug-ungetc4.
drepper [Mon, 6 Dec 2004 22:37:07 +0000 (22:37 +0000)]
(tests): Add bug-ungetc4.

16 years ago(_IO_new_file_seekoff): Fix optimization of in-buffer seek. Remove dead code.
drepper [Mon, 6 Dec 2004 22:36:56 +0000 (22:36 +0000)]
(_IO_new_file_seekoff): Fix optimization of in-buffer seek.  Remove dead code.

16 years agoTest for ungetc bug.
drepper [Mon, 6 Dec 2004 22:33:26 +0000 (22:33 +0000)]
Test for ungetc bug.

16 years ago.
roland [Mon, 6 Dec 2004 22:29:01 +0000 (22:29 +0000)]
.

16 years ago2004-12-06 Roland McGrath <roland@redhat.com>
roland [Mon, 6 Dec 2004 22:28:49 +0000 (22:28 +0000)]
2004-12-06  Roland McGrath  <roland@redhat.com>

* sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Diagnose EINVAL
for CLOCK_THREAD_CPUTIME_ID, not ENOTSUP.
Use SYSDEP_NANOSLEEP handler before validating CLOCK_ID value.

16 years ago2004-12-06 Roland McGrath <roland@redhat.com>
roland [Mon, 6 Dec 2004 22:28:45 +0000 (22:28 +0000)]
2004-12-06  Roland McGrath  <roland@redhat.com>

* rt/tst-timer4.c (TEST_CLOCK, TEST_CLOCK_NANOSLEEP): New macros.
Use them throughout in place of CLOCK_REALTIME and nanosleep.
(do_test) [TEST_CLOCK_MISSING]: Call this macro and if it returns
non-null, punt the test with a message using the string returned.
* rt/tst-timer5.c: New file.
* rt/Makefile (tests): Add it.

16 years agoUpdate.
drepper [Mon, 6 Dec 2004 03:03:01 +0000 (03:03 +0000)]
Update.

16 years ago(re_subexp_t): Remove.
drepper [Mon, 6 Dec 2004 02:57:45 +0000 (02:57 +0000)]
(re_subexp_t): Remove.
(re_dfa_t): Remove subexps and subexps_alloc field, add
completed_bkref_map.

16 years ago(proceed_next_node, check_dst_limits, get_subexp): Likewise.
drepper [Mon, 6 Dec 2004 02:57:18 +0000 (02:57 +0000)]
(proceed_next_node, check_dst_limits, get_subexp): Likewise.

16 years ago(free_dfa_content, init_dfa): Remove
drepper [Mon, 6 Dec 2004 02:56:42 +0000 (02:56 +0000)]
(free_dfa_content, init_dfa): Remove
references to re_dfa_t's subexps field.
(parse_sub_exp, parse_expression): Do not use it.  Use
completed_bkref_map instead.
(create_initial_state, peek_token): Store a backreference \N
with opr.idx = N-1.

16 years ago.
roland [Sun, 5 Dec 2004 23:50:14 +0000 (23:50 +0000)]
.

16 years ago2004-12-05 Roland McGrath <roland@frob.com>
roland [Sun, 5 Dec 2004 23:49:59 +0000 (23:49 +0000)]
2004-12-05  Roland McGrath  <roland@frob.com>

* Makeconfig: Comment typo fix.

16 years agoUpdate.
drepper [Sun, 5 Dec 2004 23:04:27 +0000 (23:04 +0000)]
Update.

16 years ago(ypprot_err): Remove unused entries.
drepper [Sun, 5 Dec 2004 23:03:32 +0000 (23:03 +0000)]
(ypprot_err): Remove unused entries.

16 years ago.
drepper [Sun, 5 Dec 2004 22:54:28 +0000 (22:54 +0000)]
.

16 years ago(confstr): Enclose #error message with double quote for gcc-3.3 and lower.
drepper [Sun, 5 Dec 2004 22:53:23 +0000 (22:53 +0000)]
(confstr): Enclose #error message with double quote for gcc-3.3 and lower.

16 years agoPretty printing.
drepper [Sun, 5 Dec 2004 20:18:50 +0000 (20:18 +0000)]
Pretty printing.

16 years agobogon
roland [Sun, 5 Dec 2004 09:41:16 +0000 (09:41 +0000)]
bogon

16 years agobogon
roland [Sun, 5 Dec 2004 09:39:04 +0000 (09:39 +0000)]
bogon

16 years agobogon
roland [Sun, 5 Dec 2004 09:38:27 +0000 (09:38 +0000)]
bogon

16 years agoUpdate.
drepper [Sun, 5 Dec 2004 07:50:01 +0000 (07:50 +0000)]
Update.

16 years agoAdd support for NPTL where the PID is stored at userlevel and needs to
drepper [Sun, 5 Dec 2004 07:49:19 +0000 (07:49 +0000)]
Add support for NPTL where the PID is stored at userlevel and needs to
be reset when CLONE_THREAD is not used.

16 years agoUpdate.
drepper [Sun, 5 Dec 2004 07:47:38 +0000 (07:47 +0000)]
Update.