kopensolaris-gnu/glibc.git
15 years agoUpdate. fedora-glibc-20041120T0949
drepper [Sat, 20 Nov 2004 09:01:22 +0000 (09:01 +0000)]
Update.

15 years agoAdd deprecated attributes to sigstack, sigpause, sigblock, sigsetmask,
drepper [Sat, 20 Nov 2004 09:00:33 +0000 (09:00 +0000)]
Add deprecated attributes to sigstack, sigpause, sigblock, sigsetmask,
siggetmask.

15 years agoUpdate.
drepper [Sat, 20 Nov 2004 07:16:31 +0000 (07:16 +0000)]
Update.

15 years ago(__pthread_keys): Remove.
drepper [Sat, 20 Nov 2004 07:15:55 +0000 (07:15 +0000)]
(__pthread_keys): Remove.
(pthread_mutex_lock, pthread_mutex_unlock, pthread_once,
pthread_key_create, pthread_setspecific, pthread_getspecific): Add
PTHREAD_STATIC_FN_REQUIRE.

15 years ago(__find_thread_by_id): Undefine.
drepper [Sat, 20 Nov 2004 07:15:36 +0000 (07:15 +0000)]
(__find_thread_by_id): Undefine.

15 years ago(__find_thread_by_id): If !SHARED, add weak_function and define a wrapper
drepper [Sat, 20 Nov 2004 07:14:55 +0000 (07:14 +0000)]
(__find_thread_by_id): If !SHARED, add weak_function and define a wrapper
macro.
(PTHREAD_STATIC_FN_REQUIRE): Define.

15 years agoGlobal variables for NPTL.
drepper [Sat, 20 Nov 2004 07:14:20 +0000 (07:14 +0000)]
Global variables for NPTL.

15 years ago(__default_stacksize, __is_smp): Remove.
drepper [Sat, 20 Nov 2004 07:13:44 +0000 (07:13 +0000)]
(__default_stacksize, __is_smp): Remove.

15 years ago(__pthread_multiple_threads): Remove.
drepper [Sat, 20 Nov 2004 07:12:45 +0000 (07:12 +0000)]
(__pthread_multiple_threads): Remove.

15 years ago(libpthread-routines): Add vars.
drepper [Sat, 20 Nov 2004 07:12:28 +0000 (07:12 +0000)]
(libpthread-routines): Add vars.

15 years agoUpdate.
drepper [Sat, 20 Nov 2004 07:10:56 +0000 (07:10 +0000)]
Update.

15 years ago(SCM_RIGHTS): Avoid comma at the end of enum if __USE_BSD is not defined.
drepper [Sat, 20 Nov 2004 07:04:23 +0000 (07:04 +0000)]
(SCM_RIGHTS): Avoid comma at the end of enum if __USE_BSD is not defined.

15 years agoUpdate.
drepper [Sat, 20 Nov 2004 04:45:06 +0000 (04:45 +0000)]
Update.

15 years ago(_int_malloc): Check for corruption of chunk which is about to be returned.
drepper [Sat, 20 Nov 2004 04:44:09 +0000 (04:44 +0000)]
(_int_malloc): Check for corruption of chunk which is about to be returned.

15 years agoUpdate.
drepper [Fri, 19 Nov 2004 21:35:00 +0000 (21:35 +0000)]
Update.

15 years ago(_int_free): Correct tests in last checkin.
drepper [Fri, 19 Nov 2004 21:26:28 +0000 (21:26 +0000)]
(_int_free): Correct tests in last checkin.

15 years ago(_int_free): Add a few more cheap tests for corruption.
drepper [Fri, 19 Nov 2004 21:22:47 +0000 (21:22 +0000)]
(_int_free): Add a few more cheap tests for corruption.

15 years agoUpdate. fedora-glibc-20041119T0003
drepper [Fri, 19 Nov 2004 00:01:34 +0000 (00:01 +0000)]
Update.

15 years ago(TRAMPOLINE_TEMPLATE): Add unwind annotations.
drepper [Fri, 19 Nov 2004 00:01:25 +0000 (00:01 +0000)]
(TRAMPOLINE_TEMPLATE): Add unwind annotations.

15 years agoUpdate.
drepper [Fri, 19 Nov 2004 00:00:27 +0000 (00:00 +0000)]
Update.

15 years ago(DB_THREAD_SELF): Set the correct bias parameter to REGISTER macro.
drepper [Thu, 18 Nov 2004 23:59:45 +0000 (23:59 +0000)]
(DB_THREAD_SELF): Set the correct bias parameter to REGISTER macro.

15 years agoUpdate.
drepper [Thu, 18 Nov 2004 23:57:34 +0000 (23:57 +0000)]
Update.

15 years agoFix last two tests (\0 -> \1).
drepper [Thu, 18 Nov 2004 23:56:09 +0000 (23:56 +0000)]
Fix last two tests (\0 -> \1).
Add some new tests for nested subexpressions.

15 years agoTest optimization of unnecessary subexpressions.
drepper [Thu, 18 Nov 2004 23:55:41 +0000 (23:55 +0000)]
Test optimization of unnecessary subexpressions.

15 years agoAdd rules to build and run tst-regex2.
drepper [Thu, 18 Nov 2004 23:54:56 +0000 (23:54 +0000)]
Add rules to build and run tst-regex2.

15 years ago(re_search_internal): If subexp_map is not NULL, duplicate registers as
drepper [Thu, 18 Nov 2004 23:54:22 +0000 (23:54 +0000)]
(re_search_internal): If subexp_map is not NULL, duplicate registers as
needed.

15 years ago(struct subexp_optimize): New type.
drepper [Thu, 18 Nov 2004 23:52:35 +0000 (23:52 +0000)]
(struct subexp_optimize): New type.
(optimize_subexps): New routine.
(re_compile_internal): Call it.
(re_compile_pattern): Set preg->no_sub to 1 if RE_NO_SUB.
(free_dfa_content): Free subexp_map.
(calc_inveclosure, calc_eclosure): Skip OP_DELETED_SUBEXP nodes.

15 years ago(OP_DELETED_SUBEXP): New.
drepper [Thu, 18 Nov 2004 23:51:38 +0000 (23:51 +0000)]
(OP_DELETED_SUBEXP): New.
(re_dfa_t): Add subexp_map.

15 years ago(RE_NO_SUB): New define.
drepper [Thu, 18 Nov 2004 23:50:57 +0000 (23:50 +0000)]
(RE_NO_SUB): New define.

15 years ago(process_arg): Fix typo.
drepper [Thu, 18 Nov 2004 23:34:21 +0000 (23:34 +0000)]
(process_arg): Fix typo.

15 years agoUpdate.
drepper [Thu, 18 Nov 2004 23:25:46 +0000 (23:25 +0000)]
Update.

15 years agoTest detection of missing %N$ formats.
drepper [Thu, 18 Nov 2004 23:23:17 +0000 (23:23 +0000)]
Test detection of missing %N$ formats.

15 years agoAdjust all users of _IO_FLAGS2_CHECK_PERCENT_N.
drepper [Thu, 18 Nov 2004 23:21:42 +0000 (23:21 +0000)]
Adjust all users of _IO_FLAGS2_CHECK_PERCENT_N.
Detect missing %N$ formats.

15 years agoAdjust all users of _IO_FLAGS2_CHECK_PERCENT_N.
drepper [Thu, 18 Nov 2004 23:20:53 +0000 (23:20 +0000)]
Adjust all users of _IO_FLAGS2_CHECK_PERCENT_N.

15 years ago(_IO_FLAGS2_FORTIFY): Renamed from _IO_FLAGS2_CHECK_PERCENT_N.
drepper [Thu, 18 Nov 2004 23:18:45 +0000 (23:18 +0000)]
(_IO_FLAGS2_FORTIFY): Renamed from _IO_FLAGS2_CHECK_PERCENT_N.

15 years ago.
roland [Wed, 17 Nov 2004 21:27:16 +0000 (21:27 +0000)]
.

15 years ago2004-11-17 Roland McGrath <roland@redhat.com>
roland [Wed, 17 Nov 2004 21:26:59 +0000 (21:26 +0000)]
2004-11-17  Roland McGrath  <roland@redhat.com>

* sysdeps/unix/sysv/linux/timer_routines.c (__start_helper_thread):
Make sure SIGCANCEL is blocked as well.

15 years agoUpdate.
drepper [Wed, 17 Nov 2004 09:10:08 +0000 (09:10 +0000)]
Update.

15 years agoInclude <sys/uio.h>.
drepper [Wed, 17 Nov 2004 09:09:28 +0000 (09:09 +0000)]
Include <sys/uio.h>.

15 years agoUpdate. fedora-glibc-20041116T0856
drepper [Mon, 15 Nov 2004 22:00:25 +0000 (22:00 +0000)]
Update.

15 years ago(nis_clone_object): Rename out3 label to out2 and out2 to out. Remove
drepper [Mon, 15 Nov 2004 21:59:42 +0000 (21:59 +0000)]
(nis_clone_object): Rename out3 label to out2 and out2 to out.  Remove
out label.  Formatting.

15 years agoInclude string.h.
drepper [Mon, 15 Nov 2004 21:59:15 +0000 (21:59 +0000)]
Include string.h.

15 years ago(__libc_fatal): Add loop to fool gcc.
drepper [Mon, 15 Nov 2004 21:57:52 +0000 (21:57 +0000)]
(__libc_fatal): Add loop to fool gcc.
(__libc_message): Fix typo.

15 years ago(__libc_fatal): Add loop to fool gcc.
drepper [Mon, 15 Nov 2004 21:57:08 +0000 (21:57 +0000)]
(__libc_fatal): Add loop to fool gcc.
Include <stdbool.h>.

15 years agoDo not mark __libc_message as noreturn.
drepper [Mon, 15 Nov 2004 21:56:18 +0000 (21:56 +0000)]
Do not mark __libc_message as noreturn.

15 years agoUpdate. fedora-glibc-20041115T0915
drepper [Sat, 13 Nov 2004 19:50:50 +0000 (19:50 +0000)]
Update.

15 years ago(malloc_state): stat_lock_* elements need only be defined if
drepper [Sat, 13 Nov 2004 19:49:43 +0000 (19:49 +0000)]
(malloc_state): stat_lock_* elements need only be defined if
THREAD_STATS is defined.  Remove pad0_ since it does not align with
cache line sizes in general anyway.

15 years agoUpdate.
drepper [Sat, 13 Nov 2004 18:58:01 +0000 (18:58 +0000)]
Update.

15 years ago(print_statistics): Avoid segfaults if not all namespaces
drepper [Sat, 13 Nov 2004 18:57:22 +0000 (18:57 +0000)]
(print_statistics): Avoid segfaults if not all namespaces
are used.  Fix computation of num_relative_relocations on RELA
architectures other than IA-64 and Alpha.

15 years ago(_int_free): Use munmap_chunk for handling mmaped memory.
drepper [Sat, 13 Nov 2004 18:53:57 +0000 (18:53 +0000)]
(_int_free): Use munmap_chunk for handling mmaped memory.

15 years agoUpdate.
drepper [Sat, 13 Nov 2004 05:43:36 +0000 (05:43 +0000)]
Update.

15 years ago(_int_free): Remove test for NULL parameter.
drepper [Sat, 13 Nov 2004 05:42:35 +0000 (05:42 +0000)]
(_int_free): Remove test for NULL parameter.
(_int_realloc): Call _int_free only if memory parameter is not NULL.

15 years agoAdd one missing va_end.
drepper [Sat, 13 Nov 2004 04:56:24 +0000 (04:56 +0000)]
Add one missing va_end.

15 years agoUpdate.
drepper [Sat, 13 Nov 2004 03:13:00 +0000 (03:13 +0000)]
Update.

15 years agoEnsure that debug messages are not printed to the terminal or stderr.
drepper [Sat, 13 Nov 2004 03:12:23 +0000 (03:12 +0000)]
Ensure that debug messages are not printed to the terminal or stderr.

15 years agoAlso print message with __libc_message.
drepper [Sat, 13 Nov 2004 03:11:28 +0000 (03:11 +0000)]
Also print message with __libc_message.

15 years agoDeclare __libc_message.
drepper [Sat, 13 Nov 2004 03:11:03 +0000 (03:11 +0000)]
Declare __libc_message.

15 years ago(malloc_printerr): Use __libc_message.
drepper [Sat, 13 Nov 2004 03:10:31 +0000 (03:10 +0000)]
(malloc_printerr): Use __libc_message.

15 years agoAdd new function __libc_message which performs the printing and simple
drepper [Sat, 13 Nov 2004 03:09:29 +0000 (03:09 +0000)]
Add new function __libc_message which performs the printing and simple
format string handling.  The string is written to tty, stderr, syslog
in this order, stopping after the first successful output.

15 years ago.
roland [Fri, 12 Nov 2004 21:51:46 +0000 (21:51 +0000)]
.

15 years ago2004-11-12 Martin Schwidefsky <schwidefsky@de.ibm.com>
roland [Fri, 12 Nov 2004 21:51:33 +0000 (21:51 +0000)]
2004-11-12  Martin Schwidefsky  <schwidefsky@de.ibm.com>

* elf/elf.h: Add 20 bit relocations R_390_*20.

15 years agoRemove gpl2lgpl variable.
drepper [Fri, 12 Nov 2004 19:46:34 +0000 (19:46 +0000)]
Remove gpl2lgpl variable.

15 years agoUpdate.
drepper [Fri, 12 Nov 2004 19:22:26 +0000 (19:22 +0000)]
Update.

15 years agoInclude linux/posix_types.h.
drepper [Fri, 12 Nov 2004 19:21:32 +0000 (19:21 +0000)]
Include linux/posix_types.h.

15 years agoUpdate.
drepper [Fri, 12 Nov 2004 19:06:21 +0000 (19:06 +0000)]
Update.

15 years ago(ypprot_err): Fix "minor optimizations".
drepper [Fri, 12 Nov 2004 19:05:10 +0000 (19:05 +0000)]
(ypprot_err): Fix "minor optimizations".

15 years agoUpdate. fedora-glibc-20041112T1640
drepper [Fri, 12 Nov 2004 09:45:05 +0000 (09:45 +0000)]
Update.

15 years ago(tests): Add bug-regex24.
drepper [Fri, 12 Nov 2004 09:44:09 +0000 (09:44 +0000)]
(tests): Add bug-regex24.

15 years ago(check_dst_limits_calc_pos_1): Use the map to cut recursive paths.
drepper [Fri, 12 Nov 2004 09:43:20 +0000 (09:43 +0000)]
(check_dst_limits_calc_pos_1): Use the map to cut recursive paths.
Make exit condition more precise.
(match_ctx_add_entry): Initialize the map.

15 years ago(struct re_backref_cache_entry): Add a map of reachable subexpression
drepper [Fri, 12 Nov 2004 09:42:23 +0000 (09:42 +0000)]
(struct re_backref_cache_entry): Add a map of reachable subexpression
nodes from each backreference cache entry.

15 years agoTest of matching subexpressions.
drepper [Fri, 12 Nov 2004 09:41:34 +0000 (09:41 +0000)]
Test of matching subexpressions.

15 years agoUpdate.
drepper [Fri, 12 Nov 2004 01:27:04 +0000 (01:27 +0000)]
Update.

15 years agoAdd rules to build and test tst-setuid1 and tst-setuid1-static.
drepper [Fri, 12 Nov 2004 01:26:09 +0000 (01:26 +0000)]
Add rules to build and test tst-setuid1 and tst-setuid1-static.

15 years agoTests for set[gu]id.
drepper [Fri, 12 Nov 2004 01:25:37 +0000 (01:25 +0000)]
Tests for set[gu]id.

15 years ago(__nptl_setxid): Call INTERNAL_SYSCALL_NCS in the calling thread,
drepper [Fri, 12 Nov 2004 01:24:55 +0000 (01:24 +0000)]
(__nptl_setxid): Call INTERNAL_SYSCALL_NCS in the calling thread,
return its return value and set errno on failure.

15 years ago(struct xid_command): Change id type to long array.
drepper [Fri, 12 Nov 2004 01:24:24 +0000 (01:24 +0000)]
(struct xid_command): Change id type to long array.

15 years ago(__nptl_setxid): Change return type to int.
drepper [Fri, 12 Nov 2004 01:23:59 +0000 (01:23 +0000)]
(__nptl_setxid): Change return type to int.

15 years ago(HAVE_PTR__NPTL_SETXID): Remove.
drepper [Fri, 12 Nov 2004 01:22:40 +0000 (01:22 +0000)]
(HAVE_PTR__NPTL_SETXID): Remove.
(struct xid_command): Add forward decl.
(struct pthread_functions): Change return type of __nptl_setxid hook to int.

15 years agoNPTL definitions for setXid function definitions.
drepper [Fri, 12 Nov 2004 01:22:00 +0000 (01:22 +0000)]
NPTL definitions for setXid function definitions.

15 years agoUpdate.
drepper [Fri, 12 Nov 2004 01:20:42 +0000 (01:20 +0000)]
Update.

15 years ago(binaries-static): Add xtests-static.
drepper [Fri, 12 Nov 2004 01:19:22 +0000 (01:19 +0000)]
(binaries-static): Add xtests-static.

15 years ago(run-program-prefix): Filter also xtests-static.
drepper [Fri, 12 Nov 2004 01:18:47 +0000 (01:18 +0000)]
(run-program-prefix): Filter also xtests-static.

15 years agoUnix definitions for setXid function definitions.
drepper [Fri, 12 Nov 2004 01:17:42 +0000 (01:17 +0000)]
Unix definitions for setXid function definitions.

15 years ago(setresuid, setresgid): Remove.
drepper [Fri, 12 Nov 2004 01:15:38 +0000 (01:15 +0000)]
(setresuid, setresgid): Remove.

15 years agoRemove sys/syscall.h, sys/types.h, linux/posix_types.h, sysdep.h and
drepper [Fri, 12 Nov 2004 01:15:05 +0000 (01:15 +0000)]
Remove sys/syscall.h, sys/types.h, linux/posix_types.h, sysdep.h and
pthread-functions.h includes.  Include setxid.h.  Use
INLINE_SETXID_SYSCALL macro instead of INLINE_SYSCALL, kill the
HAVE_PTR__NPTL_SETXID guarded snippets.

15 years ago.
roland [Thu, 11 Nov 2004 22:31:17 +0000 (22:31 +0000)]
.

15 years ago2004-11-09 Paul Eggert <eggert@cs.ucla.edu.
roland [Thu, 11 Nov 2004 22:30:56 +0000 (22:30 +0000)]
2004-11-09  Paul Eggert  <eggert@cs.ucla.edu.

[BZ #535]
* time/difftime.c: Fix a double-rounding bug on hosts with
64-bit time_t and long double being IEEE double.  Also, port
to more valid C99 hosts, even those that have padding bits.
Don't include <values.h> since it is marked as an obsolescent
interface.  Include <limits.h>, <float.h>, and <stdint.h> instead.
(TYPE_BITS, TYPE_FLOATING, TYPE_SIGNED): New macros.
(subtract): New static function, that works correctly without
double-rounding, even on hosts with 64-bit time_t.  Also cater
to hosts with padding bits.
(__difftime): Use it.  Use DBL_MANT_DIG and LDBL_MANT_DIG to
determine whether floating types are wide enough: the old
test (which used sizeof) could in theory report the wrong results
on hosts with padding bits in floating-point values.

15 years ago.
roland [Thu, 11 Nov 2004 22:15:51 +0000 (22:15 +0000)]
.

15 years ago2004-11-11 Simon Josefsson <jas@extundo.com>
roland [Thu, 11 Nov 2004 22:15:46 +0000 (22:15 +0000)]
2004-11-11  Simon Josefsson  <jas@extundo.com>

[BZ #542]
* sysdeps/generic/strtok_r.c [HAVE_CONFIG_H]: Include config.h.
[!_LIBC]: Include strtok_r.h (in gnulib), map __strtok_r to
strtok_r and __rawmemchr to strch.
(__strtok_r): Use C89 prototype.
[weak_alias]: Move calls to libc_hidden_def and weak_alias into
this #ifdef.

15 years ago.
roland [Thu, 11 Nov 2004 00:28:28 +0000 (00:28 +0000)]
.

15 years ago2004-11-10 Paul Eggert <eggert@cs.ucla.edu>
roland [Thu, 11 Nov 2004 00:28:17 +0000 (00:28 +0000)]
2004-11-10  Paul Eggert  <eggert@cs.ucla.edu>

[BZ #541]
* time/mktime.c (SHR): New macro, which is a portable
substitute for >> that should work even on Crays.
(TIME_T_MIDPOINT, ydhms_diff, __mktime_internal): Use it.
Problem reported by Mark D. Baushke in
<http://lists.gnu.org/archive/html/bug-gnulib/2004-11/msg00071.html>.

15 years agoUpdate.
drepper [Wed, 10 Nov 2004 18:51:26 +0000 (18:51 +0000)]
Update.

15 years ago(match_ctx_free_subtops): Remove, merge into...
drepper [Wed, 10 Nov 2004 18:50:30 +0000 (18:50 +0000)]
(match_ctx_free_subtops): Remove, merge into...
(match_ctx_clean): ... this function.
(match_ctx_free): Call match_ctx_clean.

15 years agoUpdate.
drepper [Wed, 10 Nov 2004 15:48:06 +0000 (15:48 +0000)]
Update.

15 years ago(transit_state): Remove the check for out-of-bounds buffers.
drepper [Wed, 10 Nov 2004 15:47:09 +0000 (15:47 +0000)]
(transit_state): Remove the check for out-of-bounds buffers.
(check_matching): Check here for out-of-bounds buffers.
(re_search_internal): Store into match_kind a set of bits
indicating which incantation of fastmap scanning must be
used.  Use a switch statement instead of multiple ifs.
Exit the final "for (;;)" with goto free_return unless
the match succeeded, thus simplifying some conditionals.

15 years ago(re_string_reconstruct, re_string_context_at): Add several branch
drepper [Wed, 10 Nov 2004 14:29:26 +0000 (14:29 +0000)]
(re_string_reconstruct, re_string_context_at): Add several branch
predictions for case-sensitive matching and no transition table being
used.

15 years agoDon't use error to print error message, they won't end up in the .out file.
drepper [Wed, 10 Nov 2004 14:27:52 +0000 (14:27 +0000)]
Don't use error to print error message, they won't end up in the .out file.

15 years agoUpdate. fedora-glibc-20041110T0839
drepper [Wed, 10 Nov 2004 07:54:40 +0000 (07:54 +0000)]
Update.

15 years ago(tests): Add tst-exit3.
drepper [Wed, 10 Nov 2004 07:54:08 +0000 (07:54 +0000)]
(tests): Add tst-exit3.

15 years agoTest refcouting in thread creation.
drepper [Wed, 10 Nov 2004 07:53:49 +0000 (07:53 +0000)]
Test refcouting in thread creation.