kopensolaris-gnu/glibc.git
16 years ago(_nss_nis_getservbyname_r): If protocol == NULL, try name/tcp and name/udp
drepper [Wed, 31 Mar 2004 00:15:31 +0000 (00:15 +0000)]
(_nss_nis_getservbyname_r): If protocol == NULL, try name/tcp and name/udp
first before falling back intothe sequential scanning.
Use services.byname database for sequential scanning.
(_nss_nis_getservbyport_r): Likewise.  Just allocate sizeof (int) * 3
chars for integer.

(_nss_nis_getservbyport_r): Convert proto to host by order for snprintf.

16 years ago(services_keys): Don't implement lookups with missing protocol using
drepper [Wed, 31 Mar 2004 00:14:10 +0000 (00:14 +0000)]
(services_keys): Don't implement lookups with missing protocol using
getservent loop, just pass NULL.

16 years agoUpdate.
drepper [Tue, 30 Mar 2004 23:15:55 +0000 (23:15 +0000)]
Update.

16 years ago(setgroups): Avoid comparison with limit if we can rely on the syscall
drepper [Tue, 30 Mar 2004 23:14:52 +0000 (23:14 +0000)]
(setgroups): Avoid comparison with limit if we can rely on the syscall
being available.

16 years agoUpdate.
drepper [Tue, 30 Mar 2004 18:34:08 +0000 (18:34 +0000)]
Update.

16 years ago(distribute): Add nss.
drepper [Tue, 30 Mar 2004 18:33:11 +0000 (18:33 +0000)]
(distribute): Add nss.

16 years agoExample file for /etc/default/nss.
drepper [Tue, 30 Mar 2004 18:32:38 +0000 (18:32 +0000)]
Example file for /etc/default/nss.

16 years ago(check_default_nss): Recognize comment lines.
drepper [Tue, 30 Mar 2004 18:27:07 +0000 (18:27 +0000)]
(check_default_nss): Recognize comment lines.

16 years agoUpdate.
drepper [Tue, 30 Mar 2004 18:23:15 +0000 (18:23 +0000)]
Update.

16 years agoImplement getting the information from the netid.byname map if the
drepper [Tue, 30 Mar 2004 18:21:46 +0000 (18:21 +0000)]
Implement getting the information from the netid.byname map if the
system administrator allows this.

16 years ago(initgroups): Limit the initial allocation to 64 entries to not
drepper [Tue, 30 Mar 2004 18:20:19 +0000 (18:20 +0000)]
(initgroups): Limit the initial allocation to 64 entries to not
allocate too much on systems with really high limits.

16 years agoUpdate.
drepper [Tue, 30 Mar 2004 00:01:23 +0000 (00:01 +0000)]
Update.

16 years ago(struct search_t): New type.
drepper [Mon, 29 Mar 2004 23:59:24 +0000 (23:59 +0000)]
(struct search_t): New type.
(dosearch): New function.
(_nss_nis_getservbyname_r): Use it.  Call yp_get_default_domain
 unconditionally.
(_nss_nis_getservbyport_r): Likewise.

16 years agoUpdate.
drepper [Mon, 29 Mar 2004 22:04:09 +0000 (22:04 +0000)]
Update.

16 years ago(__pthread_attr_setaffinity_old): Prepend GLIBC_ to version names is
drepper [Mon, 29 Mar 2004 22:03:28 +0000 (22:03 +0000)]
(__pthread_attr_setaffinity_old): Prepend GLIBC_ to version names is
SHLIB_COMPAT check.

16 years ago(__pthread_attr_getaffinity_old): Prepend GLIBC_ to version names is
drepper [Mon, 29 Mar 2004 22:02:58 +0000 (22:02 +0000)]
(__pthread_attr_getaffinity_old): Prepend GLIBC_ to version names is
SHLIB_COMPAT check.

16 years ago(__pthread_getaffinity_old): Prepend GLIBC_ to version names is
drepper [Mon, 29 Mar 2004 22:02:28 +0000 (22:02 +0000)]
(__pthread_getaffinity_old): Prepend GLIBC_ to version names is
SHLIB_COMPAT check.

16 years ago(__pthread_setaffinity_old): Prepend GLIBC_ to version names is
drepper [Mon, 29 Mar 2004 22:01:09 +0000 (22:01 +0000)]
(__pthread_setaffinity_old): Prepend GLIBC_ to version names is
SHLIB_COMPAT check.

16 years agoUpdate.
drepper [Mon, 29 Mar 2004 22:00:26 +0000 (22:00 +0000)]
Update.

16 years ago(__sched_setaffinity_old): Prepend GLIBC_ to version names is
drepper [Mon, 29 Mar 2004 21:59:17 +0000 (21:59 +0000)]
(__sched_setaffinity_old): Prepend GLIBC_ to version names is
SHLIB_COMPAT check.

16 years ago(__sched_getaffinity_old): Prepend GLIBC_ to version names is
drepper [Mon, 29 Mar 2004 21:58:46 +0000 (21:58 +0000)]
(__sched_getaffinity_old): Prepend GLIBC_ to version names is
SHLIB_COMPAT check.

16 years agoUpdate.
drepper [Mon, 29 Mar 2004 21:49:59 +0000 (21:49 +0000)]
Update.

16 years agoUpdate.
drepper [Mon, 29 Mar 2004 21:46:58 +0000 (21:46 +0000)]
Update.

16 years ago(saveit): Improve memory. No need to allocate multiple blocks.
drepper [Mon, 29 Mar 2004 21:46:07 +0000 (21:46 +0000)]
(saveit): Improve memory.  No need to allocate multiple blocks.
(internal_nis_endrpcent): Adjust accordingly.

16 years ago(saveit): Improve memory. No need to allocate multiple blocks.
drepper [Mon, 29 Mar 2004 21:43:56 +0000 (21:43 +0000)]
(saveit): Improve memory.  No need to allocate multiple blocks.
(internal_nis_endprotoent): Adjust accordingly.

16 years ago(saveit): Improve memory. No need to allocate multiple blocks.
drepper [Mon, 29 Mar 2004 21:41:26 +0000 (21:41 +0000)]
(saveit): Improve memory.  No need to allocate multiple blocks.
(_nss_nis_initgroups_dyn): Adjust accordingly.

16 years ago(saveit): Improve memory. No need to allocate multiple blocks.
drepper [Mon, 29 Mar 2004 21:37:28 +0000 (21:37 +0000)]
(saveit): Improve memory.  No need to allocate multiple blocks.
(internal_nis_endetherent): Adjust accordingly.

16 years ago(saveit): Improve memory. No need to allocate multiple blocks.
drepper [Mon, 29 Mar 2004 21:28:25 +0000 (21:28 +0000)]
(saveit): Improve memory.  No need to allocate multiple blocks.
(internal_nis_endservent): Adjust accordingly.

16 years agoUpdate.
drepper [Mon, 29 Mar 2004 20:17:33 +0000 (20:17 +0000)]
Update.

16 years agoReturn 0 for NSS_STATUS_NOTFOUND.
drepper [Mon, 29 Mar 2004 20:16:06 +0000 (20:16 +0000)]
Return 0 for NSS_STATUS_NOTFOUND.

16 years agoUpdate.
drepper [Mon, 29 Mar 2004 20:04:20 +0000 (20:04 +0000)]
Update.

16 years ago(_nss_nis_getgrnam_r): Don't set errno if group does not exist.
drepper [Mon, 29 Mar 2004 20:02:41 +0000 (20:02 +0000)]
(_nss_nis_getgrnam_r): Don't set errno if group does not exist.

16 years agoUpdate.
drepper [Sun, 28 Mar 2004 10:55:26 +0000 (10:55 +0000)]
Update.

16 years ago(__sysconf): Handle _SC_SIGQUEUE_MAX.
drepper [Sun, 28 Mar 2004 10:52:43 +0000 (10:52 +0000)]
(__sysconf): Handle _SC_SIGQUEUE_MAX.

16 years agoUpdate.
drepper [Sat, 27 Mar 2004 03:40:33 +0000 (03:40 +0000)]
Update.

16 years ago(_make_stacks_executable): Call _dl_make_stack_executable first.
drepper [Sat, 27 Mar 2004 03:39:53 +0000 (03:39 +0000)]
(_make_stacks_executable): Call _dl_make_stack_executable first.

16 years agoUpdate.
drepper [Sat, 27 Mar 2004 03:38:27 +0000 (03:38 +0000)]
Update.

16 years ago(_dl_make_stack_executable): Also use __check_caller test.
drepper [Sat, 27 Mar 2004 03:36:25 +0000 (03:36 +0000)]
(_dl_make_stack_executable): Also use __check_caller test.

16 years ago(struct rtld_global_ro): Add _dl_check_caller field.
drepper [Sat, 27 Mar 2004 03:23:51 +0000 (03:23 +0000)]
(struct rtld_global_ro): Add _dl_check_caller field.
Define enum allowmask.  Add declaration of _dl_check_caller.

16 years ago(struct link_map): Add l_text_end field.
drepper [Sat, 27 Mar 2004 03:22:29 +0000 (03:22 +0000)]
(struct link_map): Add l_text_end field.

16 years ago(_rtld_global_ro): Initialize _dl_check_caller.
drepper [Sat, 27 Mar 2004 03:22:04 +0000 (03:22 +0000)]
(_rtld_global_ro): Initialize _dl_check_caller.
(_dl_start_final): Record l_text_end for ld.so map.
(dl_main): Record l_text_end for main object and vdso.

16 years ago(check_libc_caller): Removed.
drepper [Sat, 27 Mar 2004 03:20:10 +0000 (03:20 +0000)]
(check_libc_caller): Removed.
(dl_open_worker): Use __check_caller instead.

16 years ago(_dl_map_object_from_fd): Record l_text_end.
drepper [Sat, 27 Mar 2004 03:19:12 +0000 (03:19 +0000)]
(_dl_map_object_from_fd): Record l_text_end.

16 years ago(dl-routines): Add dl-caller.
drepper [Sat, 27 Mar 2004 03:18:23 +0000 (03:18 +0000)]
(dl-routines): Add dl-caller.

16 years ago(distribute): Add include/caller.h.
drepper [Sat, 27 Mar 2004 03:17:26 +0000 (03:17 +0000)]
(distribute): Add include/caller.h.

16 years agoCode to check call site.
drepper [Sat, 27 Mar 2004 03:14:19 +0000 (03:14 +0000)]
Code to check call site.

16 years agoHeader with call site checker definitions.
drepper [Sat, 27 Mar 2004 02:43:52 +0000 (02:43 +0000)]
Header with call site checker definitions.

16 years ago * sysdeps/alpha/Makefile <gnulib> (sysdep_routines): Merge divrem
rth [Sat, 27 Mar 2004 00:32:26 +0000 (00:32 +0000)]
    * sysdeps/alpha/Makefile <gnulib> (sysdep_routines): Merge divrem
        variable, add unsigned variants.
        * sysdeps/alpha/divrem.h: Remove file.
        * sysdeps/alpha/div_libc.h: New file.
        * sysdeps/alpha/divl.S: Rewrite from scratch.
        * sysdeps/alpha/reml.S: Likewise.
        * sysdeps/alpha/divq.S: Likewise.
        * sysdeps/alpha/remq.S: Likewise.
        * sysdeps/alpha/divlu.S: New file.
        * sysdeps/alpha/remlu.S: New file.
        * sysdeps/alpha/divqu.S: New file.
        * sysdeps/alpha/remqu.S: New file.

16 years agoUpdate.
drepper [Fri, 26 Mar 2004 21:25:35 +0000 (21:25 +0000)]
Update.

16 years ago(check_libc_caller): Fix typo.
drepper [Fri, 26 Mar 2004 21:22:50 +0000 (21:22 +0000)]
(check_libc_caller): Fix typo.

16 years agoUpdate.
drepper [Fri, 26 Mar 2004 09:54:51 +0000 (09:54 +0000)]
Update.

16 years agoInclude stddef.h and stdlib.h.
drepper [Fri, 26 Mar 2004 09:48:53 +0000 (09:48 +0000)]
Include stddef.h and stdlib.h.

16 years ago * sysdeps/alpha/backtrace.c: New.
rth [Fri, 26 Mar 2004 07:56:21 +0000 (07:56 +0000)]
    * sysdeps/alpha/backtrace.c: New.

16 years agoUpdate.
drepper [Fri, 26 Mar 2004 06:43:45 +0000 (06:43 +0000)]
Update.

16 years agoRemove inline from isdirect, isxdirect, and isxbase64.
drepper [Fri, 26 Mar 2004 06:41:46 +0000 (06:41 +0000)]
Remove inline from isdirect, isxdirect, and isxbase64.

16 years agoUpdate.
drepper [Thu, 25 Mar 2004 23:04:58 +0000 (23:04 +0000)]
Update.

16 years ago(__strtol_ul_max_tab, __strtol_ull_max_tab, __strtol_ull_rem_tab,
drepper [Thu, 25 Mar 2004 22:58:59 +0000 (22:58 +0000)]
(__strtol_ul_max_tab, __strtol_ull_max_tab, __strtol_ull_rem_tab,
__strtol_ul_rem_tab, cutoff_tab, cutlim_tab, jmax_tab): New.
(__strtol_l): Use them to avoid runtime division.

16 years ago.
roland [Thu, 25 Mar 2004 03:54:03 +0000 (03:54 +0000)]
.

16 years ago2004-03-24 Roland McGrath <roland@redhat.com>
roland [Thu, 25 Mar 2004 03:53:49 +0000 (03:53 +0000)]
2004-03-24  Roland McGrath  <roland@redhat.com>

* sysdeps/i386/pthread_spin_lock.c (pthread_spin_lock): Use "m"
constraint instead of "0".

16 years ago2004-03-24 Roland McGrath <roland@redhat.com>
roland [Thu, 25 Mar 2004 03:53:30 +0000 (03:53 +0000)]
2004-03-24  Roland McGrath  <roland@redhat.com>

* fetch-value.c (_td_locate_field): Cast DB_DESC_OFFSET to int32_t.
* thread_dbP.h (DB_DESC_OFFSET): Remove cast from definition.

16 years ago.
roland [Thu, 25 Mar 2004 03:52:54 +0000 (03:52 +0000)]
.

16 years ago2004-03-24 Roland McGrath <roland@redhat.com>
roland [Thu, 25 Mar 2004 03:51:58 +0000 (03:51 +0000)]
2004-03-24  Roland McGrath  <roland@redhat.com>

* Makerules ($(common-objpfx)shlib.lds): Don't use \n in rhs of sed
substitutions; the semicolon terminators are enough for ld anyway.

16 years ago2004-03-24 Roland McGrath <roland@redhat.com>
roland [Thu, 25 Mar 2004 03:51:55 +0000 (03:51 +0000)]
2004-03-24  Roland McGrath  <roland@redhat.com>

* iconv/gconv_int.h (norm_add_slashes): Don't handle null SUFFIX.
strlen ("") gets optimized away just as well.
* intl/loadmsgcat.c (_nl_init_domain_conv): Update caller.
* wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.

16 years ago2004-03-24 Roland McGrath <roland@redhat.com>
roland [Thu, 25 Mar 2004 03:51:53 +0000 (03:51 +0000)]
2004-03-24  Roland McGrath  <roland@redhat.com>

* elf/dl-deps.c (_dl_map_object_deps): Use alloca instead of
dynamically sized auto array in function already using alloca.
* locale/programs/ld-ctype.c (ctype_output): Likewise.
* locale/programs/ld-time.c (time_output): Likewise.
* elf/dl-misc.c (_dl_debug_vdprintf): Use macro instead of const for
IOV array size.
* locale/programs/charmap.c (charmap_read): Avoid alloca (or strdupa)
when also using dynamically-sized auto array.
* locale/programs/locfile.c (locfile_read): Likewise.
* locale/programs/repertoire.c (repertoire_read): Likewise.
* nis/nis_print_group_entry.c (nis_print_group_entry): Likewise.
* locale/programs/locarchive.c (enlarge_archive): Likewise.
* posix/annexc.c (check_header): Likewise.

16 years ago.
roland [Thu, 25 Mar 2004 02:01:48 +0000 (02:01 +0000)]
.

16 years ago2004-03-24 Roland McGrath <roland@redhat.com>
roland [Thu, 25 Mar 2004 02:01:27 +0000 (02:01 +0000)]
2004-03-24  Roland McGrath  <roland@redhat.com>

* Makefile ($(objpfx)c++-types-check.out): Reduce duplication in
defining this target.  Also elide -Wstrict-prototypes from CFLAGS.

16 years agoUpdate.
drepper [Wed, 24 Mar 2004 23:53:39 +0000 (23:53 +0000)]
Update.

16 years ago[!COMPILE_WSCANF] (TOLOWER): Cast first parameter to unsigned char.
drepper [Wed, 24 Mar 2004 23:52:26 +0000 (23:52 +0000)]
[!COMPILE_WSCANF] (TOLOWER): Cast first parameter to unsigned char.

16 years ago[_LIBC] (TOLOWER): Cast first parameter to unsigned char.
drepper [Wed, 24 Mar 2004 23:47:46 +0000 (23:47 +0000)]
[_LIBC] (TOLOWER): Cast first parameter to unsigned char.

16 years agoUpdate.
drepper [Wed, 24 Mar 2004 23:26:10 +0000 (23:26 +0000)]
Update.

16 years ago(lll_mutex_cond_trylock): Define as wrapper around __lll_cond_trylock.
drepper [Wed, 24 Mar 2004 23:25:37 +0000 (23:25 +0000)]
(lll_mutex_cond_trylock): Define as wrapper around __lll_cond_trylock.

16 years agoUpdate.
drepper [Wed, 24 Mar 2004 22:05:34 +0000 (22:05 +0000)]
Update.

16 years agoRemove __powerpc64__ conditional.
drepper [Wed, 24 Mar 2004 22:04:37 +0000 (22:04 +0000)]
Remove __powerpc64__ conditional.

16 years agoUpdate.
drepper [Wed, 24 Mar 2004 22:03:54 +0000 (22:03 +0000)]
Update.

16 years agoAdjust description, since test-* append
drepper [Wed, 24 Mar 2004 22:02:22 +0000 (22:02 +0000)]
Adjust description, since test-* append
to ULPs instead of overwriting it.

16 years ago(INTERNAL (__STRTOF)): Clear the rest of retval,
drepper [Wed, 24 Mar 2004 21:59:37 +0000 (21:59 +0000)]
(INTERNAL (__STRTOF)): Clear the rest of retval,
not just one limb if RETURN_LIMB_SIZE > 2.  Fix shifting up if
RETURN_LIMB_SIZE > 2.

16 years ago(__printf_fp): For IEEE quad long double on 32-bit architectures reserve
drepper [Wed, 24 Mar 2004 21:51:47 +0000 (21:51 +0000)]
(__printf_fp): For IEEE quad long double on 32-bit architectures reserve
8 limbs instead of 4.

16 years ago(really_getpid): Typo.
drepper [Wed, 24 Mar 2004 20:53:47 +0000 (20:53 +0000)]
(really_getpid): Typo.

16 years agoUpdate.
drepper [Wed, 24 Mar 2004 20:52:17 +0000 (20:52 +0000)]
Update.

16 years ago(really_getpid): Reorganize code to avoid warning.
drepper [Wed, 24 Mar 2004 20:50:12 +0000 (20:50 +0000)]
(really_getpid): Reorganize code to avoid warning.

16 years ago (__pthread_attr_setaffinity_old): Remove const.
aj [Wed, 24 Mar 2004 13:53:13 +0000 (13:53 +0000)]
(__pthread_attr_setaffinity_old): Remove const.

16 years ago(__pthread_attr_setaffinity_old): Remove const.
aj [Wed, 24 Mar 2004 13:52:34 +0000 (13:52 +0000)]
(__pthread_attr_setaffinity_old): Remove const.

16 years agoUpdate.
drepper [Wed, 24 Mar 2004 06:36:06 +0000 (06:36 +0000)]
Update.

16 years agoBump to 0.61.
drepper [Wed, 24 Mar 2004 06:35:38 +0000 (06:35 +0000)]
Bump to 0.61.

16 years agoDefine lll_mutex_cond_trylock.
drepper [Wed, 24 Mar 2004 06:35:18 +0000 (06:35 +0000)]
Define lll_mutex_cond_trylock.
Define BUSY_WAIT_NOP.

16 years agoDefine lll_mutex_cond_trylock.
drepper [Wed, 24 Mar 2004 06:34:58 +0000 (06:34 +0000)]
Define lll_mutex_cond_trylock.

16 years ago(pthread_mutex_t): Add __spins field.
drepper [Wed, 24 Mar 2004 06:29:56 +0000 (06:29 +0000)]
(pthread_mutex_t): Add __spins field.

16 years agoAdd comment regarding __spins field.
drepper [Wed, 24 Mar 2004 06:28:07 +0000 (06:28 +0000)]
Add comment regarding __spins field.

16 years agoAdd comment regarding __spins field.
drepper [Wed, 24 Mar 2004 06:27:30 +0000 (06:27 +0000)]
Add comment regarding __spins field.

16 years agoAdd comment regarding __spins field.
drepper [Wed, 24 Mar 2004 06:26:49 +0000 (06:26 +0000)]
Add comment regarding __spins field.

16 years agoDeclare __is_smp.
drepper [Wed, 24 Mar 2004 06:26:21 +0000 (06:26 +0000)]
Declare __is_smp.
Define MAX_ADAPTIVE_COUNT is necessary.

16 years agoDefine __is_smp.
drepper [Wed, 24 Mar 2004 06:25:35 +0000 (06:25 +0000)]
Define __is_smp.
(__pthread_initialize_minimal_internal): Call is_smp_system to
initialize __is_smp.

16 years agoDummy definition for is_smp_system function.
drepper [Wed, 24 Mar 2004 06:24:30 +0000 (06:24 +0000)]
Dummy definition for is_smp_system function.

16 years agoDetermine whether system is SMP.
drepper [Wed, 24 Mar 2004 06:24:08 +0000 (06:24 +0000)]
Determine whether system is SMP.

16 years ago(tests): Add tst-mutex5a and tst-mutex7a.
drepper [Wed, 24 Mar 2004 06:23:11 +0000 (06:23 +0000)]
(tests): Add tst-mutex5a and tst-mutex7a.

16 years agoTest for adaptive mutexes.
drepper [Wed, 24 Mar 2004 06:22:38 +0000 (06:22 +0000)]
Test for adaptive mutexes.

16 years agoAdd support for testing adaptive mutexes.
drepper [Wed, 24 Mar 2004 06:22:12 +0000 (06:22 +0000)]
Add support for testing adaptive mutexes.

16 years agoUpdate.
drepper [Wed, 24 Mar 2004 01:56:21 +0000 (01:56 +0000)]
Update.

16 years ago(__lll_mutex_timedlock_wait): Preserve r8 and r9 since the
drepper [Wed, 24 Mar 2004 01:55:56 +0000 (01:55 +0000)]
(__lll_mutex_timedlock_wait): Preserve r8 and r9 since the
vgettimeofday call miht destroy the content.

16 years agoUpdate.
drepper [Wed, 24 Mar 2004 00:06:13 +0000 (00:06 +0000)]
Update.