kopensolaris-gnu/glibc.git
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)]
.

13 years ago(nis_domain_of_r): Add missing buffer overflow test.
drepper [Wed, 24 May 2006 04:06:24 +0000 (04:06 +0000)]
(nis_domain_of_r): Add missing buffer overflow test.

13 years agoAdd libnsl_hidden_proto for __do_niscall3. fedora-glibc-20060521T2153
drepper [Sat, 20 May 2006 20:18:03 +0000 (20:18 +0000)]
Add libnsl_hidden_proto for __do_niscall3.

13 years agoAdd libnsl_hidden_proto for __prepare_niscall.
drepper [Sat, 20 May 2006 20:17:22 +0000 (20:17 +0000)]
Add libnsl_hidden_proto for __prepare_niscall.

13 years agoAdd libnsl_hidden_def for __prepare_niscall and __do_niscall3.
drepper [Sat, 20 May 2006 20:16:48 +0000 (20:16 +0000)]
Add libnsl_hidden_def for __prepare_niscall and __do_niscall3.

13 years ago.
drepper [Sat, 20 May 2006 19:22:30 +0000 (19:22 +0000)]
.

13 years agoExport __prepare_niscall, __create_ib_request, __follow_path,
drepper [Sat, 20 May 2006 19:21:52 +0000 (19:21 +0000)]
Export __prepare_niscall, __create_ib_request, __follow_path,
__do_niscall3, _xdr_ib_request, and _xdr_nis_result from libnsl for
version GLIBC_PRIVATE.

13 years agoDeclare __prepare_niscall, __create_ib_request, and __follow_path.
drepper [Sat, 20 May 2006 19:20:55 +0000 (19:20 +0000)]
Declare __prepare_niscall, __create_ib_request, and __follow_path.

13 years agoRemove support for SETENT_BATCH_READ again. Rewrite getpwent handling
drepper [Sat, 20 May 2006 19:20:19 +0000 (19:20 +0000)]
Remove support for SETENT_BATCH_READ again.  Rewrite getpwent handling
to not use nis_first_entry and nis_next_entry.  Roll out own niscall
handling.

13 years agoRemove _nss_nisplus_parse_pwent_chk.
drepper [Sat, 20 May 2006 19:17:59 +0000 (19:17 +0000)]
Remove _nss_nisplus_parse_pwent_chk.
Remove entry parameter from _nss_nisplus_parse_pwent and
_nss_nisplus_parse_grent.

13 years agoRemove _nss_nisplus_parse_pwent_chk.
drepper [Sat, 20 May 2006 19:17:04 +0000 (19:17 +0000)]
Remove _nss_nisplus_parse_pwent_chk.
Remove entry parameter from _nss_nisplus_parse_pwent and
_nss_nisplus_parse_grent.

13 years agoAdd libnsl_hidden_proto for _xdr_ib_request and _xdr_nis_result.
drepper [Sat, 20 May 2006 19:16:04 +0000 (19:16 +0000)]
Add libnsl_hidden_proto for _xdr_ib_request and _xdr_nis_result.

13 years agoAdd libnsl_hidden_def for _xdr_ib_request and _xdr_nis_result.
drepper [Sat, 20 May 2006 19:15:24 +0000 (19:15 +0000)]
Add libnsl_hidden_def for _xdr_ib_request and _xdr_nis_result.

13 years ago(__create_ib_request): Renamed from create_ib_request and exported.
drepper [Sat, 20 May 2006 19:14:20 +0000 (19:14 +0000)]
(__create_ib_request): Renamed from create_ib_request and exported.
(__follow_path): New function.  Split out from nis_list.

13 years ago(__prepare_niscall): New functions. Split out from __do_niscall.
drepper [Sat, 20 May 2006 19:08:46 +0000 (19:08 +0000)]
(__prepare_niscall): New functions.  Split out from __do_niscall.

13 years agoFix typo in comment.
drepper [Sat, 20 May 2006 19:07:13 +0000 (19:07 +0000)]
Fix typo in comment.

13 years ago.
drepper [Sat, 20 May 2006 01:04:08 +0000 (01:04 +0000)]
.

13 years ago(__do_niscall3): Avoid code duplication in error handling.
drepper [Sat, 20 May 2006 01:03:35 +0000 (01:03 +0000)]
(__do_niscall3): Avoid code duplication in error handling.

13 years ago.
drepper [Sat, 20 May 2006 00:31:17 +0000 (00:31 +0000)]
.

13 years ago(internal_nis_do_callback): Don't use malloc to allocate memory for
drepper [Sat, 20 May 2006 00:30:32 +0000 (00:30 +0000)]
(internal_nis_do_callback): Don't use malloc to allocate memory for
my_pollfd.  Better initialization of cb_is_running.  Use
TEMP_FAILURE_RETRY.

13 years ago.
drepper [Fri, 19 May 2006 16:48:27 +0000 (16:48 +0000)]
.

13 years ago(memusageso): Add quotes.
drepper [Fri, 19 May 2006 16:47:26 +0000 (16:47 +0000)]
(memusageso): Add quotes.
(memusagestat): Likewise.

13 years ago($(objpfx)xtrace): Use $LIB in SLIBDIR replacement.
drepper [Fri, 19 May 2006 16:44:45 +0000 (16:44 +0000)]
($(objpfx)xtrace): Use $LIB in SLIBDIR replacement.

13 years ago(pcprofileso): Add quotes.
drepper [Fri, 19 May 2006 16:43:31 +0000 (16:43 +0000)]
(pcprofileso): Add quotes.
(pcprofiledump): Likewise.

13 years ago($(objpfx)memusage): Use $LIB in SLIBDIR replacement.
drepper [Fri, 19 May 2006 16:42:00 +0000 (16:42 +0000)]
($(objpfx)memusage): Use $LIB in SLIBDIR replacement.

13 years ago. fedora-glibc-20060519T1550
drepper [Fri, 19 May 2006 08:23:43 +0000 (08:23 +0000)]
.

13 years ago(__nis_create_callback): Calls to svcudp_bufcreate and svctcp_create can fail.
drepper [Fri, 19 May 2006 08:23:17 +0000 (08:23 +0000)]
(__nis_create_callback): Calls to svcudp_bufcreate and svctcp_create can fail.
Free ->xprt if asprintf call fails.

13 years ago.
drepper [Fri, 19 May 2006 07:55:24 +0000 (07:55 +0000)]
.

13 years ago(__netlink_sendreq): Make sure no uninitialized memory is passed to sendto.
drepper [Fri, 19 May 2006 07:46:03 +0000 (07:46 +0000)]
(__netlink_sendreq): Make sure no uninitialized memory is passed to sendto.

13 years ago.
drepper [Thu, 18 May 2006 17:32:19 +0000 (17:32 +0000)]
.

13 years ago(__nis_create_callback): Use asprinf instead of snprintf+strdup. Handle OOM.
drepper [Thu, 18 May 2006 17:31:32 +0000 (17:31 +0000)]
(__nis_create_callback): Use asprinf instead of snprintf+strdup.  Handle OOM.

13 years ago(__nis_create_callback): Allocate cb and cb->serv together. Remove
drepper [Thu, 18 May 2006 17:26:36 +0000 (17:26 +0000)]
(__nis_create_callback): Allocate cb and cb->serv together.  Remove
now obsolete free calls.
(__nis_destroy_callback): Remove now obsolete free call.

13 years ago.
drepper [Thu, 18 May 2006 16:58:36 +0000 (16:58 +0000)]
.

13 years agoUpdate to match the new default tables.
drepper [Thu, 18 May 2006 16:57:50 +0000 (16:57 +0000)]
Update to match the new default tables.

13 years agoAdd unique labels to the default RFC3484 precedence table for
drepper [Thu, 18 May 2006 16:56:13 +0000 (16:56 +0000)]
Add unique labels to the default RFC3484 precedence table for
fec0::/10 and fc00::/7 (site-local and ULA respectively). Set
precedence for IPv4 address to 10 as defined in RFC3484 for preferring
IPv6.

13 years ago.
drepper [Thu, 18 May 2006 14:52:08 +0000 (14:52 +0000)]
.

13 years ago(nss_setgrent, nss_endgrent): Removed.
drepper [Thu, 18 May 2006 14:51:45 +0000 (14:51 +0000)]
(nss_setgrent, nss_endgrent): Removed.
(init_nss_interface): Remove initialization of these variables.

13 years agoIf nss_set*ent returned NSS_STATUS_UNAVAIL, still return
drepper [Thu, 18 May 2006 14:51:05 +0000 (14:51 +0000)]
If nss_set*ent returned NSS_STATUS_UNAVAIL, still return
NSS_STATUS_SUCCESS.

13 years ago(rec_dirsearch): Little optimization: pull nis_free_directory forward
drepper [Thu, 18 May 2006 07:24:10 +0000 (07:24 +0000)]
(rec_dirsearch): Little optimization: pull nis_free_directory forward
to avoid duplication.

13 years ago(rec_dirsearch): Handle NULL from other calloc as well.
drepper [Thu, 18 May 2006 07:16:21 +0000 (07:16 +0000)]
(rec_dirsearch): Handle NULL from other calloc as well.

13 years ago(rec_dirsearch): Really fix leak problems.
drepper [Thu, 18 May 2006 06:47:39 +0000 (06:47 +0000)]
(rec_dirsearch): Really fix leak problems.

13 years ago.
drepper [Thu, 18 May 2006 06:08:02 +0000 (06:08 +0000)]
.

13 years ago(rec_dirsearch): Handle __nis_finddirectory and rec_dirsearch returning NULL.
drepper [Thu, 18 May 2006 06:07:35 +0000 (06:07 +0000)]
(rec_dirsearch): Handle __nis_finddirectory and rec_dirsearch returning NULL.
(first_shoot): Handle __nis_finddirectory returning NULL.
(__nisfind_server): Fix leak when rec_dirsearch returns NULL.

13 years ago.
drepper [Wed, 17 May 2006 17:52:59 +0000 (17:52 +0000)]
.

13 years agoDefine IN_CLOSE, IN_MOVE, IN_ONLYDIR, IN_DONT_FOLLOW, and IN_MASK_ADD.
drepper [Wed, 17 May 2006 17:51:58 +0000 (17:51 +0000)]
Define IN_CLOSE, IN_MOVE, IN_ONLYDIR, IN_DONT_FOLLOW, and IN_MASK_ADD.

13 years ago.
drepper [Wed, 17 May 2006 15:11:44 +0000 (15:11 +0000)]
.

13 years ago(getkeyserv_handle): Call auth_destroy if pid changed.
drepper [Wed, 17 May 2006 15:10:44 +0000 (15:10 +0000)]
(getkeyserv_handle): Call auth_destroy if pid changed.

13 years ago.
drepper [Mon, 15 May 2006 20:46:12 +0000 (20:46 +0000)]
.

13 years agoMark all functions as hidden.
drepper [Mon, 15 May 2006 20:43:30 +0000 (20:43 +0000)]
Mark all functions as hidden.

13 years agoMark __gr_map_handle as hidden.
drepper [Mon, 15 May 2006 20:40:17 +0000 (20:40 +0000)]
Mark __gr_map_handle as hidden.

13 years agoMark __gr_map_handle as hidden.
drepper [Mon, 15 May 2006 20:39:34 +0000 (20:39 +0000)]
Mark __gr_map_handle as hidden.

13 years agoMark all functions as hidden.
drepper [Mon, 15 May 2006 20:35:07 +0000 (20:35 +0000)]
Mark all functions as hidden.

13 years ago(pmap_rmtcall): Undo last patch.
drepper [Mon, 15 May 2006 20:34:16 +0000 (20:34 +0000)]
(pmap_rmtcall): Undo last patch.

13 years ago(__hst_map_handle): Mark as hidden.
drepper [Mon, 15 May 2006 20:31:29 +0000 (20:31 +0000)]
(__hst_map_handle): Mark as hidden.

13 years ago(__hst_map_handle): Mark as hidden.
drepper [Mon, 15 May 2006 20:30:27 +0000 (20:30 +0000)]
(__hst_map_handle): Mark as hidden.