kopensolaris-gnu/glibc.git
13 years agoTest program for atexit registering in atexit handler.
drepper [Thu, 27 Jul 2006 01:28:45 +0000 (01:28 +0000)]
Test program for atexit registering in atexit handler.

13 years ago.
drepper [Wed, 26 Jul 2006 08:21:54 +0000 (08:21 +0000)]
.

13 years ago(dlmopen_doit): Don't allow RTLD_GLOBAL to be used when the namespace
drepper [Wed, 26 Jul 2006 08:21:23 +0000 (08:21 +0000)]
(dlmopen_doit): Don't allow RTLD_GLOBAL to be used when the namespace
is not the base namespace.

13 years ago.
drepper [Wed, 26 Jul 2006 07:27:20 +0000 (07:27 +0000)]
.

13 years ago(__cxa_finalize): If destructor registered more exit handlers, call
drepper [Wed, 26 Jul 2006 07:25:44 +0000 (07:25 +0000)]
(__cxa_finalize): If destructor registered more exit handlers, call
them right away.

13 years ago(__new_exitfn_called): New variable.
drepper [Wed, 26 Jul 2006 07:24:45 +0000 (07:24 +0000)]
(__new_exitfn_called): New variable.
(__new_exitfn): Bump it in every successful call.

13 years agoDeclare __new_exitfn_called.
drepper [Wed, 26 Jul 2006 07:23:43 +0000 (07:23 +0000)]
Declare __new_exitfn_called.

13 years ago(__cxa_finalize): Parameter value must be retrieved early, too.
drepper [Wed, 26 Jul 2006 06:56:03 +0000 (06:56 +0000)]
(__cxa_finalize): Parameter value must be retrieved early, too.

13 years ago.
drepper [Wed, 26 Jul 2006 06:44:46 +0000 (06:44 +0000)]
.

13 years ago(__cxa_finalize): Fix race condition when calling registered handler.
drepper [Wed, 26 Jul 2006 06:44:11 +0000 (06:44 +0000)]
(__cxa_finalize): Fix race condition when calling registered handler.

13 years agoUpdate.
drepper [Wed, 26 Jul 2006 01:42:58 +0000 (01:42 +0000)]
Update.

13 years agoFix comment.
drepper [Wed, 26 Jul 2006 01:27:05 +0000 (01:27 +0000)]
Fix comment.

13 years ago. fedora-glibc-20060710T2206
drepper [Mon, 10 Jul 2006 21:59:43 +0000 (21:59 +0000)]
.

13 years ago.
drepper [Mon, 10 Jul 2006 21:58:48 +0000 (21:58 +0000)]
.

13 years ago.
drepper [Mon, 10 Jul 2006 21:57:40 +0000 (21:57 +0000)]
.

13 years agoAdjust _dl_name_match_p prototype.
drepper [Mon, 10 Jul 2006 21:55:55 +0000 (21:55 +0000)]
Adjust _dl_name_match_p prototype.

13 years ago(struct link_map): Add l_gnu_bitmask_idxbits, l_gnu_shift,
drepper [Mon, 10 Jul 2006 21:54:54 +0000 (21:54 +0000)]
(struct link_map): Add l_gnu_bitmask_idxbits, l_gnu_shift,
l_gnu_bitmask, l_gnu_buckets and l_gnu_chain_zero.

13 years agoDefine SHT_GNU_HASH, DT_GNU_HASH, DT_TLSDEC_PLT, DT_TLSDEC_GOT.
drepper [Mon, 10 Jul 2006 21:54:02 +0000 (21:54 +0000)]
Define SHT_GNU_HASH, DT_GNU_HASH, DT_TLSDEC_PLT, DT_TLSDEC_GOT.
Adjust DT_ADDRNUM.

13 years ago(elf_get_dynamic_info): Relocate DT_GNU_HASH entry.
drepper [Mon, 10 Jul 2006 21:52:18 +0000 (21:52 +0000)]
(elf_get_dynamic_info): Relocate DT_GNU_HASH entry.

13 years ago(do_lookup_x): Accept additional parameter with new-style hash value
drepper [Mon, 10 Jul 2006 21:51:32 +0000 (21:51 +0000)]
(do_lookup_x): Accept additional parameter with new-style hash value
and change old-style hash value parameter to be a reference.
Reoganize functions to determine whether new-style hash table is
available.  Only fall back on old-style table.  If old-style hash
value is needed, compute it here.

13 years ago(_dl_name_match_p): Make MAP parameter const.
drepper [Mon, 10 Jul 2006 21:50:36 +0000 (21:50 +0000)]
(_dl_name_match_p): Make MAP parameter const.

13 years ago(dl_new_hash): New functions.
drepper [Mon, 10 Jul 2006 21:49:38 +0000 (21:49 +0000)]
(dl_new_hash): New functions.
(_dl_lookup_symbol_x): Rename hash to old_hash and don't compute
value here.  Compute new-style hash value.  Pass new hash value
and reference to variable with the old value to do_lookup_x.
(_dl_setup_hash): If DT_GNU_HASH is defined, use it and not
old-style hash table.
(_dl_debug_bindings): Pass new hash value and reference to variable
with the old value to do_lookup_x.

13 years agoRegenerated.
drepper [Mon, 10 Jul 2006 21:48:04 +0000 (21:48 +0000)]
Regenerated.

13 years agoTest whether linker supports --hash-style option.
drepper [Mon, 10 Jul 2006 21:45:29 +0000 (21:45 +0000)]
Test whether linker supports --hash-style option.

13 years agoDefine have-hash-style.
drepper [Mon, 10 Jul 2006 21:43:51 +0000 (21:43 +0000)]
Define have-hash-style.

13 years agoIf linker supports --hash-style option add it to all linker command
drepper [Mon, 10 Jul 2006 21:42:27 +0000 (21:42 +0000)]
If linker supports --hash-style option add it to all linker command
lines to build DSOs.

13 years ago(__pthread_mutex_init): Make it compile again.
drepper [Sat, 8 Jul 2006 13:44:17 +0000 (13:44 +0000)]
(__pthread_mutex_init): Make it compile again.

13 years ago.
drepper [Sat, 1 Jul 2006 07:31:09 +0000 (07:31 +0000)]
.

13 years ago(__pthread_mutex_init): Move some computations to compile time.
drepper [Sat, 1 Jul 2006 07:29:17 +0000 (07:29 +0000)]
(__pthread_mutex_init): Move some computations to compile time.

13 years ago. fedora-glibc-20060630T0858
drepper [Tue, 27 Jun 2006 14:23:43 +0000 (14:23 +0000)]
.

13 years ago(open_path): Fix test to determine whether DSO is auditing.
drepper [Tue, 27 Jun 2006 14:23:02 +0000 (14:23 +0000)]
(open_path): Fix test to determine whether DSO is auditing.

13 years ago.
drepper [Tue, 27 Jun 2006 13:22:20 +0000 (13:22 +0000)]
.

13 years ago(_dl_map_object): Try harder to avoid looking at RPATH of main map twice.
drepper [Tue, 27 Jun 2006 13:21:39 +0000 (13:21 +0000)]
(_dl_map_object): Try harder to avoid looking at RPATH of main map twice.

13 years ago.
drepper [Thu, 22 Jun 2006 23:59:32 +0000 (23:59 +0000)]
.

13 years ago(DCIGETTEXT): If _nl_find_msg returns -1 don't look further, return
drepper [Thu, 22 Jun 2006 23:58:37 +0000 (23:58 +0000)]
(DCIGETTEXT): If _nl_find_msg returns -1 don't look further, return
original strings.
(_nl_find_msg): Do not return found translation if the conversion failed.
Either signal the string is unusable or that something went wrong and the
original should be used.

13 years ago(__strerror_r): Add __builtin_expect.
drepper [Wed, 21 Jun 2006 19:40:36 +0000 (19:40 +0000)]
(__strerror_r): Add __builtin_expect.

13 years ago.
drepper [Sat, 17 Jun 2006 17:01:42 +0000 (17:01 +0000)]
.

13 years ago(tests): Add tst-insremque.
drepper [Sat, 17 Jun 2006 17:00:58 +0000 (17:00 +0000)]
(tests): Add tst-insremque.

13 years agoTests for insque and remque.
drepper [Sat, 17 Jun 2006 17:00:08 +0000 (17:00 +0000)]
Tests for insque and remque.

13 years ago(insque): Handle prev == NULL.
drepper [Sat, 17 Jun 2006 16:59:34 +0000 (16:59 +0000)]
(insque): Handle prev == NULL.

13 years ago.
drepper [Sat, 17 Jun 2006 16:52:40 +0000 (16:52 +0000)]
.

13 years ago(expand_dst): Rename __cnt variable to not conflict with DL_DST_REQUIRED.
drepper [Sat, 17 Jun 2006 16:51:56 +0000 (16:51 +0000)]
(expand_dst): Rename __cnt variable to not conflict with DL_DST_REQUIRED.

13 years ago.
drepper [Fri, 16 Jun 2006 22:31:04 +0000 (22:31 +0000)]
.

13 years ago(nis_getnames): Fix the implementation to better match what Solaris does.
drepper [Fri, 16 Jun 2006 22:30:02 +0000 (22:30 +0000)]
(nis_getnames): Fix the implementation to better match what Solaris does.

13 years agoAdd pthread_equal inline function.
drepper [Sun, 4 Jun 2006 23:59:07 +0000 (23:59 +0000)]
Add pthread_equal inline function.

13 years ago.
drepper [Sun, 4 Jun 2006 22:17:06 +0000 (22:17 +0000)]
.

13 years ago(__spawni): Use local_seteuid and local_setegid instead of seteuid and setegid.
drepper [Sun, 4 Jun 2006 22:16:05 +0000 (22:16 +0000)]
(__spawni): Use local_seteuid and local_setegid instead of seteuid and setegid.

13 years agoDefinition of special setxid functions which only have to change the local
drepper [Sun, 4 Jun 2006 22:15:39 +0000 (22:15 +0000)]
Definition of special setxid functions which only have to change the local
thread.

13 years ago.
drepper [Sun, 4 Jun 2006 21:28:57 +0000 (21:28 +0000)]
.

13 years ago(__spawni): Use non-cancelable interfaces.
drepper [Sun, 4 Jun 2006 21:28:07 +0000 (21:28 +0000)]
(__spawni): Use non-cancelable interfaces.

13 years ago.
drepper [Sun, 4 Jun 2006 16:36:04 +0000 (16:36 +0000)]
.

13 years ago(tests): Add bug-envz1.
drepper [Sun, 4 Jun 2006 16:35:25 +0000 (16:35 +0000)]
(tests): Add bug-envz1.

13 years agoTest for bug BZ #2703.
drepper [Sun, 4 Jun 2006 16:35:21 +0000 (16:35 +0000)]
Test for bug BZ #2703.

13 years ago.
drepper [Sun, 4 Jun 2006 04:59:36 +0000 (04:59 +0000)]
.

13 years agoAdd rules to build and run bug-regex25 test.
drepper [Sun, 4 Jun 2006 04:59:05 +0000 (04:59 +0000)]
Add rules to build and run bug-regex25 test.

13 years agoBug for non-UTF8 mb chars.
drepper [Sun, 4 Jun 2006 04:58:35 +0000 (04:58 +0000)]
Bug for non-UTF8 mb chars.

13 years ago(re_string_skip_chars): If no character has
drepper [Sun, 4 Jun 2006 04:57:19 +0000 (04:57 +0000)]
(re_string_skip_chars): If no character has
been converted at all, set *last_wc to WEOF.  If mbrtowc failed, set wc
to the byte which couldn't be converted.
(re_string_reconstruct): Don't clear valid_raw_len before calling
re_string_skip_chars.  If wc is WEOF after re_string_skip_chars, set
tip_context using re_string_context_at.

13 years ago.
drepper [Sun, 4 Jun 2006 04:35:55 +0000 (04:35 +0000)]
.

13 years ago(envz_strip): Correct erroneously reversed src and dest parameters to
drepper [Sun, 4 Jun 2006 04:34:14 +0000 (04:34 +0000)]
(envz_strip): Correct erroneously reversed src and dest parameters to
memmove() invocation to correct bug that causes segmentation violation
or incomplete envz_strip() behavior.

13 years ago. fedora-glibc-20060531T1322
drepper [Tue, 30 May 2006 17:32:08 +0000 (17:32 +0000)]
.

13 years ago(invalidate_cache): Add fd argument, write response to fd if not calling
drepper [Tue, 30 May 2006 17:31:43 +0000 (17:31 +0000)]
(invalidate_cache): Add fd argument, write response to fd if not calling
prune_cache, pass fd to prune_cache.
(handle_request): Adjust invalidate_cache caller.
(nscd_run): Pass -1 as fd to prune_cache.

13 years ago(prune_cache): Add fd argument. Write response to fd after the cache has
drepper [Tue, 30 May 2006 17:30:26 +0000 (17:30 +0000)]
(prune_cache): Add fd argument.  Write response to fd after the cache has
been invalidated.  Use pthread_mutex_lock rather than pthread_mutex_trylock
if fd != -1.

13 years ago(parse_opt): Read response from INVALIDATE request to make sure the
drepper [Tue, 30 May 2006 17:29:36 +0000 (17:29 +0000)]
(parse_opt): Read response from INVALIDATE request to make sure the
database has been already invalidated.

13 years ago(prune_cache): Add fd argument to prototype.
drepper [Tue, 30 May 2006 17:28:53 +0000 (17:28 +0000)]
(prune_cache): Add fd argument to prototype.

13 years ago.
drepper [Tue, 30 May 2006 16:18:07 +0000 (16:18 +0000)]
.

13 years ago(gaiconf_init): Initialize bits in the correct place.
drepper [Tue, 30 May 2006 16:15:35 +0000 (16:15 +0000)]
(gaiconf_init): Initialize bits in the correct place.

13 years ago.
drepper [Tue, 30 May 2006 15:01:21 +0000 (15:01 +0000)]
.

13 years ago(dbs): Initialize .prunelock.
drepper [Tue, 30 May 2006 14:51:42 +0000 (14:51 +0000)]
(dbs): Initialize .prunelock.

13 years ago.
drepper [Mon, 29 May 2006 07:00:16 +0000 (07:00 +0000)]
.

13 years ago(prune_cache): Take prunelock before starting the work. Just return
drepper [Mon, 29 May 2006 06:59:43 +0000 (06:59 +0000)]
(prune_cache): Take prunelock before starting the work.  Just return
in case it is already taken.

13 years ago(struct database_dyn): Add prunelock field.
drepper [Mon, 29 May 2006 06:58:55 +0000 (06:58 +0000)]
(struct database_dyn): Add prunelock field.

13 years agoFix typos.
drepper [Sat, 27 May 2006 19:36:09 +0000 (19:36 +0000)]
Fix typos.

13 years ago.
drepper [Fri, 26 May 2006 17:03:59 +0000 (17:03 +0000)]
.

13 years agoAdd as_IN.UTF-8 and or_IN.UTF-8.
drepper [Fri, 26 May 2006 17:02:50 +0000 (17:02 +0000)]
Add as_IN.UTF-8 and or_IN.UTF-8.

13 years agoOriya language locale for India.
drepper [Fri, 26 May 2006 17:01:51 +0000 (17:01 +0000)]
Oriya language locale for India.

13 years agoAssamese language locale for India.
drepper [Fri, 26 May 2006 17:01:15 +0000 (17:01 +0000)]
Assamese language locale for India.

13 years ago.
drepper [Thu, 25 May 2006 18:31:29 +0000 (18:31 +0000)]
.

13 years ago(nis_removemember): Avoid unnecessary coping.
drepper [Thu, 25 May 2006 18:30:53 +0000 (18:30 +0000)]
(nis_removemember): Avoid unnecessary coping.
No need to allocate new array for group members.  Just move the pointers
and update the size.

13 years ago.
drepper [Thu, 25 May 2006 17:16:17 +0000 (17:16 +0000)]
.

13 years ago(nis_addmember): Avoid unnecessary copying. Avoid memory leak in case
drepper [Thu, 25 May 2006 17:15:32 +0000 (17:15 +0000)]
(nis_addmember): Avoid unnecessary copying.  Avoid memory leak in case
realloc fails.  Simplification for better code generation.

13 years ago(inet6_option_alloc): Typo in last patch.
drepper [Thu, 25 May 2006 17:00:45 +0000 (17:00 +0000)]
(inet6_option_alloc): Typo in last patch.

13 years ago(option_alloc): Renamed from inet6_option_alloc. Made static.
drepper [Thu, 25 May 2006 16:53:40 +0000 (16:53 +0000)]
(option_alloc): Renamed from inet6_option_alloc.  Made static.
(inet6_option_alloc): New a simple wrapper around option_alloc.
(inet6_option_append): Call option_alloc.

13 years agoRemove libc_hidden_proto for inet6_option_alloc.
drepper [Thu, 25 May 2006 16:51:56 +0000 (16:51 +0000)]
Remove libc_hidden_proto for inet6_option_alloc.

13 years ago.
drepper [Thu, 25 May 2006 15:52:21 +0000 (15:52 +0000)]
.

13 years ago(__nis_create_callback): Always call xdr_free for cleanup when cb!=NULL.
drepper [Thu, 25 May 2006 15:51:26 +0000 (15:51 +0000)]
(__nis_create_callback): Always call xdr_free for cleanup when cb!=NULL.

13 years ago.
drepper [Thu, 25 May 2006 04:50:06 +0000 (04:50 +0000)]
.

13 years ago.
drepper [Thu, 25 May 2006 04:49:06 +0000 (04:49 +0000)]
.

13 years ago.
drepper [Thu, 25 May 2006 04:42:07 +0000 (04:42 +0000)]
.

13 years ago(struct ip6_rthdr0): Make ip6r0_addr an array.
drepper [Thu, 25 May 2006 04:41:27 +0000 (04:41 +0000)]
(struct ip6_rthdr0): Make ip6r0_addr an array.

13 years ago(struct ip6_mtuinfo): Define.
drepper [Thu, 25 May 2006 04:40:42 +0000 (04:40 +0000)]
(struct ip6_mtuinfo): Define.
Mark inet6_option_* interfaces as deprecated.
Declare inet6_opt_init, inet6_opt_append, inet6_opt_finish,
inet6_opt_set_val, inet6_opt_next, inet6_opt_find, inet6_opt_get_val,
inet6_rth_space, inet6_rth_init, inet6_rth_add, inet6_rth_reverse,
inet6_rth_segments, and inet6_rth_getaddr.

13 years agoPretty printing.
drepper [Thu, 25 May 2006 04:39:56 +0000 (04:39 +0000)]
Pretty printing.

13 years ago(libc, GLIBC_2.5): Add inet6_opt_init, inet6_opt_append,
drepper [Thu, 25 May 2006 04:39:12 +0000 (04:39 +0000)]
(libc, GLIBC_2.5): Add inet6_opt_init, inet6_opt_append,
inet6_opt_finish, inet6_opt_set_val, inet6_opt_next, inet6_opt_find,
inet6_opt_get_val, inet6_rth_space, inet6_rth_init, inet6_rth_add,
inet6_rth_reverse, inet6_rth_segments, and inet6_rth_getaddr.

13 years ago(routines): Add inet6_opt and inet6_rth.
drepper [Thu, 25 May 2006 04:38:29 +0000 (04:38 +0000)]
(routines): Add inet6_opt and inet6_rth.

13 years agoInterfaces from RFC 3542.
drepper [Thu, 25 May 2006 04:38:02 +0000 (04:38 +0000)]
Interfaces from RFC 3542.

13 years ago.
drepper [Wed, 24 May 2006 19:25:43 +0000 (19:25 +0000)]
.

13 years ago(_dl_addr): Don't match undefined references.
drepper [Wed, 24 May 2006 19:24:43 +0000 (19:24 +0000)]
(_dl_addr): Don't match undefined references.

13 years ago. fedora-glibc-20060524T0721
drepper [Wed, 24 May 2006 06:01:25 +0000 (06:01 +0000)]
.

13 years ago(nis_lookup): Use __prepare_niscall instead of doing it all here.
drepper [Wed, 24 May 2006 06:00:54 +0000 (06:00 +0000)]
(nis_lookup): Use __prepare_niscall instead of doing it all here.
When server does not know the answer do not fail immediate, try parent first.

13 years agoRemove debug printf.
drepper [Wed, 24 May 2006 05:59:50 +0000 (05:59 +0000)]
Remove debug printf.

13 years ago.
drepper [Wed, 24 May 2006 04:07:18 +0000 (04:07 +0000)]
.