kopensolaris-gnu/glibc.git
13 years ago.
drepper [Fri, 19 Jan 2007 01:02:19 +0000 (01:02 +0000)]
.

13 years agoCast values to be printed to long to avoid int promotions on 64-bit
drepper [Fri, 19 Jan 2007 01:01:33 +0000 (01:01 +0000)]
Cast values to be printed to long to avoid int promotions on 64-bit
platforms which are too large.

13 years ago.
drepper [Thu, 18 Jan 2007 22:19:48 +0000 (22:19 +0000)]
.

13 years ago(cleanup): Avoid warning.
drepper [Thu, 18 Jan 2007 22:19:38 +0000 (22:19 +0000)]
(cleanup): Avoid warning.

13 years ago [BZ #2749]
jakub [Wed, 17 Jan 2007 13:00:11 +0000 (13:00 +0000)]
[BZ #2749]
* sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Include
<math_ldbl_opt.h>.  Remove weak_alias.  Use long_double_symbol macro.
(__copysignl): Use signbit() for comparison.
* sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Correct parms for
SET_LDOUBLE_WORDS64.

[BZ #2423, #2749]
* sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Don't include <fenv_libc.h>.
(__ceill): Remove calls to fegetround(), fesetround().
* sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
* sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
* sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.

13 years ago * nscd/nscd_getserv_r.c (nscd_getserv_r): Fix pastos.
jakub [Wed, 17 Jan 2007 12:56:50 +0000 (12:56 +0000)]
* nscd/nscd_getserv_r.c (nscd_getserv_r): Fix pastos.

13 years ago * sysdeps/unix/sysv/linux/getdents.c (offsetof): Remove.
jakub [Wed, 17 Jan 2007 11:42:35 +0000 (11:42 +0000)]
* sysdeps/unix/sysv/linux/getdents.c (offsetof): Remove.

13 years ago. fedora-glibc-20070117T1043
drepper [Wed, 17 Jan 2007 09:33:32 +0000 (09:33 +0000)]
.

13 years ago(__lll_timedwait_tid): Add unwind info.
drepper [Wed, 17 Jan 2007 09:33:20 +0000 (09:33 +0000)]
(__lll_timedwait_tid): Add unwind info.

13 years ago. fedora-glibc-20070117T0857
drepper [Wed, 17 Jan 2007 08:37:26 +0000 (08:37 +0000)]
.

13 years ago.
drepper [Wed, 17 Jan 2007 08:37:13 +0000 (08:37 +0000)]
.

13 years agoUse PTHFCT_CALL to demangle pointer.
drepper [Wed, 17 Jan 2007 08:36:51 +0000 (08:36 +0000)]
Use PTHFCT_CALL to demangle pointer.

13 years agoWhen using __libc_pthread_functions demangle pointers before use.
drepper [Wed, 17 Jan 2007 08:36:07 +0000 (08:36 +0000)]
When using __libc_pthread_functions demangle pointers before use.

13 years agoUse PTHFCT_CALL and __libc_pthread_functions_init.
drepper [Wed, 17 Jan 2007 08:35:54 +0000 (08:35 +0000)]
Use PTHFCT_CALL and __libc_pthread_functions_init.

13 years agoDefine PTHFCT_CALL.
drepper [Wed, 17 Jan 2007 08:35:43 +0000 (08:35 +0000)]
Define PTHFCT_CALL.

13 years agoDon't just copy the function table, mangle the pointers.
drepper [Wed, 17 Jan 2007 08:35:26 +0000 (08:35 +0000)]
Don't just copy the function table, mangle the pointers.

13 years ago.
drepper [Wed, 17 Jan 2007 04:39:59 +0000 (04:39 +0000)]
.

13 years agoRemove NO_WAITPID support, it cannot really work anyway.
drepper [Wed, 17 Jan 2007 04:39:50 +0000 (04:39 +0000)]
Remove NO_WAITPID support, it cannot really work anyway.

13 years ago.
drepper [Tue, 16 Jan 2007 01:27:56 +0000 (01:27 +0000)]
.

13 years ago(servinfo): Renamed to reqinfo. Change all users.
drepper [Tue, 16 Jan 2007 01:27:48 +0000 (01:27 +0000)]
(servinfo): Renamed to reqinfo.  Change all users.
(handle_request): Remove unnecessary tests.

13 years ago..
drepper [Tue, 16 Jan 2007 00:24:35 +0000 (00:24 +0000)]
..

13 years ago(cache_add): Record the failure to add to the cache.
drepper [Tue, 16 Jan 2007 00:23:46 +0000 (00:23 +0000)]
(cache_add): Record the failure to add to the cache.

13 years ago * soft-fp/op-common.h (FP_TRUNC): When truncating a NaN, clear
jakub [Mon, 15 Jan 2007 23:43:03 +0000 (23:43 +0000)]
* soft-fp/op-common.h (FP_TRUNC): When truncating a NaN, clear
workbits in semi-raw fraction.

* math/test-misc.c: Add new tests.

* math/basic-test.c: Include test-skeleton.c.
(TEST_TRUNC): Define.
(truncdfsf_test, trunctfsf_test, trunctfdf_test): New.
(main): Rename to ...
(do_test): ...this.  Run new tests.
(TEST_FUNCTION): Define.

[BZ #2749]
* soft-fp/op-4.h (__FP_FRAC_SUB_3, __FP_FRAC_SUB_4): Correct borrow
handling for high words.
* soft-fp/op-common.h (_FP_OVERFLOW_SEMIRAW): Always set inexact
and overflow for infinity.

13 years ago.
drepper [Mon, 15 Jan 2007 22:38:46 +0000 (22:38 +0000)]
.

13 years ago(handle_request): Add a __builtin_expect.
drepper [Mon, 15 Jan 2007 22:38:21 +0000 (22:38 +0000)]
(handle_request): Add a __builtin_expect.

13 years ago.
drepper [Mon, 15 Jan 2007 22:31:14 +0000 (22:31 +0000)]
.

13 years ago(serv2db): Change type into structure which also says whether this is
drepper [Mon, 15 Jan 2007 22:31:05 +0000 (22:31 +0000)]
(serv2db): Change type into structure which also says whether this is
a request for data.  Renamed to servinfo.  All users changed.
(handle_request): Much simpler test whether we should search the cache.

13 years ago.
drepper [Mon, 15 Jan 2007 22:21:52 +0000 (22:21 +0000)]
.

13 years ago(handle_request): Fix thinko in selinux test invocation.
drepper [Mon, 15 Jan 2007 22:21:42 +0000 (22:21 +0000)]
(handle_request): Fix thinko in selinux test invocation.

13 years ago.
drepper [Mon, 15 Jan 2007 20:48:56 +0000 (20:48 +0000)]
.

13 years agoDefine DL_LOOKUP_SCOPE_LOCK.
drepper [Mon, 15 Jan 2007 20:48:43 +0000 (20:48 +0000)]
Define DL_LOOKUP_SCOPE_LOCK.

13 years ago(do_sym): In flags passed to call_dl_lookup, also set DL_LOOKUP_SCOPE_LOCK.
drepper [Mon, 15 Jan 2007 20:47:44 +0000 (20:47 +0000)]
(do_sym): In flags passed to call_dl_lookup, also set DL_LOOKUP_SCOPE_LOCK.

13 years ago(_dl_fixup): Pass DL_LOOKUP_SCOPE_LOCK to _dl_lookup_symbol_x in case we
drepper [Mon, 15 Jan 2007 20:46:54 +0000 (20:46 +0000)]
(_dl_fixup): Pass DL_LOOKUP_SCOPE_LOCK to _dl_lookup_symbol_x in case we
locked the scope.
(_dl_profile_fixup): Likewise.

13 years ago(add_dependency): If scope map is locked, unlock it before getting
drepper [Mon, 15 Jan 2007 20:45:53 +0000 (20:45 +0000)]
(add_dependency): If scope map is locked, unlock it before getting
dl_load_lock and then relock.
(_dl_lookup_symbol_x): Pass flags to add_dependency.
When rerunning _dl_lookup_symbol_x, compute symbol_scope again in case
we unlocked the scope.

13 years ago.
drepper [Sun, 14 Jan 2007 05:26:26 +0000 (05:26 +0000)]
.

13 years ago.
drepper [Sun, 14 Jan 2007 05:26:04 +0000 (05:26 +0000)]
.

13 years ago.
drepper [Sun, 14 Jan 2007 05:25:13 +0000 (05:25 +0000)]
.

13 years ago(perms): Add entries for services database.
drepper [Sun, 14 Jan 2007 05:25:03 +0000 (05:25 +0000)]
(perms): Add entries for services database.

13 years agoDeclare __nss_not_use_nscd_services, __nscd_getservbyname_r, and
drepper [Sun, 14 Jan 2007 05:24:52 +0000 (05:24 +0000)]
Declare __nss_not_use_nscd_services, __nscd_getservbyname_r, and
__nscd_getservbyport_r.

13 years ago(dbnames): Mark as const. Add services entry.
drepper [Sun, 14 Jan 2007 05:24:39 +0000 (05:24 +0000)]
(dbnames): Mark as const.  Add services entry.
(find_db): Fix error message.

13 years agoAdjust declaration of dbnames and serv2str.
drepper [Sun, 14 Jan 2007 05:24:26 +0000 (05:24 +0000)]
Adjust declaration of dbnames and serv2str.
Declare serv_iov_disabled.
Declare addservbyname, readdservbyname, addservbyport, and readdservbyport.

13 years agoAdd entries for services database.
drepper [Sun, 14 Jan 2007 05:24:04 +0000 (05:24 +0000)]
Add entries for services database.

13 years ago(parse_opt): Rewrite parsing of -i parameter value using table.
drepper [Sun, 14 Jan 2007 05:23:52 +0000 (05:23 +0000)]
(parse_opt): Rewrite parsing of -i parameter value using table.

13 years ago(request_type): Remove LASTDBREQ, add GETSERVBYNAME, GETSERVBYPORT, GETFDSERV.
drepper [Sun, 14 Jan 2007 05:23:40 +0000 (05:23 +0000)]
(request_type): Remove LASTDBREQ, add GETSERVBYNAME, GETSERVBYPORT, GETFDSERV.
(serv_response_header): Define.
(struct datahead): Add serv_response_header member.

13 years agoDon't define __getservbyname_r.
drepper [Sun, 14 Jan 2007 05:23:23 +0000 (05:23 +0000)]
Don't define __getservbyname_r.

13 years ago(serv2str): Mark as const. Add entries for services database.
drepper [Sun, 14 Jan 2007 05:23:05 +0000 (05:23 +0000)]
(serv2str): Mark as const.  Add entries for services database.
(dbs): Add .reset_res and servdb initialization.
(serv2db): Add entries for services database.
(verify_persistent_db): Accept dbnr == servdb.
(invalidate_cache): Rewrite database name recognition to use a table.
Call res_init() if .reset_res is set for database.
(handle_request): Add code to handle services database.

13 years ago(prune_cache): Rewrite to get re-add function from table. Add entries
drepper [Sun, 14 Jan 2007 05:22:46 +0000 (05:22 +0000)]
(prune_cache): Rewrite to get re-add function from table.  Add entries
for services database.

13 years ago(routines): Add nscd_getserv_r.
drepper [Sun, 14 Jan 2007 05:22:30 +0000 (05:22 +0000)]
(routines): Add nscd_getserv_r.
(nscd-modules): Add getsrvbynm_r, getsrvbypt_r, and servicescache.
Define CFLAGS-servicescache.c, CFLAGS-getsrvbynm_r.c, and
CFLAGS-getsrvbypt_r.c.

13 years agoDefine CFLAGS-getsrvbynm_r.c and CFLAGS-getsrvbynpt_r.c.
drepper [Sun, 14 Jan 2007 05:22:09 +0000 (05:22 +0000)]
Define CFLAGS-getsrvbynm_r.c and CFLAGS-getsrvbynpt_r.c.

13 years ago(__nss_disable_nscd): Also disable services database.
drepper [Sun, 14 Jan 2007 05:21:50 +0000 (05:21 +0000)]
(__nss_disable_nscd): Also disable services database.

13 years agoExport __nss_services_lookup with GLIBC_PRIVATE.
drepper [Sun, 14 Jan 2007 05:21:40 +0000 (05:21 +0000)]
Export __nss_services_lookup with GLIBC_PRIVATE.

13 years agoImplementation of cache for services database.
drepper [Sun, 14 Jan 2007 05:21:29 +0000 (05:21 +0000)]
Implementation of cache for services database.

13 years agoInterfaces for services database to nscd.
drepper [Sun, 14 Jan 2007 05:21:12 +0000 (05:21 +0000)]
Interfaces for services database to nscd.

13 years agogetservbyport_r function for use in nscd.
drepper [Sun, 14 Jan 2007 05:20:46 +0000 (05:20 +0000)]
getservbyport_r function for use in nscd.

13 years agogetservbyname_r function for use in nscd.
drepper [Sun, 14 Jan 2007 05:20:11 +0000 (05:20 +0000)]
getservbyname_r function for use in nscd.

13 years agoRemove obsolete code. Cleanups.
drepper [Sun, 14 Jan 2007 05:09:52 +0000 (05:09 +0000)]
Remove obsolete code.  Cleanups.

13 years ago.
drepper [Sun, 14 Jan 2007 04:30:50 +0000 (04:30 +0000)]
.

13 years ago(_nss_nis_getservbyname_r): Correct computation of keylen.
drepper [Sun, 14 Jan 2007 04:30:39 +0000 (04:30 +0000)]
(_nss_nis_getservbyname_r): Correct computation of keylen.

13 years ago.
drepper [Sat, 13 Jan 2007 21:31:45 +0000 (21:31 +0000)]
.

13 years agoOnly redefine strndupa if this is really for libc code.
drepper [Sat, 13 Jan 2007 21:31:32 +0000 (21:31 +0000)]
Only redefine strndupa if this is really for libc code.

13 years ago.
drepper [Sat, 13 Jan 2007 07:30:26 +0000 (07:30 +0000)]
.

13 years agoMinor cleanups.
drepper [Sat, 13 Jan 2007 07:30:16 +0000 (07:30 +0000)]
Minor cleanups.

13 years ago.
drepper [Sat, 13 Jan 2007 04:41:19 +0000 (04:41 +0000)]
.

13 years ago(handle_request): Check selinux permissions for all non-admin commands.
drepper [Sat, 13 Jan 2007 04:41:10 +0000 (04:41 +0000)]
(handle_request): Check selinux permissions for all non-admin commands.

13 years ago.
drepper [Sat, 13 Jan 2007 01:52:43 +0000 (01:52 +0000)]
.

13 years agoDefine atomic_compare_and_exchange_val_acq,
drepper [Sat, 13 Jan 2007 01:52:31 +0000 (01:52 +0000)]
Define atomic_compare_and_exchange_val_acq,
atomic_compare_and_exchange_bool_acq, and atomic_exchange_and_add
using __sync_* built-ins for gcc >= 4.1.

13 years agoDefine atomic_compare_and_exchange_val_acq,
drepper [Sat, 13 Jan 2007 01:50:40 +0000 (01:50 +0000)]
Define atomic_compare_and_exchange_val_acq,
atomic_compare_and_exchange_bool_acq, and atomic_exchange_and_add
using __sync_* built-ins for gcc >= 4.1.

13 years ago.
drepper [Fri, 12 Jan 2007 17:02:22 +0000 (17:02 +0000)]
.

13 years agoShow some more information in case of correct behavior.
drepper [Fri, 12 Jan 2007 17:01:40 +0000 (17:01 +0000)]
Show some more information in case of correct behavior.

13 years ago.
drepper [Fri, 12 Jan 2007 16:14:48 +0000 (16:14 +0000)]
.

13 years agoRestrict to testing .o.d, .os.d, and .oS.d files.
drepper [Fri, 12 Jan 2007 16:13:55 +0000 (16:13 +0000)]
Restrict to testing .o.d, .os.d, and .oS.d files.

13 years ago.
drepper [Fri, 12 Jan 2007 05:11:52 +0000 (05:11 +0000)]
.

13 years ago(lll_futex_timed_wait): Undo part of last change, don't negate return value.
drepper [Fri, 12 Jan 2007 05:11:42 +0000 (05:11 +0000)]
(lll_futex_timed_wait): Undo part of last change, don't negate return value.

13 years ago.
drepper [Thu, 11 Jan 2007 21:51:07 +0000 (21:51 +0000)]
.

13 years agoInclude errno.h. Change main()
drepper [Thu, 11 Jan 2007 21:51:00 +0000 (21:51 +0000)]
Include errno.h.  Change main()
to do_test().  Define TEST_FUNCTION. Include test-skeleton.c.
(do_test): Check errno and exit(0) if ENOSYS.

13 years agoAdd rules to build and run tst-strtod4.
drepper [Thu, 11 Jan 2007 17:37:12 +0000 (17:37 +0000)]
Add rules to build and run tst-strtod4.

13 years agoTest for multibyte thousand seperator handling in strtod.
drepper [Thu, 11 Jan 2007 17:36:58 +0000 (17:36 +0000)]
Test for multibyte thousand seperator handling in strtod.

13 years ago(____STRTOF_INTERNAL): Fix handling of multi-byte thousands separators.
drepper [Thu, 11 Jan 2007 17:35:29 +0000 (17:35 +0000)]
(____STRTOF_INTERNAL): Fix handling of multi-byte thousands separators.

13 years ago.
drepper [Thu, 11 Jan 2007 17:28:58 +0000 (17:28 +0000)]
.

13 years ago(tests): New variable.
drepper [Thu, 11 Jan 2007 17:27:16 +0000 (17:27 +0000)]
(tests): New variable.
(do_test): Run several tests rather than just one.

13 years ago(____STRTOF_INTERNAL): 0x. not followed by hexadecimal digit should accept
drepper [Thu, 11 Jan 2007 17:27:04 +0000 (17:27 +0000)]
(____STRTOF_INTERNAL): 0x. not followed by hexadecimal digit should accept
just the initial 0.

13 years ago.
drepper [Thu, 11 Jan 2007 05:05:17 +0000 (05:05 +0000)]
.

13 years agoCleanups.
drepper [Thu, 11 Jan 2007 04:58:18 +0000 (04:58 +0000)]
Cleanups.
Define FUTEX_CMP_REQUEUE and lll_futex_requeue.

13 years ago * sysdeps/i386/soft-fp/sfp-machine.h: Remove.
jakub [Wed, 10 Jan 2007 23:28:45 +0000 (23:28 +0000)]
* sysdeps/i386/soft-fp/sfp-machine.h: Remove.
* sysdeps/x86_64/soft-fp/sfp-machine.h: Likewise.

13 years ago * shlib-versions: Fix sparc64 linux target specification.
jakub [Wed, 10 Jan 2007 23:24:02 +0000 (23:24 +0000)]
* shlib-versions: Fix sparc64 linux target specification.

13 years ago.
drepper [Wed, 10 Jan 2007 19:41:26 +0000 (19:41 +0000)]
.

13 years agoAdjust include path for pthread_barrier_wait.c move.
drepper [Wed, 10 Jan 2007 19:40:55 +0000 (19:40 +0000)]
Adjust include path for pthread_barrier_wait.c move.

13 years ago.
drepper [Wed, 10 Jan 2007 18:45:06 +0000 (18:45 +0000)]
.

13 years agoMake sure fts_cur is always valid after return from fts_read.
drepper [Wed, 10 Jan 2007 18:38:19 +0000 (18:38 +0000)]
Make sure fts_cur is always valid after return from fts_read.

13 years ago * elf/elf.h (R_MIPS_GLOB_DAT): Define.
jakub [Mon, 8 Jan 2007 13:09:52 +0000 (13:09 +0000)]
* elf/elf.h (R_MIPS_GLOB_DAT): Define.
(R_MIPS_NUM): Bump by 1.

13 years ago.
drepper [Wed, 3 Jan 2007 23:02:17 +0000 (23:02 +0000)]
.

13 years agoAdd rules to build and run tst-vfork3 test.
drepper [Wed, 3 Jan 2007 23:02:10 +0000 (23:02 +0000)]
Add rules to build and run tst-vfork3 test.

13 years agoTest for memory leaks when using vfork and execvp.
drepper [Wed, 3 Jan 2007 23:01:58 +0000 (23:01 +0000)]
Test for memory leaks when using vfork and execvp.

13 years agoInclude alloca.h.
drepper [Wed, 3 Jan 2007 23:01:15 +0000 (23:01 +0000)]
Include alloca.h.
(allocate_scripts_argv): Renamed to...
(scripts_argv): ... this.  Don't allocate buffer here nor count
arguments.
(execvp): Use alloca if possible.

13 years ago(tst-strxfrm2-ENV): Define.
drepper [Wed, 3 Jan 2007 22:43:22 +0000 (22:43 +0000)]
(tst-strxfrm2-ENV): Define.

13 years ago(tst-strtod3-ENV): Define.
drepper [Wed, 3 Jan 2007 22:42:33 +0000 (22:42 +0000)]
(tst-strtod3-ENV): Define.

13 years ago.
drepper [Wed, 3 Jan 2007 05:44:24 +0000 (05:44 +0000)]
.

13 years agoUpdate copyright year.
drepper [Wed, 3 Jan 2007 05:44:10 +0000 (05:44 +0000)]
Update copyright year.

13 years ago.
drepper [Sun, 24 Dec 2006 21:19:20 +0000 (21:19 +0000)]
.

13 years ago(sYSMALLOc): Remove some unnecessary alignment attempts.
drepper [Sun, 24 Dec 2006 21:19:11 +0000 (21:19 +0000)]
(sYSMALLOc): Remove some unnecessary alignment attempts.