glibc/history.git
15 years agowhitespace87e66335db401815cb7793e34fd56a7ee36b5a79fedora-glibc-20070515T2025
Roland McGrath [Tue, 15 May 2007 20:24:57 +0000 (15 20:24 +0000)]
whitespace

15 years ago.2c1d61722625a1ee57ab284aad42acb7ec5662caglibc-2_6glibc-2_6-base
Ulrich Drepper [Tue, 15 May 2007 06:49:29 +0000 (15 06:49 +0000)]
.

15 years agoRemade for stable-2.6
Ulrich Drepper [Tue, 15 May 2007 06:49:18 +0000 (15 06:49 +0000)]
Remade for stable-2.6

15 years ago(VERSION): Define to 6.
Ulrich Drepper [Tue, 15 May 2007 06:48:47 +0000 (15 06:48 +0000)]
(VERSION): Define to 6.

15 years ago(__GLIBC_MINOR__): Define to 6.
Ulrich Drepper [Tue, 15 May 2007 06:48:32 +0000 (15 06:48 +0000)]
(__GLIBC_MINOR__): Define to 6.

15 years agoToo early for that. If we wake only one we also have to make sure that sem_wait...
Ulrich Drepper [Tue, 15 May 2007 06:31:57 +0000 (15 06:31 +0000)]
Too early for that.  If we wake only one we also have to make sure that sem_wait and sem_timedwait
wake another thread in case the current thread gets canceled.

15 years ago.
Ulrich Drepper [Tue, 15 May 2007 06:24:31 +0000 (15 06:24 +0000)]
.

15 years agoRemove unnecessary extra cancellation test.
Ulrich Drepper [Tue, 15 May 2007 06:24:23 +0000 (15 06:24 +0000)]
Remove unnecessary extra cancellation test.

15 years agoOnly wake threads if old value of semaphore was zero.
Ulrich Drepper [Tue, 15 May 2007 06:22:56 +0000 (15 06:22 +0000)]
Only wake threads if old value of semaphore was zero.

15 years ago.
Ulrich Drepper [Tue, 15 May 2007 01:51:37 +0000 (15 01:51 +0000)]
.

15 years agoUse all small bin slots on 64-bit archs.
Ulrich Drepper [Tue, 15 May 2007 01:51:17 +0000 (15 01:51 +0000)]
Use all small bin slots on 64-bit archs.

15 years ago.
Ulrich Drepper [Mon, 14 May 2007 22:53:09 +0000 (14 22:53 +0000)]
.

15 years ago(largebin_index): Really have 32 buckets with 64 sizes.
Ulrich Drepper [Mon, 14 May 2007 22:52:46 +0000 (14 22:52 +0000)]
(largebin_index): Really have 32 buckets with 64 sizes.

15 years ago.
Ulrich Drepper [Sun, 13 May 2007 20:33:06 +0000 (13 20:33 +0000)]
.

15 years ago[MALLOC_DEBUG]: Keep track of current maximum number of mmaps.
Ulrich Drepper [Sun, 13 May 2007 20:32:57 +0000 (13 20:32 +0000)]
[MALLOC_DEBUG]: Keep track of current maximum number of mmaps.
n_mmaps_max is the target.

15 years ago* sysdeps/unix/sysv/linux/tst-getcpu.c: Include <unistd.h> for getpid.
Andreas Jaeger [Sat, 12 May 2007 21:06:31 +0000 (12 21:06 +0000)]
* sysdeps/unix/sysv/linux/tst-getcpu.c: Include <unistd.h> for getpid.

15 years ago(add_to_global): One more small cleanup patch.
Ulrich Drepper [Fri, 11 May 2007 21:34:32 +0000 (11 21:34 +0000)]
(add_to_global): One more small cleanup patch.

15 years ago.
Ulrich Drepper [Fri, 11 May 2007 18:46:50 +0000 (11 18:46 +0000)]
.

15 years ago(_dl_close_worker): Help gcc to optimize by adding new variables.
Ulrich Drepper [Fri, 11 May 2007 18:46:34 +0000 (11 18:46 +0000)]
(_dl_close_worker): Help gcc to optimize by adding new variables.

15 years ago.
Ulrich Drepper [Fri, 11 May 2007 18:27:20 +0000 (11 18:27 +0000)]
.

15 years ago(add_to_global): Introduce variable ns to help gcc optimize.
Ulrich Drepper [Fri, 11 May 2007 18:27:02 +0000 (11 18:27 +0000)]
(add_to_global): Introduce variable ns to help gcc optimize.
Complerely extend global scope array before making the new entries visible.

15 years ago.
Ulrich Drepper [Fri, 11 May 2007 06:39:07 +0000 (11 06:39 +0000)]
.

15 years ago[subdir=posix] (tests): Add tst-getcpu.
Ulrich Drepper [Fri, 11 May 2007 06:39:01 +0000 (11 06:39 +0000)]
[subdir=posix] (tests): Add tst-getcpu.

15 years agoMove l_version and l_nversion members around to fill gaps.
Ulrich Drepper [Fri, 11 May 2007 06:38:05 +0000 (11 06:38 +0000)]
Move l_version and l_nversion members around to fill gaps.

15 years agoTest case for sched_getcpu.
Ulrich Drepper [Fri, 11 May 2007 06:37:33 +0000 (11 06:37 +0000)]
Test case for sched_getcpu.

15 years ago(struct pthread): Rearrange members to fill hole in 64-bit layout.
Ulrich Drepper [Fri, 11 May 2007 06:11:48 +0000 (11 06:11 +0000)]
(struct pthread): Rearrange members to fill hole in 64-bit layout.

15 years ago.
Ulrich Drepper [Fri, 11 May 2007 02:20:05 +0000 (11 02:20 +0000)]
.

15 years agoDon't use -fnu89-inline option.
Ulrich Drepper [Fri, 11 May 2007 02:19:53 +0000 (11 02:19 +0000)]
Don't use -fnu89-inline option.

15 years ago.3771196d1d5ac6a4213fdb77b4974ca69cd1ae09fedora-glibc-20070510T2304fedora-glibc-20070510T2308
Ulrich Drepper [Thu, 10 May 2007 23:38:55 +0000 (10 23:38 +0000)]
.

15 years ago(__pthread_setaffinity_new): If syscall was successful and
Ulrich Drepper [Thu, 10 May 2007 23:38:25 +0000 (10 23:38 +0000)]
(__pthread_setaffinity_new): If syscall was successful and
RESET_VGETCPU_CACHE is defined, use it before returning.

15 years agopthread_setaffinity implementation for Linux/x86-64.
Ulrich Drepper [Thu, 10 May 2007 23:38:10 +0000 (10 23:38 +0000)]
pthread_setaffinity implementation for Linux/x86-64.

15 years ago(__sched_setaffinity_new): If syscall was successful and
Ulrich Drepper [Thu, 10 May 2007 23:37:17 +0000 (10 23:37 +0000)]
(__sched_setaffinity_new): If syscall was successful and
RESET_VGETCPU_CACHE is defined, use it before returning.

15 years agosched_setaffinity for Linux/x86-64.
Ulrich Drepper [Thu, 10 May 2007 23:36:15 +0000 (10 23:36 +0000)]
sched_setaffinity for Linux/x86-64.

15 years ago.
Ulrich Drepper [Thu, 10 May 2007 22:58:45 +0000 (10 22:58 +0000)]
.

15 years agoMake sure struct timespec is defined for __USE_ATFILE.
Ulrich Drepper [Thu, 10 May 2007 22:58:33 +0000 (10 22:58 +0000)]
Make sure struct timespec is defined for __USE_ATFILE.

15 years ago.
Ulrich Drepper [Thu, 10 May 2007 21:44:41 +0000 (10 21:44 +0000)]
.

15 years agoUse utimensat syscall if available.
Ulrich Drepper [Thu, 10 May 2007 21:42:45 +0000 (10 21:42 +0000)]
Use utimensat syscall if available.

15 years agoAdd utimensat, futimens to GLIBC_2.6.
Ulrich Drepper [Thu, 10 May 2007 21:42:29 +0000 (10 21:42 +0000)]
Add utimensat, futimens to GLIBC_2.6.

15 years ago(routines): Add utimensat, futimens.
Ulrich Drepper [Thu, 10 May 2007 21:42:19 +0000 (10 21:42 +0000)]
(routines): Add utimensat, futimens.

15 years agoutimensat for Linux.
Ulrich Drepper [Thu, 10 May 2007 21:42:04 +0000 (10 21:42 +0000)]
utimensat for Linux.

15 years agofutimens for Linux.
Ulrich Drepper [Thu, 10 May 2007 21:41:55 +0000 (10 21:41 +0000)]
futimens for Linux.

15 years agolutimes for Linux.
Ulrich Drepper [Thu, 10 May 2007 21:41:45 +0000 (10 21:41 +0000)]
lutimes for Linux.

15 years agoStub version of futimens.
Ulrich Drepper [Thu, 10 May 2007 21:41:03 +0000 (10 21:41 +0000)]
Stub version of futimens.

15 years agoStub version of utimensat.
Ulrich Drepper [Thu, 10 May 2007 21:40:53 +0000 (10 21:40 +0000)]
Stub version of utimensat.

15 years agoDeclare utimensat, futimens.
Ulrich Drepper [Thu, 10 May 2007 21:40:28 +0000 (10 21:40 +0000)]
Declare utimensat, futimens.

15 years agoDefine __ASSUME_UTIMENSAT.
Ulrich Drepper [Thu, 10 May 2007 21:40:10 +0000 (10 21:40 +0000)]
Define __ASSUME_UTIMENSAT.

15 years agoDefine UTIME_NOW and UTIME_OMIT.
Ulrich Drepper [Thu, 10 May 2007 21:39:43 +0000 (10 21:39 +0000)]
Define UTIME_NOW and UTIME_OMIT.

15 years agoRedefine __nonnull so that test for incorrect parameters in the libc
Ulrich Drepper [Thu, 10 May 2007 20:15:11 +0000 (10 20:15 +0000)]
Redefine __nonnull so that test for incorrect parameters in the libc
code itself are not omitted.

15 years ago [BZ #4455]
Jakub Jelinek [Thu, 10 May 2007 15:17:55 +0000 (10 15:17 +0000)]
[BZ #4455]
* tst-align2.c: Include stackinfo.h.
* tst-getpid1.c: Likewise.

15 years ago * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Don't raise overflowc1dfd7e61086c01d668af124956235bb09b26790fedora-glibc-20070510T0634
Jakub Jelinek [Thu, 10 May 2007 06:31:20 +0000 (10 06:31 +0000)]
* sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Don't raise overflow
exception in addition to inexact when asked to raise only FE_INEXACT.

15 years ago [BZ #3427]
Jakub Jelinek [Thu, 10 May 2007 06:30:17 +0000 (10 06:30 +0000)]
[BZ #3427]
* sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Don't clear exceptions
in *envp.

15 years ago.
Ulrich Drepper [Tue, 8 May 2007 03:27:53 +0000 (8 03:27 +0000)]
.

15 years ago(strfry): Make result more random.
Ulrich Drepper [Tue, 8 May 2007 03:27:35 +0000 (8 03:27 +0000)]
(strfry): Make result more random.

15 years ago2007-05-07 Richard Henderson <rth@redhat.com>
Richard Henderson [Mon, 7 May 2007 22:57:20 +0000 (7 22:57 +0000)]
2007-05-07  Richard Henderson  <rth@redhat.com>

        * sysdeps/alpha/fpu/bits/mathinline.h (__isnanl): Don't define
        if __NO_LONG_DOUBLE_MATH.
        * sysdeps/unix/sysv/linux/alpha/ioperm.c: If BWX insns not
        available in the compiler, add .arch directive to ethe assembly.

2007-05-07  Jakub Jelinek  <jakub@redhat.com>

        * sysdeps/alpha/fpu/s_nearbyint.c (nearbyintl): Fix version on
        compat_symbol to GLIBC_2_1.
        * sysdeps/alpha/fpu/s_fmin.S (fminl): Likewise.
        * sysdeps/alpha/fpu/s_trunc.c (truncl): Likewise.
        * sysdeps/alpha/fpu/s_fmax.S (fmaxl): Likewise.
        * sysdeps/alpha/fpu/s_lrint.c (lrintl, llrintl): Likewise.
        * sysdeps/alpha/fpu/s_lround.c (lroundl, llroundl): Likewise.
        * sysdeps/alpha/fpu/s_round.c (roundl): Likewise.
        * sysdeps/alpha/fpu/s_isnan.c (isnanl): Provide compat_symbol in
        libc, not libm.
        (__isnanl): New compat_symbol.

15 years ago.
Ulrich Drepper [Mon, 7 May 2007 22:15:16 +0000 (7 22:15 +0000)]
.

15 years ago(do_test): Add _STACK_GROWS_UP case.
Ulrich Drepper [Mon, 7 May 2007 22:14:37 +0000 (7 22:14 +0000)]
(do_test): Add _STACK_GROWS_UP case.

15 years ago.
Ulrich Drepper [Mon, 7 May 2007 22:03:32 +0000 (7 22:03 +0000)]
.

15 years ago(change_stack_perm): Handle stacks growing up.
Ulrich Drepper [Mon, 7 May 2007 22:02:37 +0000 (7 22:02 +0000)]
(change_stack_perm): Handle stacks growing up.
(allocate_stack): Likewise.

15 years ago * malloc/arena.c (heap_info): Add mprotect_size field, adjust pad.
Jakub Jelinek [Mon, 7 May 2007 15:30:57 +0000 (7 15:30 +0000)]
* malloc/arena.c (heap_info): Add mprotect_size field, adjust pad.
(new_heap): Initialize mprotect_size.
(grow_heap): When growing, only mprotect from mprotect_size till
new_size if mprotect_size is smaller.  When shrinking, use PROT_NONE
MMAP for __libc_enable_secure only, otherwise use MADV_DONTNEED.

15 years ago.
Ulrich Drepper [Mon, 7 May 2007 14:26:13 +0000 (7 14:26 +0000)]
.

15 years ago(__lll_robust_lock_wait): Fix race caused by reloading of futex value.
Ulrich Drepper [Mon, 7 May 2007 14:25:01 +0000 (7 14:25 +0000)]
(__lll_robust_lock_wait): Fix race caused by reloading of futex value.
(__lll_robust_timedlock_wait): Likewise.

15 years ago.
Ulrich Drepper [Mon, 7 May 2007 13:14:03 +0000 (7 13:14 +0000)]
.

15 years agoFix currency_symbol, abday for Sunday, abmon for
Ulrich Drepper [Mon, 7 May 2007 13:13:55 +0000 (7 13:13 +0000)]
Fix currency_symbol, abday for Sunday, abmon for
January, February, and September to December, mon for January,
February, September, and December, am_pm, and name_*.

15 years ago.
Ulrich Drepper [Mon, 7 May 2007 06:22:38 +0000 (7 06:22 +0000)]
.

15 years ago(__feupdateenv): Change mask to merge exceptions from env. Call
Ulrich Drepper [Mon, 7 May 2007 06:22:29 +0000 (7 06:22 +0000)]
(__feupdateenv): Change mask to merge exceptions from env.  Call
__fe_nomask_env or __fe_mask_env when transitioning from all
exceptions disabled to any exception enabled or visa versa.

15 years ago(fesetenv): Change mask to merge exceptions from env. Use
Ulrich Drepper [Mon, 7 May 2007 06:22:06 +0000 (7 06:22 +0000)]
(fesetenv): Change mask to merge exceptions from env.  Use
__fe_nomask_env() or __fe_mask_env() when transitioning from all
exceptions disabled to any exception enabled or visa versa.

15 years ago(feholdexcept): Copy high 32-bits
Ulrich Drepper [Mon, 7 May 2007 06:21:41 +0000 (7 06:21 +0000)]
(feholdexcept): Copy high 32-bits
from old FPSCR to new fenv to propagate DFP rounding modes.
Call __fe_mask_env() if FP exceptions previously enabled.

15 years ago(fedisableexcept): Call __fe_mask_env() if all FP exceptions disabled.
Ulrich Drepper [Mon, 7 May 2007 06:21:26 +0000 (7 06:21 +0000)]
(fedisableexcept): Call __fe_mask_env() if all FP exceptions disabled.

15 years agoCorrect comment.
Ulrich Drepper [Mon, 7 May 2007 06:21:08 +0000 (7 06:21 +0000)]
Correct comment.

15 years agoGeneric procedure definition for FE_MASK_ENV.
Ulrich Drepper [Mon, 7 May 2007 06:20:54 +0000 (7 06:20 +0000)]
Generic procedure definition for FE_MASK_ENV.

15 years agoAdd fe_mask to libm-support.
Ulrich Drepper [Mon, 7 May 2007 06:20:27 +0000 (7 06:20 +0000)]
Add fe_mask to libm-support.

15 years agoDeclare __fe_mask_env extern.
Ulrich Drepper [Mon, 7 May 2007 06:20:15 +0000 (7 06:20 +0000)]
Declare __fe_mask_env extern.
Define FE_NOMASK_ENV as FE_EANBLED_ENV.  Define FE_MASK_ENV.

15 years agoProcedure definition for FE_MASK_ENV for Linux/ppc.
Ulrich Drepper [Mon, 7 May 2007 06:19:53 +0000 (7 06:19 +0000)]
Procedure definition for FE_MASK_ENV for Linux/ppc.

15 years agoProcedure definition for FE_NOMASK_ENV for Linux/ppc.
Ulrich Drepper [Mon, 7 May 2007 06:19:33 +0000 (7 06:19 +0000)]
Procedure definition for FE_NOMASK_ENV for Linux/ppc.

15 years agoMoved into fpu subdir.
Ulrich Drepper [Mon, 7 May 2007 06:18:17 +0000 (7 06:18 +0000)]
Moved into fpu subdir.

15 years ago.
Ulrich Drepper [Mon, 7 May 2007 04:24:57 +0000 (7 04:24 +0000)]
.

15 years ago.
Ulrich Drepper [Mon, 7 May 2007 04:23:14 +0000 (7 04:23 +0000)]
.

15 years agoAdd entry for fdatasync.
Ulrich Drepper [Mon, 7 May 2007 04:22:20 +0000 (7 04:22 +0000)]
Add entry for fdatasync.

15 years agoAdd test for fdatasync.
Ulrich Drepper [Mon, 7 May 2007 04:22:03 +0000 (7 04:22 +0000)]
Add test for fdatasync.

15 years agoRemove __THROW from fdatasync.
Ulrich Drepper [Mon, 7 May 2007 04:21:34 +0000 (7 04:21 +0000)]
Remove __THROW from fdatasync.

15 years ago.
Ulrich Drepper [Mon, 7 May 2007 04:01:23 +0000 (7 04:01 +0000)]
.

15 years agoMark fdatasync as cancellation point.
Ulrich Drepper [Mon, 7 May 2007 03:58:18 +0000 (7 03:58 +0000)]
Mark fdatasync as cancellation point.

15 years ago.
Ulrich Drepper [Mon, 7 May 2007 03:44:48 +0000 (7 03:44 +0000)]
.

15 years ago(process_string_arg): Optimize ridiculous precision in wide char code
Ulrich Drepper [Mon, 7 May 2007 03:43:55 +0000 (7 03:43 +0000)]
(process_string_arg): Optimize ridiculous precision in wide char code
printing multi-byte string.

15 years ago.
Ulrich Drepper [Sun, 6 May 2007 21:01:32 +0000 (6 21:01 +0000)]
.

15 years ago(_dl_addr): Compare address with actual segment boundaries to work
Ulrich Drepper [Sun, 6 May 2007 21:00:04 +0000 (6 21:00 +0000)]
(_dl_addr): Compare address with actual segment boundaries to work
around systems with overlapping binary loading.

15 years ago.
Ulrich Drepper [Sat, 5 May 2007 04:41:44 +0000 (5 04:41 +0000)]
.

15 years ago(process_string_arg): Adjust call to __mbsnrtowcs after last change.
Ulrich Drepper [Sat, 5 May 2007 04:41:35 +0000 (5 04:41 +0000)]
(process_string_arg): Adjust call to __mbsnrtowcs after last change.

15 years ago.
Ulrich Drepper [Sat, 5 May 2007 04:36:02 +0000 (5 04:36 +0000)]
.

15 years ago.
Ulrich Drepper [Sat, 5 May 2007 04:15:31 +0000 (5 04:15 +0000)]
.

15 years ago(get_symname): Fix adding final NUL.
Ulrich Drepper [Sat, 5 May 2007 04:14:59 +0000 (5 04:14 +0000)]
(get_symname): Fix adding final NUL.
(get_ident): Likewise.

15 years ago.
Ulrich Drepper [Fri, 4 May 2007 20:53:10 +0000 (4 20:53 +0000)]
.

15 years ago(SUPPORTED-LOCALES): Add ast_ES.UTF-8 and ast_ES.
Ulrich Drepper [Fri, 4 May 2007 20:52:45 +0000 (4 20:52 +0000)]
(SUPPORTED-LOCALES): Add ast_ES.UTF-8 and ast_ES.

15 years agoAsturian language locale for Spain.
Ulrich Drepper [Fri, 4 May 2007 20:52:28 +0000 (4 20:52 +0000)]
Asturian language locale for Spain.

15 years ago * soft-fp/op-common.h (FP_TRUNC): Replace raising of FP_EX_INEXACT37002cbcd2ef5cabca946a877700855c0dd69028fedora-glibc-20070504T0917
Jakub Jelinek [Thu, 3 May 2007 16:36:49 +0000 (3 16:36 +0000)]
* soft-fp/op-common.h (FP_TRUNC): Replace raising of FP_EX_INEXACT
with setting the sticky bit.
* math/test-misc.c (main): Add more truncation tests.

* soft-fp/floatunsidf.c (__floatunsidf): Use DFtype instead of
double in the function declaration.
* soft-fp/floatundidf.c (__floatundidf): Use DFtype instead of
double in the function declaration.
* soft-fp/floatunsisf.c (__floatunsisf): Use SFtype instead of
float in the function declaration.
* soft-fp/floatunsisf.c (__floatunsisf): Use SFtype instead of
float in the function declaration.

* soft-fp/extended.h (FP_UNPACK_RAW_E): Do not increase X##_e for
denormal operands.  Do not generate FP_EX_DENORM exception.
(FP_UNPACK_RAW_EP): Ditto.
(FP_UNPACK_SEMIRAW_E): Use FP_UNPACK_RAW_E instead of
undefined _FP_UNPACK_RAW_E.
(FP_UNPACK_SEMIRAW_EP): Use FP_UNPACK_RAW_EP instead of
undefined _FP_UNPACK_RAW_EP.
(FP_PACK_SEMIRAW_E): Use FP_PACK_RAW_E instead of
undefined _FP_PACK_RAW_E.
(FP_PACK_SEMIRAW_EP): Use FP_PACK_RAW_EP instead of
undefined _FP_PACK_RAW_EP.

* op-2.h (_FP_FRAC_COPY_2_2): Define as alias to _FP_FRAC_COPY_2.
* op-4.h (_FP_FRAC_COPY_2_2): Define as alias to _FP_FRAC_COPY_4.

* soft-fp/op-common.h (FP_EXTEND): Do not abort when
_FP_EXPBIAS_##dfs == _FP_EXPBIAS_##sfs.  Handle denormals for
this case.
* soft-fp/op-common.h (FP_TRUNC): Ditto.

15 years ago * math/test-misc.c (main): Add tests for rounding long double
Jakub Jelinek [Thu, 3 May 2007 12:15:04 +0000 (3 12:15 +0000)]
* math/test-misc.c (main): Add tests for rounding long double
values close to smallest double denormalized value to double.

* soft-fp/op-common.h (FP_TRUNC): Correct off-by-one error in
condition for truncating to 0.  Set sticky bit for such
truncation.

15 years ago.
Ulrich Drepper [Wed, 2 May 2007 08:16:34 +0000 (2 08:16 +0000)]
.

15 years ago(process_string_arg): Use a VLA rather than fixed length array for ignore.
Ulrich Drepper [Wed, 2 May 2007 08:15:50 +0000 (2 08:15 +0000)]
(process_string_arg): Use a VLA rather than fixed length array for ignore.

15 years ago.
Ulrich Drepper [Tue, 1 May 2007 18:35:44 +0000 (1 18:35 +0000)]
.

15 years ago(main): Add test for large precision.
Ulrich Drepper [Tue, 1 May 2007 18:35:32 +0000 (1 18:35 +0000)]
(main): Add test for large precision.