kopensolaris-gnu/glibc.git
13 years agoInclude atomic.h.
drepper [Tue, 19 Dec 2006 15:45:08 +0000 (15:45 +0000)]
Include atomic.h.
(INTERNAL (REENTRANT_NAME)): Write startp after start_fct,add
atomic_write_barrier () in between.

13 years ago.
drepper [Tue, 19 Dec 2006 15:34:16 +0000 (15:34 +0000)]
.

13 years ago(tests): Add tst-makecontext.
drepper [Tue, 19 Dec 2006 15:34:08 +0000 (15:34 +0000)]
(tests): Add tst-makecontext.

13 years agoTest for makecontext.
drepper [Tue, 19 Dec 2006 15:33:58 +0000 (15:33 +0000)]
Test for makecontext.

13 years ago(__makecontext): Don't realign uc_mcontext.uc_regs.
drepper [Tue, 19 Dec 2006 15:33:10 +0000 (15:33 +0000)]
(__makecontext): Don't realign uc_mcontext.uc_regs.

13 years ago.
drepper [Tue, 19 Dec 2006 15:30:39 +0000 (15:30 +0000)]
.

13 years agoMinor cleanups.
drepper [Tue, 19 Dec 2006 15:30:32 +0000 (15:30 +0000)]
Minor cleanups.

13 years agoInclude dl-procinfo.h.
drepper [Tue, 19 Dec 2006 15:23:02 +0000 (15:23 +0000)]
Include dl-procinfo.h.

13 years ago(PPC_FEATURE_PA6T, PPC_FEATURE_HAS_DFP, PPC_FEATURE_POWER6_EXT): Define.
drepper [Tue, 19 Dec 2006 15:22:48 +0000 (15:22 +0000)]
(PPC_FEATURE_PA6T, PPC_FEATURE_HAS_DFP, PPC_FEATURE_POWER6_EXT): Define.
(PPC_FEATURE_POWER5, PPC_FEATURE_POWER5_PLUS): Correct Comment.

13 years ago(_DL_HWCAP_FIRST): Decrease.
drepper [Tue, 19 Dec 2006 15:22:28 +0000 (15:22 +0000)]
(_DL_HWCAP_FIRST): Decrease.
(HWCAP_IMPORTANT): Add PPC_FEATURE_HAS_DFP.
(_DL_PLATFORMS_COUNT): Increase.
(_dl_string_platform): Handle power6x case.

(PPC_PLATFORM_POWER4, PPC_PLATFORM_PPC970, PPC_PLATFORM_POWER5,
PPC_PLATFORM_POWER5_PLUS, PPC_PLATFORM_POWER6, PPC_PLATFORM_CELL_BE,
PPC_PLATFORM_POWER6X): Define.
(_dl_string_platform): Use PPC_PLATFORM_* macros instead of
hardcoded constants.

13 years ago(_dl_powerpc_cap_flags): Add 3 new cap names to the beginning.
drepper [Tue, 19 Dec 2006 15:21:49 +0000 (15:21 +0000)]
(_dl_powerpc_cap_flags): Add 3 new cap names to the beginning.
(_dl_powerpc_platforms): Add "power6x".

(_dl_powerpc_platform): Use PPC_PLATFORM_* macros for array designators.

13 years ago.
drepper [Tue, 19 Dec 2006 08:18:18 +0000 (08:18 +0000)]
.

13 years ago(tests): Add tst-rand48-2.
drepper [Tue, 19 Dec 2006 08:18:11 +0000 (08:18 +0000)]
(tests): Add tst-rand48-2.

13 years agoTest for random number in range.
drepper [Tue, 19 Dec 2006 08:17:59 +0000 (08:17 +0000)]
Test for random number in range.

13 years ago(main): Fix expected values for 64-bit targets.
drepper [Tue, 19 Dec 2006 08:17:26 +0000 (08:17 +0000)]
(main): Fix expected values for 64-bit targets.

13 years ago(__jrand48_r): Make sure result is in the [-231 .. 231) range.
drepper [Tue, 19 Dec 2006 08:17:11 +0000 (08:17 +0000)]
(__jrand48_r): Make sure result is in the [-231 .. 231) range.

13 years ago.
drepper [Thu, 14 Dec 2006 20:04:05 +0000 (20:04 +0000)]
.

13 years ago(do_test): Correctly block SIGUSR1.
drepper [Thu, 14 Dec 2006 20:03:47 +0000 (20:03 +0000)]
(do_test): Correctly block SIGUSR1.

13 years ago.
drepper [Thu, 14 Dec 2006 18:03:28 +0000 (18:03 +0000)]
.

13 years ago(do_test): Make sure the helper process is terminating when the test
drepper [Thu, 14 Dec 2006 18:03:17 +0000 (18:03 +0000)]
(do_test): Make sure the helper process is terminating when the test
is aborted.

13 years ago. fedora-glibc-20061214T0850
drepper [Thu, 14 Dec 2006 05:41:07 +0000 (05:41 +0000)]
.

13 years ago(__statvfs_getflags): Handle relatime mount option.
drepper [Thu, 14 Dec 2006 05:40:56 +0000 (05:40 +0000)]
(__statvfs_getflags): Handle relatime mount option.

13 years agoDefine ST_RELATIME.
drepper [Thu, 14 Dec 2006 05:40:42 +0000 (05:40 +0000)]
Define ST_RELATIME.

13 years ago.
drepper [Wed, 13 Dec 2006 23:17:54 +0000 (23:17 +0000)]
.

13 years ago(tests): Add tst-setvbuf1.
drepper [Wed, 13 Dec 2006 23:17:48 +0000 (23:17 +0000)]
(tests): Add tst-setvbuf1.

13 years agoTest of setvbuf with wide streams.
drepper [Wed, 13 Dec 2006 23:17:38 +0000 (23:17 +0000)]
Test of setvbuf with wide streams.

13 years ago(_IO_wfile_doallocate): Don't stat nor set _IO_LINE_BUF bit here. Size
drepper [Wed, 13 Dec 2006 23:17:18 +0000 (23:17 +0000)]
(_IO_wfile_doallocate): Don't stat nor set _IO_LINE_BUF bit here.  Size
the wide buffer based on the narrow buffer size.

13 years ago(__uflow): Fix a typo.
drepper [Wed, 13 Dec 2006 23:17:03 +0000 (23:17 +0000)]
(__uflow): Fix a typo.

13 years ago(_IO_new_file_close_it): Call _IO_set[bgp] even for wide streams.
drepper [Wed, 13 Dec 2006 23:16:54 +0000 (23:16 +0000)]
(_IO_new_file_close_it): Call _IO_set[bgp] even for wide streams.

13 years ago(open_wmemstream): Test and set _IO_FLAGS2_USER_WBUF bit in _flags2
drepper [Wed, 13 Dec 2006 23:16:40 +0000 (23:16 +0000)]
(open_wmemstream): Test and set _IO_FLAGS2_USER_WBUF bit in _flags2
instead of _IO_USER_BUF bit in _flags.

13 years ago(_IO_wstr_overflow, enlarge_userbuf, _IO_wstr_finish): Test and set
drepper [Wed, 13 Dec 2006 23:16:21 +0000 (23:16 +0000)]
(_IO_wstr_overflow, enlarge_userbuf, _IO_wstr_finish): Test and set
_IO_FLAGS2_USER_WBUF bit in _flags2 instead of _IO_USER_BUF bit in _flags.

13 years ago(_IO_wsetb, _IO_wdefault_finish): Test and set _IO_FLAGS2_USER_WBUF bit
drepper [Wed, 13 Dec 2006 23:15:51 +0000 (23:15 +0000)]
(_IO_wsetb, _IO_wdefault_finish): Test and set _IO_FLAGS2_USER_WBUF bit
in _flags2 instead of _IO_USER_BUF bit in _flags.

13 years ago(_IO_FLAGS2_USER_WBUF): Define.
drepper [Wed, 13 Dec 2006 23:15:31 +0000 (23:15 +0000)]
(_IO_FLAGS2_USER_WBUF): Define.

13 years ago.
drepper [Wed, 13 Dec 2006 09:09:49 +0000 (09:09 +0000)]
.

13 years agoInclude kernel-features.h.
drepper [Wed, 13 Dec 2006 09:09:24 +0000 (09:09 +0000)]
Include kernel-features.h.

13 years ago.
drepper [Mon, 11 Dec 2006 21:43:56 +0000 (21:43 +0000)]
.

13 years ago(____STRTOF_INTERNAL): Parse thousand separators also if no non-zero
drepper [Mon, 11 Dec 2006 21:43:48 +0000 (21:43 +0000)]
(____STRTOF_INTERNAL): Parse thousand separators also if no non-zero
digits found.

13 years ago(tests): Add tst-strtod3.
drepper [Mon, 11 Dec 2006 21:43:10 +0000 (21:43 +0000)]
(tests): Add tst-strtod3.

13 years agoTest for strtod with nonsense thousands separators at beginning of string.
drepper [Mon, 11 Dec 2006 21:43:01 +0000 (21:43 +0000)]
Test for strtod with nonsense thousands separators at beginning of string.

13 years ago.
drepper [Mon, 11 Dec 2006 21:36:30 +0000 (21:36 +0000)]
.

13 years agoMore tests for strtod.
drepper [Mon, 11 Dec 2006 15:44:49 +0000 (15:44 +0000)]
More tests for strtod.

13 years agoTest of atof. fedora-glibc-20061210T1006
drepper [Sun, 10 Dec 2006 09:54:35 +0000 (09:54 +0000)]
Test of atof.

13 years ago.
drepper [Sun, 10 Dec 2006 01:54:50 +0000 (01:54 +0000)]
.

13 years agoFix comment about default value for _POSIX_C_SOURCE.
drepper [Sun, 10 Dec 2006 01:54:13 +0000 (01:54 +0000)]
Fix comment about default value for _POSIX_C_SOURCE.

13 years ago.
drepper [Sun, 10 Dec 2006 01:52:21 +0000 (01:52 +0000)]
.

13 years ago(tests): Add tst-strtod2.
drepper [Sun, 10 Dec 2006 01:51:51 +0000 (01:51 +0000)]
(tests): Add tst-strtod2.

13 years ago(____STRTOF_INTERNAL): Fix one typo and one more thinko.
drepper [Sun, 10 Dec 2006 01:51:21 +0000 (01:51 +0000)]
(____STRTOF_INTERNAL): Fix one typo and one more thinko.

13 years ago(____STRTOF_INTERNAL): Fix test to recognize empty parsed strings.
drepper [Sun, 10 Dec 2006 01:37:37 +0000 (01:37 +0000)]
(____STRTOF_INTERNAL): Fix test to recognize empty parsed strings.

13 years ago.
drepper [Sun, 10 Dec 2006 01:11:45 +0000 (01:11 +0000)]
.

13 years ago(____STRTOF_INTERNAL): Fix exp_limit computation.
drepper [Sun, 10 Dec 2006 01:10:55 +0000 (01:10 +0000)]
(____STRTOF_INTERNAL): Fix exp_limit computation.

13 years ago(tests): Add tst-atof2.
drepper [Sun, 10 Dec 2006 01:10:29 +0000 (01:10 +0000)]
(tests): Add tst-atof2.

13 years agoTests for atof.
drepper [Sun, 10 Dec 2006 01:10:17 +0000 (01:10 +0000)]
Tests for atof.

13 years ago.
drepper [Sun, 10 Dec 2006 00:03:22 +0000 (00:03 +0000)]
.

13 years ago(____STRTOF_INTERNAL): Adjust exponent value correctly if removing
drepper [Sun, 10 Dec 2006 00:03:04 +0000 (00:03 +0000)]
(____STRTOF_INTERNAL): Adjust exponent value correctly if removing
trailing zero of hex-float.

13 years ago.
drepper [Sat, 9 Dec 2006 22:31:22 +0000 (22:31 +0000)]
.

13 years ago(PSEUDO): Handle 6 argument cancellable syscalls.
drepper [Sat, 9 Dec 2006 22:31:10 +0000 (22:31 +0000)]
(PSEUDO): Handle 6 argument cancellable syscalls.
(STM_6, LM_6, LR7_0, LR7_1, LR7_2, LR7_3, LR7_4, LR7_5, LR7_6): Define.

13 years ago.
drepper [Sat, 9 Dec 2006 22:29:37 +0000 (22:29 +0000)]
.

13 years ago(__rtld_mrlock_initialize): Add missing closing parenthesis.
drepper [Sat, 9 Dec 2006 22:29:22 +0000 (22:29 +0000)]
(__rtld_mrlock_initialize): Add missing closing parenthesis.

13 years ago.
drepper [Sat, 9 Dec 2006 22:25:12 +0000 (22:25 +0000)]
.

13 years ago(initshells): Check for integer overflows.
drepper [Sat, 9 Dec 2006 22:25:00 +0000 (22:25 +0000)]
(initshells): Check for integer overflows.
Make strings buffer one bigger as fgets always succeeds when second
argument is 1.  Don't use calloc for shells array.  Disallow
/ as shell.

13 years ago(tests): Add tst-mntent2.
drepper [Sat, 9 Dec 2006 22:06:40 +0000 (22:06 +0000)]
(tests): Add tst-mntent2.

13 years agoTest for hasmntopt.
drepper [Sat, 9 Dec 2006 22:06:27 +0000 (22:06 +0000)]
Test for hasmntopt.

13 years ago(__hasmntopt): Check p[optlen] even when p == rest.
drepper [Sat, 9 Dec 2006 22:05:59 +0000 (22:05 +0000)]
(__hasmntopt): Check p[optlen] even when p == rest.
Start searching for next comma at p rather than rest.

13 years ago.
drepper [Fri, 8 Dec 2006 17:14:05 +0000 (17:14 +0000)]
.

13 years ago(struct entry): Make format bi-arch safe.
drepper [Fri, 8 Dec 2006 17:13:51 +0000 (17:13 +0000)]
(struct entry): Make format bi-arch safe.

13 years agoHandle realloc with new size of zero and non-NULL pointer correctly.
drepper [Fri, 8 Dec 2006 17:13:24 +0000 (17:13 +0000)]
Handle realloc with new size of zero and non-NULL pointer correctly.
(me): Really write first record twice.
(struct entry): Make format bi-arch safe.
(dest): Write out more realloc statistics.

13 years ago. fedora-glibc-20061205T2141
drepper [Tue, 5 Dec 2006 21:28:15 +0000 (21:28 +0000)]
.

13 years ago(LC_TIME): Change d_fmt to %e.%m.%Y from %-d.%-m.%Y.
drepper [Tue, 5 Dec 2006 21:28:07 +0000 (21:28 +0000)]
(LC_TIME): Change d_fmt to %e.%m.%Y from %-d.%-m.%Y.
Change d_t_fmt to %a %-d. %B %Y, %H:%M:%S %Z from
%a %e. %B %Y, %H:%M:%S %Z.

13 years ago.
drepper [Tue, 5 Dec 2006 21:27:13 +0000 (21:27 +0000)]
.

13 years ago(nis_getnames): Revert last change.
drepper [Tue, 5 Dec 2006 21:26:53 +0000 (21:26 +0000)]
(nis_getnames): Revert last change.

13 years agoAdd rules to build and run tst-ttyname_r test.
drepper [Tue, 5 Dec 2006 21:26:11 +0000 (21:26 +0000)]
Add rules to build and run tst-ttyname_r test.

13 years agoTest of ttyname_r.
drepper [Tue, 5 Dec 2006 21:26:01 +0000 (21:26 +0000)]
Test of ttyname_r.

13 years agoInclude termios.h.
drepper [Tue, 5 Dec 2006 21:25:42 +0000 (21:25 +0000)]
Include termios.h.
(__ttyname_r): Use tcgetattr instead of isatty, don't set errno to ENOTTY.

13 years agoInclude termios.h.
drepper [Tue, 5 Dec 2006 21:25:29 +0000 (21:25 +0000)]
Include termios.h.
(ttyname): Use tcgetattr instead of isatty, don't set errno to ENOTTY.

13 years ago.
drepper [Sun, 3 Dec 2006 23:16:24 +0000 (23:16 +0000)]
.

13 years agoNot needed.
drepper [Sun, 3 Dec 2006 23:16:10 +0000 (23:16 +0000)]
Not needed.

13 years agoUse jump table as the base of jump table entries.
drepper [Sun, 3 Dec 2006 23:15:10 +0000 (23:15 +0000)]
Use jump table as the base of jump table entries.

13 years agoProvide CFI for the outermost `clone' function to ensure proper unwinding
drepper [Sun, 3 Dec 2006 23:12:36 +0000 (23:12 +0000)]
Provide CFI for the outermost `clone' function to ensure proper unwinding
stop of gdb.

13 years ago(strncmp): Fix pastos from wcscmp description.
drepper [Sun, 3 Dec 2006 22:55:13 +0000 (22:55 +0000)]
(strncmp): Fix pastos from wcscmp description.
(strtok): Remove duplicate paragraph.

13 years ago.
drepper [Fri, 1 Dec 2006 20:12:54 +0000 (20:12 +0000)]
.

13 years agoRemove obsolete and commented-out -S option handling.
drepper [Fri, 1 Dec 2006 20:12:45 +0000 (20:12 +0000)]
Remove obsolete and commented-out -S option handling.

13 years ago. fedora-glibc-20061201T0821
drepper [Fri, 1 Dec 2006 00:44:22 +0000 (00:44 +0000)]
.

13 years agoFix compatibility with libgcc not supporting `rflags' unwinding
drepper [Fri, 1 Dec 2006 00:44:13 +0000 (00:44 +0000)]
Fix compatibility with libgcc not supporting `rflags' unwinding
(register # >= 17).

13 years ago. fedora-glibc-20061130T1652
drepper [Thu, 30 Nov 2006 15:28:34 +0000 (15:28 +0000)]
.

13 years ago(svc_run): Set my_pollfd to new_pollfd if realloc succeeded.
drepper [Thu, 30 Nov 2006 15:28:19 +0000 (15:28 +0000)]
(svc_run): Set my_pollfd to new_pollfd if realloc succeeded.

13 years ago.
drepper [Wed, 29 Nov 2006 19:54:16 +0000 (19:54 +0000)]
.

13 years agoExtend the regs list.
drepper [Wed, 29 Nov 2006 19:54:10 +0000 (19:54 +0000)]
Extend the regs list.

13 years agoProvide symbols for 'restore_rt' even in the 'signal' directory.
drepper [Wed, 29 Nov 2006 19:53:57 +0000 (19:53 +0000)]
Provide symbols for 'restore_rt' even in the 'signal' directory.

13 years ago(restore_rt): Add correct unwind information.
drepper [Wed, 29 Nov 2006 19:53:39 +0000 (19:53 +0000)]
(restore_rt): Add correct unwind information.

13 years ago. fedora-glibc-20061128T1037
drepper [Mon, 27 Nov 2006 21:58:18 +0000 (21:58 +0000)]
.

13 years ago(svc_run): Fail instead of segfaulting if malloc crashed. Don't allocate
drepper [Mon, 27 Nov 2006 21:58:11 +0000 (21:58 +0000)]
(svc_run): Fail instead of segfaulting if malloc crashed.  Don't allocate
memory unnecessarily in each loop.

13 years ago.
drepper [Tue, 21 Nov 2006 15:41:41 +0000 (15:41 +0000)]
.

13 years ago(map_v4v6_address): Fix last change.
drepper [Tue, 21 Nov 2006 15:41:08 +0000 (15:41 +0000)]
(map_v4v6_address): Fix last change.

13 years ago.
drepper [Tue, 21 Nov 2006 00:33:33 +0000 (00:33 +0000)]
.

13 years ago(map_v4v6_address): Optimize a bit.
drepper [Tue, 21 Nov 2006 00:33:25 +0000 (00:33 +0000)]
(map_v4v6_address): Optimize a bit.

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

13 years ago(__getgroups): Invoke __sysconf only after having tried to call
drepper [Mon, 20 Nov 2006 22:47:00 +0000 (22:47 +0000)]
(__getgroups): Invoke __sysconf only after having tried to call
getgroups32.

13 years ago. fedora-glibc-20061120T1000
drepper [Mon, 20 Nov 2006 03:26:35 +0000 (03:26 +0000)]
.

13 years ago(LINE_PARSER): Support IPv6-style addresses for IPv4 queries if they
drepper [Mon, 20 Nov 2006 03:26:24 +0000 (03:26 +0000)]
(LINE_PARSER): Support IPv6-style addresses for IPv4 queries if they
can be mapped.

13 years ago.
drepper [Thu, 16 Nov 2006 20:40:27 +0000 (20:40 +0000)]
.