kopensolaris-gnu/glibc.git
14 years agoAdd libnsl_hidden_proto for xdr_ypmaplist.
drepper [Thu, 11 May 2006 23:14:38 +0000 (23:14 +0000)]
Add libnsl_hidden_proto for xdr_ypmaplist.

14 years agoAdd libnsl_hidden_def for xdr_ypmaplist.
drepper [Thu, 11 May 2006 23:13:35 +0000 (23:13 +0000)]
Add libnsl_hidden_def for xdr_ypmaplist.

14 years agoAdd libnsl_hidden_proto for xdr_ypreq_nokey.
drepper [Thu, 11 May 2006 23:09:17 +0000 (23:09 +0000)]
Add libnsl_hidden_proto for xdr_ypreq_nokey.

14 years agoAdd libnsl_hidden_def for xdr_ypreq_nokey.
drepper [Thu, 11 May 2006 23:08:26 +0000 (23:08 +0000)]
Add libnsl_hidden_def for xdr_ypreq_nokey.

14 years ago.
drepper [Thu, 11 May 2006 22:41:55 +0000 (22:41 +0000)]
.

14 years agoAdd libnsl_hidden_def for xdr_ypdelete_args.
drepper [Thu, 11 May 2006 22:41:06 +0000 (22:41 +0000)]
Add libnsl_hidden_def for xdr_ypdelete_args.

14 years agoAdd libnsl_hidden_proto for xdr_ypdelete_args.
drepper [Thu, 11 May 2006 22:40:30 +0000 (22:40 +0000)]
Add libnsl_hidden_proto for xdr_ypdelete_args.

14 years ago.
drepper [Thu, 11 May 2006 20:36:41 +0000 (20:36 +0000)]
.

14 years agoMark all functions as hidden. Remove __BEGIN_DECLS and __END_DECLS,
drepper [Thu, 11 May 2006 20:35:47 +0000 (20:35 +0000)]
Mark all functions as hidden.  Remove __BEGIN_DECLS and __END_DECLS,
the header is not installed.

14 years ago.
drepper [Thu, 11 May 2006 20:29:20 +0000 (20:29 +0000)]
.

14 years agoRemove table of strings. Use position independent mechanism.
drepper [Thu, 11 May 2006 20:28:33 +0000 (20:28 +0000)]
Remove table of strings.  Use position independent mechanism.

14 years agoNIS error messages.
drepper [Thu, 11 May 2006 20:27:42 +0000 (20:27 +0000)]
NIS error messages.

14 years ago.
drepper [Thu, 11 May 2006 17:52:42 +0000 (17:52 +0000)]
.

14 years ago(__pthread_key_create): Do away with __pthread_keys_lock.
drepper [Thu, 11 May 2006 17:48:07 +0000 (17:48 +0000)]
(__pthread_key_create): Do away with __pthread_keys_lock.

14 years ago(__kernel_cpumask_size): Mark as hidden.
drepper [Thu, 11 May 2006 17:13:50 +0000 (17:13 +0000)]
(__kernel_cpumask_size): Mark as hidden.

14 years ago(__kernel_cpumask_size): Mark as hidden.
drepper [Thu, 11 May 2006 17:13:17 +0000 (17:13 +0000)]
(__kernel_cpumask_size): Mark as hidden.

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

14 years ago(__sem_mappings_lock): Mark as hidden.
drepper [Thu, 11 May 2006 17:09:43 +0000 (17:09 +0000)]
(__sem_mappings_lock): Mark as hidden.

14 years ago(__sem_mappings_lock): Mark as hidden.
drepper [Thu, 11 May 2006 17:08:37 +0000 (17:08 +0000)]
(__sem_mappings_lock): Mark as hidden.

14 years ago.
drepper [Thu, 11 May 2006 16:48:14 +0000 (16:48 +0000)]
.

14 years ago(time_finish): If wide era name or format aren't provided, set both wname
drepper [Thu, 11 May 2006 16:47:43 +0000 (16:47 +0000)]
(time_finish): If wide era name or format aren't provided, set both wname
and wformat to L"".

14 years ago. fedora-glibc-20060511T1325
drepper [Wed, 10 May 2006 22:19:45 +0000 (22:19 +0000)]
.

14 years agoMark __dso_handle as hidden.
drepper [Wed, 10 May 2006 22:15:53 +0000 (22:15 +0000)]
Mark __dso_handle as hidden.

14 years ago.
drepper [Wed, 10 May 2006 19:32:07 +0000 (19:32 +0000)]
.

14 years ago(__tcgetattr): Only store results if the call was succesful.
drepper [Wed, 10 May 2006 19:31:26 +0000 (19:31 +0000)]
(__tcgetattr): Only store results if the call was succesful.

14 years ago.
drepper [Wed, 10 May 2006 17:27:03 +0000 (17:27 +0000)]
.

14 years agoMark __yperr2nss_tab and __yperr2nss_count as hidden.
drepper [Wed, 10 May 2006 17:26:09 +0000 (17:26 +0000)]
Mark __yperr2nss_tab and __yperr2nss_count as hidden.

14 years agoMark __niserr2nss_tab and __niserr2nss_count as hidden.
drepper [Wed, 10 May 2006 17:24:35 +0000 (17:24 +0000)]
Mark __niserr2nss_tab and __niserr2nss_count as hidden.

14 years ago.
drepper [Wed, 10 May 2006 14:54:14 +0000 (14:54 +0000)]
.

14 years agoRemove uses of all QUEUEDEBUG_* macros.
drepper [Wed, 10 May 2006 14:53:51 +0000 (14:53 +0000)]
Remove uses of all QUEUEDEBUG_* macros.

14 years ago.
drepper [Wed, 10 May 2006 14:48:09 +0000 (14:48 +0000)]
.

14 years ago(parse_glob): No need to check ifs for NULL, the caller makes sure
drepper [Wed, 10 May 2006 14:43:20 +0000 (14:43 +0000)]
(parse_glob): No need to check ifs for NULL, the caller makes sure
this is not the case.
(wordexp): Simplify ifs_white creation.

14 years ago.
drepper [Wed, 10 May 2006 07:58:39 +0000 (07:58 +0000)]
.

14 years agoRemove numerous NULL pointer tests before FREE calls.
drepper [Wed, 10 May 2006 06:55:10 +0000 (06:55 +0000)]
Remove numerous NULL pointer tests before FREE calls.

14 years agoRemove inadvertently added debug code.
drepper [Wed, 10 May 2006 06:40:34 +0000 (06:40 +0000)]
Remove inadvertently added debug code.

14 years ago.
drepper [Wed, 10 May 2006 06:39:15 +0000 (06:39 +0000)]
.

14 years ago(open_dir_stream): Return right away if REALLOC fails.
drepper [Wed, 10 May 2006 06:35:59 +0000 (06:35 +0000)]
(open_dir_stream): Return right away if REALLOC fails.

14 years ago(hol_entry_help): Handle STATE==NULL in ARG and DGETTEXT calls.
drepper [Wed, 10 May 2006 06:28:06 +0000 (06:28 +0000)]
(hol_entry_help): Handle STATE==NULL in ARG and DGETTEXT calls.
(hol_help): Likewise.

14 years ago(__argz_replace): Unconditionally call free on SRC.
drepper [Wed, 10 May 2006 06:17:46 +0000 (06:17 +0000)]
(__argz_replace): Unconditionally call free on SRC.

14 years ago(nis_creategroup): No need to duplicate the return value of
drepper [Wed, 10 May 2006 03:06:22 +0000 (03:06 +0000)]
(nis_creategroup): No need to duplicate the return value of
__nis_default_owner and __nis_default_group, it has been especially
allocated.

14 years ago.
drepper [Wed, 10 May 2006 02:55:21 +0000 (02:55 +0000)]
.

14 years ago(searchXYX): New functions. Used by both searchgroup and searchowner.
drepper [Wed, 10 May 2006 02:54:46 +0000 (02:54 +0000)]
(searchXYX): New functions.  Used by both searchgroup and searchowner.
Significantly simplified.
(__nis_default_owner): Remove duplication.  Do not locally copy the string
before duplicating it.
(__nis_default_group): Likewise.

14 years ago(nis_lookup): After calling nis_free_directory, we must clear the
drepper [Wed, 10 May 2006 02:30:20 +0000 (02:30 +0000)]
(nis_lookup): After calling nis_free_directory, we must clear the
variable before calling __nisfind_server.

14 years ago(nis_lookup): Always free memory allocated with nis_getnames.
drepper [Wed, 10 May 2006 02:26:31 +0000 (02:26 +0000)]
(nis_lookup): Always free memory allocated with nis_getnames.

14 years ago(locfile_read): Use alloca instead of xmalloc to allocate local
drepper [Wed, 10 May 2006 02:12:39 +0000 (02:12 +0000)]
(locfile_read): Use alloca instead of xmalloc to allocate local
repertoire name.

14 years ago(use_to_charmap): No need to dynamically allocate memory for the input
drepper [Wed, 10 May 2006 02:06:18 +0000 (02:06 +0000)]
(use_to_charmap): No need to dynamically allocate memory for the input
to add_bytes.

14 years ago.
drepper [Wed, 10 May 2006 00:03:41 +0000 (00:03 +0000)]
.

14 years ago(w_addword): Free word if realloc fails and it was allocated here.
drepper [Wed, 10 May 2006 00:02:41 +0000 (00:02 +0000)]
(w_addword): Free word if realloc fails and it was allocated here.

14 years ago(print_all): Free confstr data after printing.
drepper [Tue, 9 May 2006 23:58:22 +0000 (23:58 +0000)]
(print_all): Free confstr data after printing.

14 years ago(gaih_inet): Free canon string if list allocation fails.
drepper [Tue, 9 May 2006 23:42:55 +0000 (23:42 +0000)]
(gaih_inet): Free canon string if list allocation fails.

14 years agoOne more place to fix.
drepper [Tue, 9 May 2006 22:46:57 +0000 (22:46 +0000)]
One more place to fix.

14 years ago(__nss_configure_lookup): Fix loop end condition.
drepper [Tue, 9 May 2006 22:45:38 +0000 (22:45 +0000)]
(__nss_configure_lookup): Fix loop end condition.

14 years agoAdd rules to build and run bug-argp1.
drepper [Tue, 9 May 2006 22:42:24 +0000 (22:42 +0000)]
Add rules to build and run bug-argp1.

14 years agoTest for argp bug with empty doc strings.
drepper [Tue, 9 May 2006 22:40:17 +0000 (22:40 +0000)]
Test for argp bug with empty doc strings.

14 years ago(hol_entry_cmp): Don't call canon_doc_option if string is NULL.
drepper [Tue, 9 May 2006 22:38:35 +0000 (22:38 +0000)]
(hol_entry_cmp): Don't call canon_doc_option if string is NULL.

14 years ago(ftw_dir): use __rawmemchr instead of strchr to find end of string.
drepper [Tue, 9 May 2006 22:09:30 +0000 (22:09 +0000)]
(ftw_dir): use __rawmemchr instead of strchr to find end of string.

14 years ago(__realpath): Use __rawmemchr instead of strchr when looking for the
drepper [Tue, 9 May 2006 21:58:29 +0000 (21:58 +0000)]
(__realpath): Use __rawmemchr instead of strchr when looking for the
end of the string.

14 years ago(time_finish): Don't dereference NULL pointer.
drepper [Tue, 9 May 2006 21:51:21 +0000 (21:51 +0000)]
(time_finish): Don't dereference NULL pointer.

14 years ago(DL_DST_REQUIRED): Be prepared for missing link map in statically linked code.
drepper [Tue, 9 May 2006 21:44:31 +0000 (21:44 +0000)]
(DL_DST_REQUIRED): Be prepared for missing link map in statically linked code.

14 years ago(_dl_dst_substitute): When replacing ORIGIN in statically built code,
drepper [Tue, 9 May 2006 21:43:03 +0000 (21:43 +0000)]
(_dl_dst_substitute): When replacing ORIGIN in statically built code,
be prepared to have no link map.

14 years ago(fill_in_uparams): Handle STATE==NULL in dgettext calls.
drepper [Tue, 9 May 2006 21:22:56 +0000 (21:22 +0000)]
(fill_in_uparams): Handle STATE==NULL in dgettext calls.

14 years ago(struct uparams): Remove valid member. Change the one user.
drepper [Tue, 9 May 2006 21:18:35 +0000 (21:18 +0000)]
(struct uparams): Remove valid member.  Change the one user.

14 years ago(uparam_names): Avoid relative relocations. Moved to read-only segment.
drepper [Tue, 9 May 2006 20:51:10 +0000 (20:51 +0000)]
(uparam_names): Avoid relative relocations.  Moved to read-only segment.
(fill_in_uparams): Update for new layout.

14 years ago(uparam_names): Reduce size.
drepper [Tue, 9 May 2006 20:43:33 +0000 (20:43 +0000)]
(uparam_names): Reduce size.

14 years ago(getifaddrs): Parameter can be assumed to always be != NULL.
drepper [Tue, 9 May 2006 20:26:39 +0000 (20:26 +0000)]
(getifaddrs): Parameter can be assumed to always be != NULL.

14 years ago(hol_entry_help): Remove some dead code.
drepper [Tue, 9 May 2006 19:25:38 +0000 (19:25 +0000)]
(hol_entry_help): Remove some dead code.

14 years ago(_nss_nis_getservbyport_r): Optimize away a few more unconditional
drepper [Tue, 9 May 2006 19:06:22 +0000 (19:06 +0000)]
(_nss_nis_getservbyport_r): Optimize away a few more unconditional
yperr2nss calls.

14 years ago(_nss_nis_getservbyname_r): Optimize away a few more unconditional
drepper [Tue, 9 May 2006 19:02:06 +0000 (19:02 +0000)]
(_nss_nis_getservbyname_r): Optimize away a few more unconditional
yperr2nss calls.

14 years agoMake sure pthread_cancel_init is not inlined.
drepper [Tue, 9 May 2006 15:20:39 +0000 (15:20 +0000)]
Make sure pthread_cancel_init is not inlined.

14 years ago.
drepper [Tue, 9 May 2006 15:19:13 +0000 (15:19 +0000)]
.

14 years agoDifferent solution for the reload problem. Change the one path in
drepper [Tue, 9 May 2006 15:16:24 +0000 (15:16 +0000)]
Different solution for the reload problem.  Change the one path in
pthread_cancel_init which causes the problem.  Force gcc to reload.
Simplify callers.

14 years ago(_Unwind_GetBSP): Undo last patch.
drepper [Tue, 9 May 2006 15:14:32 +0000 (15:14 +0000)]
(_Unwind_GetBSP): Undo last patch.

14 years agoRemove volatiles which slipped in.
drepper [Tue, 9 May 2006 14:21:53 +0000 (14:21 +0000)]
Remove volatiles which slipped in.

14 years ago.
drepper [Mon, 8 May 2006 01:04:15 +0000 (01:04 +0000)]
.

14 years ago.
drepper [Mon, 8 May 2006 01:01:08 +0000 (01:01 +0000)]
.

14 years agoMake sure functions pointer is reloaded after pthread_cancel_init calls.
drepper [Mon, 8 May 2006 00:59:41 +0000 (00:59 +0000)]
Make sure functions pointer is reloaded after pthread_cancel_init calls.

14 years agoMake sure functions pointers are reloaded after pthread_cancel_init calls.
drepper [Mon, 8 May 2006 00:55:56 +0000 (00:55 +0000)]
Make sure functions pointers are reloaded after pthread_cancel_init calls.

14 years ago.
drepper [Sun, 7 May 2006 16:11:35 +0000 (16:11 +0000)]
.

14 years ago.
drepper [Sun, 7 May 2006 03:23:21 +0000 (03:23 +0000)]
.

14 years agoRemove support for non-core architectures.
drepper [Sun, 7 May 2006 03:22:45 +0000 (03:22 +0000)]
Remove support for non-core architectures.

14 years ago,
drepper [Sat, 6 May 2006 22:07:31 +0000 (22:07 +0000)]
,

14 years ago(make_request): Make sure that unused memory passed to sendto is
drepper [Sat, 6 May 2006 22:07:04 +0000 (22:07 +0000)]
(make_request): Make sure that unused memory passed to sendto is
nevertheless initialized.

14 years ago.
drepper [Sat, 6 May 2006 19:18:15 +0000 (19:18 +0000)]
.

14 years ago(_nss_dns_getcanonname_r): Avoid possibly unaligned memory accesses.
drepper [Sat, 6 May 2006 19:17:41 +0000 (19:17 +0000)]
(_nss_dns_getcanonname_r): Avoid possibly unaligned memory accesses.

14 years ago.
drepper [Sat, 6 May 2006 18:04:35 +0000 (18:04 +0000)]
.

14 years agoUse NS_PUT16 and NS_PUT32 instead of __putshort and __putlong
drepper [Sat, 6 May 2006 18:04:12 +0000 (18:04 +0000)]
Use NS_PUT16 and NS_PUT32 instead of __putshort and __putlong
respectively.  Correct buffer overflow check for NS_NOTIFY_OP.

14 years agoAlso optimize NS_PUT16 and NS_PUT32.
drepper [Sat, 6 May 2006 18:03:34 +0000 (18:03 +0000)]
Also optimize NS_PUT16 and NS_PUT32.

14 years ago(send_vc): Use ns_put16 instead of putshort.
drepper [Sat, 6 May 2006 17:35:50 +0000 (17:35 +0000)]
(send_vc): Use ns_put16 instead of putshort.

14 years ago.
drepper [Sat, 6 May 2006 17:20:59 +0000 (17:20 +0000)]
.

14 years ago(res_queriesmatch): Fix typo in comment.
drepper [Sat, 6 May 2006 17:20:29 +0000 (17:20 +0000)]
(res_queriesmatch): Fix typo in comment.
(send_dg): Rewrite error handling to be more compact and avoid
double recomputation of timeouts.  Pass MSG_NOSIGNAL to send.

14 years ago.
drepper [Sat, 6 May 2006 08:03:24 +0000 (08:03 +0000)]
.

14 years agoAdd optimizations for NS_GET16 and NS_GET32.
drepper [Sat, 6 May 2006 08:03:01 +0000 (08:03 +0000)]
Add optimizations for NS_GET16 and NS_GET32.

14 years ago(res_queriesmatch): Minor optimization.
drepper [Sat, 6 May 2006 07:36:43 +0000 (07:36 +0000)]
(res_queriesmatch): Minor optimization.

14 years ago(res_nameinquery): Use NS_GET16 directly instead of ns_get16.
drepper [Sat, 6 May 2006 07:26:01 +0000 (07:26 +0000)]
(res_nameinquery): Use NS_GET16 directly instead of ns_get16.
(res_queriesmatch): Likewise.

14 years ago.
drepper [Sat, 6 May 2006 07:16:35 +0000 (07:16 +0000)]
.

14 years ago(__libc_res_nquery): If answerp != NULL, __libc_res_nsend might reallocate
drepper [Sat, 6 May 2006 07:15:53 +0000 (07:15 +0000)]
(__libc_res_nquery): If answerp != NULL, __libc_res_nsend might reallocate
the buffer for the answer.  In this case we have to reload the HP pointer.

14 years ago.
drepper [Sat, 6 May 2006 06:18:04 +0000 (06:18 +0000)]
.

14 years ago(memory_error): Remove definition.
drepper [Sat, 6 May 2006 06:17:35 +0000 (06:17 +0000)]
(memory_error): Remove definition.
Add some branch prediction hints.

14 years ago.
drepper [Fri, 5 May 2006 19:09:39 +0000 (19:09 +0000)]
.

14 years agoDefine SPLICE_F_*.
drepper [Fri, 5 May 2006 19:09:14 +0000 (19:09 +0000)]
Define SPLICE_F_*.