kopensolaris-gnu/glibc.git
12 years agoFix typo in collating symbol definition.
drepper [Thu, 8 Nov 2007 00:07:00 +0000 (00:07 +0000)]
Fix typo in collating symbol definition.

12 years ago.
drepper [Thu, 8 Nov 2007 00:04:24 +0000 (00:04 +0000)]
.

12 years agoFix typos in collation symbols.
drepper [Thu, 8 Nov 2007 00:03:57 +0000 (00:03 +0000)]
Fix typos in collation symbols.

12 years ago.
drepper [Wed, 7 Nov 2007 23:58:54 +0000 (23:58 +0000)]
.

12 years ago(STANDARD_TO_LOOP_ERR_HANDLER): If conversion failed because output
drepper [Wed, 7 Nov 2007 23:58:39 +0000 (23:58 +0000)]
(STANDARD_TO_LOOP_ERR_HANDLER): If conversion failed because output
buffer is too small break, don't loop.

12 years ago(tests): Add bug-iconv6.
drepper [Wed, 7 Nov 2007 23:58:21 +0000 (23:58 +0000)]
(tests): Add bug-iconv6.

12 years agoTest for too small output buffer when transliterating.
drepper [Wed, 7 Nov 2007 23:58:04 +0000 (23:58 +0000)]
Test for too small output buffer when transliterating.

12 years ago.
drepper [Tue, 6 Nov 2007 21:38:49 +0000 (21:38 +0000)]
.

12 years ago(vfprintf): Compute necessary buffer size with size_t type.
drepper [Tue, 6 Nov 2007 21:38:38 +0000 (21:38 +0000)]
(vfprintf): Compute necessary buffer size with size_t type.

12 years ago(___printf_fp): Change chars_needed type to size_t. Add casts where needed.
drepper [Tue, 6 Nov 2007 21:38:19 +0000 (21:38 +0000)]
(___printf_fp): Change chars_needed type to size_t.  Add casts where needed.

12 years ago.
drepper [Tue, 6 Nov 2007 18:50:21 +0000 (18:50 +0000)]
.

12 years agoFix representation of data.
drepper [Tue, 6 Nov 2007 18:50:12 +0000 (18:50 +0000)]
Fix representation of data.

12 years ago.
drepper [Tue, 6 Nov 2007 18:41:14 +0000 (18:41 +0000)]
.

12 years ago.
drepper [Tue, 6 Nov 2007 18:26:44 +0000 (18:26 +0000)]
.

12 years ago(SUPPORTED-LOCALES): Add bo_CN and bo_IN.
drepper [Tue, 6 Nov 2007 18:26:22 +0000 (18:26 +0000)]
(SUPPORTED-LOCALES): Add bo_CN and bo_IN.

12 years agoTibetan language locale for India.
drepper [Tue, 6 Nov 2007 18:26:05 +0000 (18:26 +0000)]
Tibetan language locale for India.

12 years agoTibetan language locale for PR China.
drepper [Tue, 6 Nov 2007 18:25:53 +0000 (18:25 +0000)]
Tibetan language locale for PR China.

12 years ago.
drepper [Tue, 6 Nov 2007 17:30:33 +0000 (17:30 +0000)]
.

12 years ago(nscd_request_avc_has_perm): When compiled with old headers, don't
drepper [Tue, 6 Nov 2007 17:30:11 +0000 (17:30 +0000)]
(nscd_request_avc_has_perm): When compiled with old headers, don't
call avc_has_perm if we don't have the permission information.

12 years ago.
drepper [Tue, 6 Nov 2007 01:12:33 +0000 (01:12 +0000)]
.

12 years ago(dl_main): Use the page size to find the map start.
drepper [Tue, 6 Nov 2007 01:12:04 +0000 (01:12 +0000)]
(dl_main): Use the page size to find the map start.

12 years ago.
drepper [Tue, 6 Nov 2007 01:10:30 +0000 (01:10 +0000)]
.

12 years ago(__register_atfork): Use __linkin_atfork.
drepper [Tue, 6 Nov 2007 01:10:21 +0000 (01:10 +0000)]
(__register_atfork): Use __linkin_atfork.

12 years ago.
drepper [Tue, 6 Nov 2007 01:04:13 +0000 (01:04 +0000)]
.

12 years ago(__tzfile_read): Fix check for version 0 data files.
drepper [Tue, 6 Nov 2007 01:03:43 +0000 (01:03 +0000)]
(__tzfile_read): Fix check for version 0 data files.

12 years ago.
drepper [Tue, 6 Nov 2007 01:02:07 +0000 (01:02 +0000)]
.

12 years ago(LOAD_FUTEX_WAIT, LOAD_FUTEX_WAKE): Likewise. Also add missing 3rd parameter.
drepper [Tue, 6 Nov 2007 01:02:00 +0000 (01:02 +0000)]
(LOAD_FUTEX_WAIT, LOAD_FUTEX_WAKE): Likewise.  Also add missing 3rd parameter.

12 years ago(LOAD_FUTEX_WAIT): Add missing line continuations.
drepper [Tue, 6 Nov 2007 01:01:50 +0000 (01:01 +0000)]
(LOAD_FUTEX_WAIT): Add missing line continuations.

12 years agoDocument correct default value for max-threads.
drepper [Tue, 6 Nov 2007 00:50:48 +0000 (00:50 +0000)]
Document correct default value for max-threads.

12 years ago.
drepper [Tue, 6 Nov 2007 00:45:40 +0000 (00:45 +0000)]
.

12 years agoChange return value type to int and return nonzero value if we can use
drepper [Tue, 6 Nov 2007 00:45:34 +0000 (00:45 +0000)]
Change return value type to int and return nonzero value if we can use
the TID address hack.

12 years agoChange return value type to int and always return 0.
drepper [Tue, 6 Nov 2007 00:45:21 +0000 (00:45 +0000)]
Change return value type to int and always return 0.

12 years ago(struct database_dyn): Rename prunelock to prune_lock.
drepper [Tue, 6 Nov 2007 00:45:12 +0000 (00:45 +0000)]
(struct database_dyn): Rename prunelock to prune_lock.
Add prune_cond and wakeup_time.
(CACHE_PRUNE_INTERNAL): Define.
Update declarations of prune_cache and setup_thread.

12 years agoDocument default number of threads.
drepper [Tue, 6 Nov 2007 00:45:01 +0000 (00:45 +0000)]
Document default number of threads.

12 years ago(dbs): Update initializers.
drepper [Tue, 6 Nov 2007 00:44:50 +0000 (00:44 +0000)]
(dbs): Update initializers.
(CACHE_PRUNE_INTERNAL): Moved to nscd.h.
(nscd_init): Default number of threads is now 4.
(invalidate_cache): Take lock before calling prune_cache.
(handle_request): If SELinux forbids the request, say so.
(readylist_cond): Use static initializer.
(nscd_run_prune): New function.  Used only by pruning threads.
(nscd_run_worder): Renamed from nscd_run.  Remove support for pruning here.
(fd_ready): Update nscd_run reference.
(start_threads): No need to initialize readylist_cond.
Start pruning threads separately.

12 years ago(cache_add): If next wakeup time of cleanup thread for
drepper [Tue, 6 Nov 2007 00:44:32 +0000 (00:44 +0000)]
(cache_add): If next wakeup time of cleanup thread for
the database is later than the new entry's timeout, update the
wakeup time and wake the cleanup thread.
(prune_cache): Return seconds the next entry in the database is still
valid.  Remove locking for pruning here.

12 years ago(addhstaiX): Check herrno after IPv4 lookup only when the lookup call failed.
drepper [Tue, 6 Nov 2007 00:32:41 +0000 (00:32 +0000)]
(addhstaiX): Check herrno after IPv4 lookup only when the lookup call failed.

12 years ago.
drepper [Wed, 31 Oct 2007 19:25:15 +0000 (19:25 +0000)]
.

12 years ago(_dl_runtime_profile): Make sure stack is properly aligned for the
drepper [Wed, 31 Oct 2007 19:24:57 +0000 (19:24 +0000)]
(_dl_runtime_profile): Make sure stack is properly aligned for the
target function.
Correct unwind info.

12 years ago.
drepper [Wed, 31 Oct 2007 15:28:30 +0000 (15:28 +0000)]
.

12 years ago(dl_main): Initialize stack and pointer guard early when using
drepper [Wed, 31 Oct 2007 15:28:19 +0000 (15:28 +0000)]
(dl_main): Initialize stack and pointer guard early when using
auditing libraries.

12 years ago.
drepper [Tue, 30 Oct 2007 00:58:03 +0000 (00:58 +0000)]
.

12 years agoDefine _nss_dns_getnetbyaddr2_r. Pass extra parameter to getanswer_r.
drepper [Tue, 30 Oct 2007 00:57:56 +0000 (00:57 +0000)]
Define _nss_dns_getnetbyaddr2_r.  Pass extra parameter to getanswer_r.
(_nss_dns_getnetbyaddr_r): Now a wrapper around
_nss_dns_getnetbyaddr2_r.

12 years ago[libresolv] (GLIBC_PRIVATE): Add _nss_dns_getnetbyaddr2_r.
drepper [Tue, 30 Oct 2007 00:56:55 +0000 (00:56 +0000)]
[libresolv] (GLIBC_PRIVATE): Add _nss_dns_getnetbyaddr2_r.

12 years ago.
drepper [Tue, 30 Oct 2007 00:48:09 +0000 (00:48 +0000)]
.

12 years agoDefine NO_COMPAT.
drepper [Tue, 30 Oct 2007 00:48:02 +0000 (00:48 +0000)]
Define NO_COMPAT.

12 years agoAdjust __nss_lookup prototype.
drepper [Tue, 30 Oct 2007 00:47:51 +0000 (00:47 +0000)]
Adjust __nss_lookup prototype.
Declare __nss_next2.
Adjust definition of db_lookup_function type.

12 years ago(__nss_lookup): Add new parameter. If first function
drepper [Tue, 30 Oct 2007 00:47:39 +0000 (00:47 +0000)]
(__nss_lookup): Add new parameter.  If first function
does not exist in module, try the optional second name.
(__nss_next2): New function.
(__nss_next): Now wrapper around __nss_next2.

12 years agoChanges to call new *_lookup2 functions and __nss_next2.
drepper [Tue, 30 Oct 2007 00:47:26 +0000 (00:47 +0000)]
Changes to call new *_lookup2 functions and __nss_next2.

12 years agoChanges to call new *_lookup2 functions and __nss_next2.
drepper [Tue, 30 Oct 2007 00:46:57 +0000 (00:46 +0000)]
Changes to call new *_lookup2 functions and __nss_next2.

12 years ago[glibc] (GLIBC_PRIVATE): Export __nss_passwd_lookup2,
drepper [Tue, 30 Oct 2007 00:46:48 +0000 (00:46 +0000)]
[glibc] (GLIBC_PRIVATE): Export __nss_passwd_lookup2,
__nss_group_lookup2, __nss_hosts_lookup2, __nss_services_lookup2, and
__nss_next2.  Remove __nss_services_lookup.

12 years ago(cache_addhst): Add ttl parameter. Use it when
drepper [Tue, 30 Oct 2007 00:46:36 +0000 (00:46 +0000)]
(cache_addhst): Add ttl parameter.  Use it when
determining timeout of entry.
(lookup): Take new parameter and pass it to __gethostbyname3_r and
__gethostbyaddr2_r.
(addhstbyX): Pass reference to variable for TTL to lookup and
cache_addhst.

12 years agoGenerate __gethostbyaddr2_r function. Define __gethostbyaddr_r
drepper [Tue, 30 Oct 2007 00:46:23 +0000 (00:46 +0000)]
Generate __gethostbyaddr2_r function.  Define __gethostbyaddr_r
compatibility wrapper.

12 years ago(addhstaiX): Use __gethostbyaddr2_r instead of __gethostbyaddr_r.
drepper [Tue, 30 Oct 2007 00:46:14 +0000 (00:46 +0000)]
(addhstaiX): Use __gethostbyaddr2_r instead of __gethostbyaddr_r.

12 years ago(nscd-modules): Replace gethstbynm2_r with gethstbynm3_r.
drepper [Tue, 30 Oct 2007 00:45:48 +0000 (00:45 +0000)]
(nscd-modules): Replace gethstbynm2_r with gethstbynm3_r.

12 years agoNot needed anymore.
drepper [Tue, 30 Oct 2007 00:45:35 +0000 (00:45 +0000)]
Not needed anymore.

12 years ago__gethostbynm3_r implementation for nscd.
drepper [Tue, 30 Oct 2007 00:45:14 +0000 (00:45 +0000)]
__gethostbynm3_r implementation for nscd.

12 years agoUse __nss_next2 instead of __nss_next.
drepper [Tue, 30 Oct 2007 00:44:43 +0000 (00:44 +0000)]
Use __nss_next2 instead of __nss_next.
Adjust calls to __nss_lookup.

(setup): Encrypt static pointer.

12 years ago(DB_LOOKUP_FCT): Change to __nss_hosts_lookup2.
drepper [Tue, 30 Oct 2007 00:43:58 +0000 (00:43 +0000)]
(DB_LOOKUP_FCT): Change to __nss_hosts_lookup2.

12 years agoUse __nss_next2 instead of __nss_next.
drepper [Tue, 30 Oct 2007 00:43:30 +0000 (00:43 +0000)]
Use __nss_next2 instead of __nss_next.

12 years agoDeclare __gethostbyaddr2_r and __gethostbyname3_r.
drepper [Tue, 30 Oct 2007 00:43:16 +0000 (00:43 +0000)]
Declare __gethostbyaddr2_r and __gethostbyname3_r.

12 years agoUpdate to latest upstream version
aj [Mon, 29 Oct 2007 05:41:06 +0000 (05:41 +0000)]
Update to latest upstream version

12 years ago.
drepper [Sun, 28 Oct 2007 19:46:50 +0000 (19:46 +0000)]
.

12 years agoDefine TIMEOUT to 6 for ancient hardware.
drepper [Sun, 28 Oct 2007 19:46:43 +0000 (19:46 +0000)]
Define TIMEOUT to 6 for ancient hardware.

12 years ago.
drepper [Sun, 28 Oct 2007 19:25:47 +0000 (19:25 +0000)]
.

12 years ago(timer_helper_thread): Before using timer structure make sure it is
drepper [Sun, 28 Oct 2007 19:25:28 +0000 (19:25 +0000)]
(timer_helper_thread): Before using timer structure make sure it is
still on the __active_timer_sigev_thread list.  Keep lock until done.
Define __active_timer_sigev_thread and __active_timer_sigev_thread_lock.

12 years agoFor SIGEV_THREAD timers, remove timer struct from __active_timer_sigev_thread.
drepper [Sun, 28 Oct 2007 19:23:55 +0000 (19:23 +0000)]
For SIGEV_THREAD timers, remove timer struct from __active_timer_sigev_thread.

12 years agoFor SIGEV_THREAD timers, enqueue timer structure into
drepper [Sun, 28 Oct 2007 19:23:13 +0000 (19:23 +0000)]
For SIGEV_THREAD timers, enqueue timer structure into
__active_timer_sigev_thread list.

12 years agoDeclare __active_timer_sigev_thread and __active_timer_sigev_thread_lock.
drepper [Sun, 28 Oct 2007 19:22:13 +0000 (19:22 +0000)]
Declare __active_timer_sigev_thread and __active_timer_sigev_thread_lock.
(struct timer): Add next element.

12 years ago.
drepper [Sun, 28 Oct 2007 16:45:27 +0000 (16:45 +0000)]
.

12 years ago(tests): Add bug20.
drepper [Sun, 28 Oct 2007 16:45:08 +0000 (16:45 +0000)]
(tests): Add bug20.

12 years agoTest for swscanf trying to modify format string.
drepper [Sun, 28 Oct 2007 16:45:01 +0000 (16:45 +0000)]
Test for swscanf trying to modify format string.

12 years ago.
drepper [Sun, 28 Oct 2007 08:58:24 +0000 (08:58 +0000)]
.

12 years agoAdd missing collating elements and symbols.
drepper [Sun, 28 Oct 2007 08:58:19 +0000 (08:58 +0000)]
Add missing collating elements and symbols.

12 years ago.
drepper [Sun, 28 Oct 2007 08:40:47 +0000 (08:40 +0000)]
.

12 years ago(_IO_vfwscanf): Don't misuse wp pointer to keep track of end of %[
drepper [Sun, 28 Oct 2007 08:40:36 +0000 (08:40 +0000)]
(_IO_vfwscanf): Don't misuse wp pointer to keep track of end of %[
format string element.

12 years ago.
drepper [Sun, 28 Oct 2007 08:24:07 +0000 (08:24 +0000)]
.

12 years ago(_dl_rtld_di_serinfo): Correct handling of short path elements in counting mode.
drepper [Sun, 28 Oct 2007 08:23:50 +0000 (08:23 +0000)]
(_dl_rtld_di_serinfo): Correct handling of short path elements in counting mode.

12 years agoUpdate for version 2.8 and latest commits.
drepper [Sun, 28 Oct 2007 01:53:22 +0000 (01:53 +0000)]
Update for version 2.8 and latest commits.

12 years ago(Environment Access): Explain that putenv, setenv, clearenv, and
drepper [Sun, 28 Oct 2007 01:52:39 +0000 (01:52 +0000)]
(Environment Access): Explain that putenv, setenv, clearenv, and
unsetenv are not thread safe.

12 years ago(Processor And CPU Time): Fix xref usage.
drepper [Sun, 28 Oct 2007 01:51:07 +0000 (01:51 +0000)]
(Processor And CPU Time): Fix xref usage.

12 years ago(Overview of Syslog): Fix xref usage.
drepper [Sun, 28 Oct 2007 01:50:27 +0000 (01:50 +0000)]
(Overview of Syslog): Fix xref usage.

12 years ago(Host Identification): Fix xref usage.
drepper [Sun, 28 Oct 2007 01:49:47 +0000 (01:49 +0000)]
(Host Identification): Fix xref usage.

12 years ago(Variable Arguments Input): Fix xref usage.
drepper [Sun, 28 Oct 2007 01:49:17 +0000 (01:49 +0000)]
(Variable Arguments Input): Fix xref usage.

12 years ago(Program Basics): Fix xref usage.
drepper [Sun, 28 Oct 2007 01:48:22 +0000 (01:48 +0000)]
(Program Basics): Fix xref usage.

12 years ago(Executing a File): Fix xref usage.
drepper [Sun, 28 Oct 2007 01:47:40 +0000 (01:47 +0000)]
(Executing a File): Fix xref usage.

12 years ago(Listening): Fix typo of listen.
drepper [Sun, 28 Oct 2007 01:46:13 +0000 (01:46 +0000)]
(Listening): Fix typo of listen.

12 years agoAdd note that this file should never be depended on.
drepper [Sun, 28 Oct 2007 01:39:54 +0000 (01:39 +0000)]
Add note that this file should never be depended on.

12 years agoRemove glibcbug reference.
drepper [Sun, 28 Oct 2007 01:38:09 +0000 (01:38 +0000)]
Remove glibcbug reference.

12 years agoRemove glibcbug reference.
drepper [Sun, 28 Oct 2007 01:37:24 +0000 (01:37 +0000)]
Remove glibcbug reference.

12 years ago.
drepper [Sun, 28 Oct 2007 01:34:10 +0000 (01:34 +0000)]
.

12 years ago(enum EPOLL_EVENTS): Define ELPOLLRDHUP.
drepper [Sun, 28 Oct 2007 01:33:44 +0000 (01:33 +0000)]
(enum EPOLL_EVENTS): Define ELPOLLRDHUP.

12 years ago.
drepper [Sun, 28 Oct 2007 01:29:21 +0000 (01:29 +0000)]
.

12 years ago(init): Free shared library if incorrect.
drepper [Sun, 28 Oct 2007 01:29:10 +0000 (01:29 +0000)]
(init): Free shared library if incorrect.
(__cleanup): Free shared library when exiting.

12 years ago.
drepper [Sun, 28 Oct 2007 01:14:40 +0000 (01:14 +0000)]
.

12 years ago(check_float_internal): Support denormalized return.
drepper [Sun, 28 Oct 2007 01:14:25 +0000 (01:14 +0000)]
(check_float_internal): Support denormalized return.

12 years ago.
drepper [Sun, 28 Oct 2007 01:08:55 +0000 (01:08 +0000)]
.

12 years ago(__readahead): Use __LONG_LONG_PAIR to handle little endian byte order.
drepper [Sun, 28 Oct 2007 01:08:30 +0000 (01:08 +0000)]
(__readahead): Use __LONG_LONG_PAIR to handle little endian byte order.

12 years ago.
drepper [Sun, 28 Oct 2007 01:00:30 +0000 (01:00 +0000)]
.

12 years ago(__unregister_atfork): Use atomic operation when removing first
drepper [Sun, 28 Oct 2007 01:00:21 +0000 (01:00 +0000)]
(__unregister_atfork): Use atomic operation when removing first
element of list.