kopensolaris-gnu/glibc.git
13 years ago(main): Add new tests.
drepper [Thu, 24 Aug 2006 17:30:10 +0000 (17:30 +0000)]
(main): Add new tests.

13 years ago(sYSMALLOc): Avoid infinite loop if MMAP keeps failing and heap growth
drepper [Thu, 24 Aug 2006 17:29:36 +0000 (17:29 +0000)]
(sYSMALLOc): Avoid infinite loop if MMAP keeps failing and heap growth
or new heap creation isn't successful either.

13 years ago.
drepper [Thu, 24 Aug 2006 07:09:54 +0000 (07:09 +0000)]
.

13 years agoUpdate LC_ADDRESS category.
drepper [Thu, 24 Aug 2006 07:09:01 +0000 (07:09 +0000)]
Update LC_ADDRESS category.

13 years ago.
drepper [Thu, 24 Aug 2006 07:02:53 +0000 (07:02 +0000)]
.

13 years ago(__bswap_32): Use same conditions as in the x86-64 code to use bswap.
drepper [Thu, 24 Aug 2006 07:02:16 +0000 (07:02 +0000)]
(__bswap_32): Use same conditions as in the x86-64 code to use bswap.

13 years ago.
drepper [Thu, 24 Aug 2006 06:50:32 +0000 (06:50 +0000)]
.

13 years ago.
drepper [Thu, 24 Aug 2006 06:48:22 +0000 (06:48 +0000)]
.

13 years ago(getlogin_r): Already define for POSIX199506.
drepper [Thu, 24 Aug 2006 06:47:31 +0000 (06:47 +0000)]
(getlogin_r): Already define for POSIX199506.

13 years ago(getlogin_r): Already declare for POSIX199506.
drepper [Thu, 24 Aug 2006 06:46:27 +0000 (06:46 +0000)]
(getlogin_r): Already declare for POSIX199506.

13 years ago.
drepper [Thu, 24 Aug 2006 06:40:46 +0000 (06:40 +0000)]
.

13 years agoFix abday and day spelling of Tuesday.
drepper [Thu, 24 Aug 2006 06:39:08 +0000 (06:39 +0000)]
Fix abday and day spelling of Tuesday.

13 years ago.
drepper [Thu, 24 Aug 2006 06:34:36 +0000 (06:34 +0000)]
.

13 years agoDefine am/pm formats.
drepper [Thu, 24 Aug 2006 06:33:25 +0000 (06:33 +0000)]
Define am/pm formats.

13 years ago(libc_freeres_fn): Fix typo.
drepper [Thu, 24 Aug 2006 02:18:51 +0000 (02:18 +0000)]
(libc_freeres_fn): Fix typo.

13 years ago(libc_freeres_fn): Handle program not linked with libpthread.
drepper [Thu, 24 Aug 2006 02:13:11 +0000 (02:13 +0000)]
(libc_freeres_fn): Handle program not linked with libpthread.

13 years ago.
drepper [Wed, 23 Aug 2006 17:47:19 +0000 (17:47 +0000)]
.

13 years ago(freeres_libptread): New freeres function.
drepper [Wed, 23 Aug 2006 17:44:27 +0000 (17:44 +0000)]
(freeres_libptread): New freeres function.

13 years ago(pthread_functions): Add ptr_freeres.
drepper [Wed, 23 Aug 2006 17:43:47 +0000 (17:43 +0000)]
(pthread_functions): Add ptr_freeres.

13 years agoDeclare __free_stack_cache.
drepper [Wed, 23 Aug 2006 17:42:52 +0000 (17:42 +0000)]
Declare __free_stack_cache.

13 years ago(pthread_functions): Initialize ptr_freeres.
drepper [Wed, 23 Aug 2006 17:41:31 +0000 (17:41 +0000)]
(pthread_functions): Initialize ptr_freeres.

13 years ago(queue_stack): Move freeing of surplus stacks to...
drepper [Wed, 23 Aug 2006 17:39:47 +0000 (17:39 +0000)]
(queue_stack): Move freeing of surplus stacks to...
(free_stacks): ...here.
(__free_stack_cache): New function.

13 years ago.
drepper [Tue, 22 Aug 2006 17:06:51 +0000 (17:06 +0000)]
.

13 years agoCopy more categories from nb_NO.
drepper [Tue, 22 Aug 2006 17:05:13 +0000 (17:05 +0000)]
Copy more categories from nb_NO.

13 years ago. fedora-glibc-20060822T0706
drepper [Tue, 22 Aug 2006 06:47:33 +0000 (06:47 +0000)]
.

13 years ago(strchr): Add cast to avoid warning.
drepper [Tue, 22 Aug 2006 06:46:40 +0000 (06:46 +0000)]
(strchr): Add cast to avoid warning.

13 years ago.
drepper [Tue, 22 Aug 2006 06:42:35 +0000 (06:42 +0000)]
.

13 years agoLimit DEFAULT_MMAP_THRESHOLD_MAX even further too keep 1M alignment
drepper [Tue, 22 Aug 2006 06:41:46 +0000 (06:41 +0000)]
Limit DEFAULT_MMAP_THRESHOLD_MAX even further too keep 1M alignment
for new heaps on 32-bit machines and 64M alignment on 64-bit machines.

13 years agoUse twice the DEFAULT_MMAP_THRESHOLD_MAX value for HEAP_MAX_SIZE.
drepper [Tue, 22 Aug 2006 06:39:51 +0000 (06:39 +0000)]
Use twice the DEFAULT_MMAP_THRESHOLD_MAX value for HEAP_MAX_SIZE.

13 years ago.
drepper [Tue, 22 Aug 2006 06:19:12 +0000 (06:19 +0000)]
.

13 years ago(DEFAULT_MMAP_THRESHOLD_MAX): For 32-bit platforms define as 1MB. For
drepper [Tue, 22 Aug 2006 06:18:32 +0000 (06:18 +0000)]
(DEFAULT_MMAP_THRESHOLD_MAX): For 32-bit platforms define as 1MB.  For
64-bit platforms as 32MB.  The lower limit is needed to avoid the
exploding of the address space requirement for secondary heaps.

13 years ago(HEAP_MAX_SIZE): Define using DEFAULT_MMAP_THRESHOLD_MAX if it is defined.
drepper [Tue, 22 Aug 2006 06:15:51 +0000 (06:15 +0000)]
(HEAP_MAX_SIZE): Define using DEFAULT_MMAP_THRESHOLD_MAX if it is defined.

13 years ago.
drepper [Mon, 21 Aug 2006 21:06:35 +0000 (21:06 +0000)]
.

13 years ago.
drepper [Mon, 21 Aug 2006 21:05:47 +0000 (21:05 +0000)]
.

13 years ago(extra-objs): Add modules to extra-test-objs instead.
drepper [Mon, 21 Aug 2006 21:02:10 +0000 (21:02 +0000)]
(extra-objs): Add modules to extra-test-objs instead.

13 years ago(depfiles): Handle extra-test-objs the same as extra-objs.
drepper [Mon, 21 Aug 2006 21:00:58 +0000 (21:00 +0000)]
(depfiles): Handle extra-test-objs the same as extra-objs.
(common-mostlyclean): Likewise.

13 years ago.
drepper [Mon, 21 Aug 2006 20:03:52 +0000 (20:03 +0000)]
.

13 years agoAssume C89 or better.
drepper [Mon, 21 Aug 2006 20:03:06 +0000 (20:03 +0000)]
Assume C89 or better.

13 years ago.
drepper [Mon, 21 Aug 2006 19:44:56 +0000 (19:44 +0000)]
.

13 years agoFix compilation if __ASSUME_ATFCTS is defined.
drepper [Mon, 21 Aug 2006 19:43:24 +0000 (19:43 +0000)]
Fix compilation if __ASSUME_ATFCTS is defined.

13 years ago(_int_malloc): Fix early exit test.
drepper [Mon, 21 Aug 2006 14:28:58 +0000 (14:28 +0000)]
(_int_malloc): Fix early exit test.

13 years ago.
drepper [Sun, 20 Aug 2006 19:37:08 +0000 (19:37 +0000)]
.

13 years agoDefine _XOPEN_REALTIME_THREADS.
drepper [Sun, 20 Aug 2006 19:33:32 +0000 (19:33 +0000)]
Define _XOPEN_REALTIME_THREADS.

13 years ago.
drepper [Sat, 19 Aug 2006 22:34:27 +0000 (22:34 +0000)]
.

13 years ago(_int_malloc): Limit number of unsorted blocks to sort in each call.
drepper [Sat, 19 Aug 2006 22:33:32 +0000 (22:33 +0000)]
(_int_malloc): Limit number of unsorted blocks to sort in each call.

13 years ago.
drepper [Sat, 19 Aug 2006 18:37:10 +0000 (18:37 +0000)]
.

13 years ago(internal_nis_getservent_r): . If map is empty simply return and use
drepper [Sat, 19 Aug 2006 18:36:25 +0000 (18:36 +0000)]
(internal_nis_getservent_r): . If map is empty simply return and use
next service.

13 years ago(internal_nis_getrpcent_r): If map is empty simply return and use next service.
drepper [Sat, 19 Aug 2006 18:35:44 +0000 (18:35 +0000)]
(internal_nis_getrpcent_r): If map is empty simply return and use next service.

13 years ago.
drepper [Sat, 19 Aug 2006 17:54:05 +0000 (17:54 +0000)]
.

13 years agoAdjust charmap_read prototype.
drepper [Sat, 19 Aug 2006 17:53:09 +0000 (17:53 +0000)]
Adjust charmap_read prototype.

13 years ago(main): Tell charmap_read it's no error if we cannot find a charmap.
drepper [Sat, 19 Aug 2006 17:52:32 +0000 (17:52 +0000)]
(main): Tell charmap_read it's no error if we cannot find a charmap.

13 years ago(main): Adjust charmap_read call.
drepper [Sat, 19 Aug 2006 17:51:41 +0000 (17:51 +0000)]
(main): Adjust charmap_read call.

13 years ago(charmap_read): Add new parameter. It tells us when not finding a
drepper [Sat, 19 Aug 2006 17:50:52 +0000 (17:50 +0000)]
(charmap_read): Add new parameter.  It tells us when not finding a
charmap file is an error.

13 years ago.
drepper [Sat, 19 Aug 2006 15:46:08 +0000 (15:46 +0000)]
.

13 years ago(abday): Fix Tuesday entry.
drepper [Sat, 19 Aug 2006 15:45:14 +0000 (15:45 +0000)]
(abday): Fix Tuesday entry.
(day): Likewise.
(abmon): Fix January and February entries.
(mon): Likewise.

13 years ago(abmon): Fix June entry.
drepper [Sat, 19 Aug 2006 15:40:45 +0000 (15:40 +0000)]
(abmon): Fix June entry.

13 years ago. fedora-glibc-20060815T2033
drepper [Tue, 15 Aug 2006 13:41:04 +0000 (13:41 +0000)]
.

13 years ago(INTERNAL_VSYSCALL): Use HAVE_CLOCK_GETRES_VSYSCALL as guard macro rather
drepper [Tue, 15 Aug 2006 13:39:16 +0000 (13:39 +0000)]
(INTERNAL_VSYSCALL): Use HAVE_CLOCK_GETRES_VSYSCALL as guard macro rather
than HAVE_CLOCK_GETTIME_VSYSCALL.
(maybe_syscall_settime_cpu): Use plain INTERNAL_VSYSCALL here.

13 years ago(libpthread-routines): Add tpp.
drepper [Tue, 15 Aug 2006 06:53:01 +0000 (06:53 +0000)]
(libpthread-routines): Add tpp.
(xtests): Add tst-mutexpp1, tst-mutexpp6 and tst-mutexpp10.

13 years ago. fedora-glibc-20060815T0533
drepper [Tue, 15 Aug 2006 05:27:55 +0000 (05:27 +0000)]
.

13 years agoUse sysdeps/posix/pause.c implementation.
drepper [Tue, 15 Aug 2006 05:27:23 +0000 (05:27 +0000)]
Use sysdeps/posix/pause.c implementation.

13 years agonice): Transform EACCES errno from setpriority to EPERM.
drepper [Tue, 15 Aug 2006 05:24:45 +0000 (05:24 +0000)]
nice): Transform EACCES errno from setpriority to EPERM.

13 years ago.
drepper [Tue, 15 Aug 2006 01:50:41 +0000 (01:50 +0000)]
.

13 years ago.
drepper [Mon, 14 Aug 2006 23:11:18 +0000 (23:11 +0000)]
.

13 years ago(TEST_FUNCTION): Don't redefine if already defined.
drepper [Mon, 14 Aug 2006 23:09:20 +0000 (23:09 +0000)]
(TEST_FUNCTION): Don't redefine if already defined.

13 years agoTests for PP mutexes.
drepper [Mon, 14 Aug 2006 23:08:49 +0000 (23:08 +0000)]
Tests for PP mutexes.

13 years agoInfrastructure for TPP mutex tests.
drepper [Mon, 14 Aug 2006 23:07:27 +0000 (23:07 +0000)]
Infrastructure for TPP mutex tests.

13 years ago(__free_tcb): Free pd->tpp structure.
drepper [Mon, 14 Aug 2006 23:06:09 +0000 (23:06 +0000)]
(__free_tcb): Free pd->tpp structure.

13 years agoInclude stdbool.h.
drepper [Mon, 14 Aug 2006 23:05:35 +0000 (23:05 +0000)]
Include stdbool.h.
(pthread_mutex_setprioceiling): Fix prioceiling validation.  Ceiling
is now in __data.__lock.  Add locking.

13 years ago(pthread_mutex_getprioceiling): Fail if mutex is not TPP. Ceiling is
drepper [Mon, 14 Aug 2006 23:05:08 +0000 (23:05 +0000)]
(pthread_mutex_getprioceiling): Fail if mutex is not TPP.  Ceiling is
now in __data.__lock.

13 years ago(pthread_mutexattr_setprioceiling): Fix prioceiling validation.
drepper [Mon, 14 Aug 2006 23:04:32 +0000 (23:04 +0000)]
(pthread_mutexattr_setprioceiling): Fix prioceiling validation.

13 years ago(pthread_mutexattr_getprioceiling): If ceiling is 0, ensure it is
drepper [Mon, 14 Aug 2006 23:03:59 +0000 (23:03 +0000)]
(pthread_mutexattr_getprioceiling): If ceiling is 0, ensure it is
in the SCHED_FIFO priority range.

13 years agoHandle priority boosted by TPP.
drepper [Mon, 14 Aug 2006 23:03:23 +0000 (23:03 +0000)]
Handle priority boosted by TPP.

13 years agoSupport code for TPP mutexes.
drepper [Mon, 14 Aug 2006 23:02:29 +0000 (23:02 +0000)]
Support code for TPP mutexes.

13 years agoHandle TPP mutexes.
drepper [Mon, 14 Aug 2006 23:01:26 +0000 (23:01 +0000)]
Handle TPP mutexes.

13 years ago(__pthread_mutex_init): Handle non-robust TPP mutexes.
drepper [Mon, 14 Aug 2006 23:00:38 +0000 (23:00 +0000)]
(__pthread_mutex_init): Handle non-robust TPP mutexes.

13 years ago(PTHREAD_MUTEX_PP_NORMAL_NP,
drepper [Mon, 14 Aug 2006 22:59:53 +0000 (22:59 +0000)]
(PTHREAD_MUTEX_PP_NORMAL_NP,
PTHREAD_MUTEX_PP_RECURSIVE_NP, PTHREAD_MUTEX_PP_ERRORCHECK_NP,
PTHREAD_MUTEX_PP_ADAPTIVE_NP): New enum values.

13 years ago(struct priority_protection_data): New type.
drepper [Mon, 14 Aug 2006 22:58:59 +0000 (22:58 +0000)]
(struct priority_protection_data): New type.
(struct pthread): Add tpp field.

13 years ago(_POSIX_THREAD_PRIO_PROTECT): Define to 200112L.
drepper [Mon, 14 Aug 2006 22:58:19 +0000 (22:58 +0000)]
(_POSIX_THREAD_PRIO_PROTECT): Define to 200112L.

13 years ago.
drepper [Mon, 14 Aug 2006 22:20:37 +0000 (22:20 +0000)]
.

13 years ago(_dl_runtime_resolve): Don't clobber caller's LRSAVE.
drepper [Mon, 14 Aug 2006 22:19:27 +0000 (22:19 +0000)]
(_dl_runtime_resolve): Don't clobber caller's LRSAVE.
(_dl_prof_resolve): Likewise.

13 years ago.
drepper [Mon, 14 Aug 2006 22:16:14 +0000 (22:16 +0000)]
.

13 years agoAdd comment as to why we do not have to use calloc instead of malloc
drepper [Mon, 14 Aug 2006 22:15:33 +0000 (22:15 +0000)]
Add comment as to why we do not have to use calloc instead of malloc
to allocate initial buffer.

13 years agoPretty printing.
drepper [Mon, 14 Aug 2006 22:14:53 +0000 (22:14 +0000)]
Pretty printing.
(_IO_wstr_overflow): Clear uninitialized part of the new buffer.
(enlarge_userbuf): New function.
(_IO_wstr_seekoff): Call it if seek position is larger than current buffer.

13 years agoPretty printing.
drepper [Mon, 14 Aug 2006 22:14:22 +0000 (22:14 +0000)]
Pretty printing.
(_IO_str_overflow): Clear uninitialized part of the new buffer.
(enlarge_userbuf): New function.
(_IO_str_seekoff): Call it if seek position is larger than current buffer.

13 years ago(open_wmemstream): Allocate initial buffer with calloc.
drepper [Mon, 14 Aug 2006 22:13:48 +0000 (22:13 +0000)]
(open_wmemstream): Allocate initial buffer with calloc.

13 years ago(open_memstream): Allocate initial buffer with calloc.
drepper [Mon, 14 Aug 2006 22:13:13 +0000 (22:13 +0000)]
(open_memstream): Allocate initial buffer with calloc.

13 years ago(tests): Add bug-memstream1 and bug-wmemstream1.
drepper [Mon, 14 Aug 2006 22:12:27 +0000 (22:12 +0000)]
(tests): Add bug-memstream1 and bug-wmemstream1.

13 years agoTest for seeking on memory stream beyond end of current buffer.
drepper [Mon, 14 Aug 2006 22:11:34 +0000 (22:11 +0000)]
Test for seeking on memory stream beyond end of current buffer.

13 years ago.
drepper [Mon, 14 Aug 2006 04:44:32 +0000 (04:44 +0000)]
.

13 years agoRemove dead macro definitions and comments.
drepper [Mon, 14 Aug 2006 04:43:39 +0000 (04:43 +0000)]
Remove dead macro definitions and comments.

13 years agoRemove dead macro definitions and comments.
drepper [Mon, 14 Aug 2006 04:42:40 +0000 (04:42 +0000)]
Remove dead macro definitions and comments.

13 years ago.
drepper [Mon, 14 Aug 2006 03:59:19 +0000 (03:59 +0000)]
.

13 years ago(__utmpname): Remove unnecessary test.
drepper [Mon, 14 Aug 2006 03:58:24 +0000 (03:58 +0000)]
(__utmpname): Remove unnecessary test.

13 years ago.
drepper [Sun, 13 Aug 2006 20:17:02 +0000 (20:17 +0000)]
.

13 years agoFrisian language locale for the Netherlands.
drepper [Sun, 13 Aug 2006 20:15:48 +0000 (20:15 +0000)]
Frisian language locale for the Netherlands.

13 years ago(SUPPORTED-LOCALES): Add fy_NL.
drepper [Sun, 13 Aug 2006 20:15:25 +0000 (20:15 +0000)]
(SUPPORTED-LOCALES): Add fy_NL.

13 years ago.
drepper [Sun, 13 Aug 2006 08:21:10 +0000 (08:21 +0000)]
.

13 years ago(clean_up_number): Do not remove trailing 0s from integers.
drepper [Sun, 13 Aug 2006 08:19:54 +0000 (08:19 +0000)]
(clean_up_number): Do not remove trailing 0s from integers.

13 years agoAdd code to use syscall for CPU clocks.
drepper [Sun, 13 Aug 2006 08:07:33 +0000 (08:07 +0000)]
Add code to use syscall for CPU clocks.