kopensolaris-gnu/glibc.git
19 years agoUpdate from BIND 8.2.3-T5B.
drepper [Wed, 19 Jul 2000 21:58:02 +0000 (21:58 +0000)]
Update from BIND 8.2.3-T5B.

19 years ago[GLIBC_2.2] (libc): Add __res_init and __res_nclose.
drepper [Wed, 19 Jul 2000 21:57:36 +0000 (21:57 +0000)]
[GLIBC_2.2] (libc): Add __res_init and __res_nclose.

19 years agoBIND-8.2.3-T5B.
drepper [Wed, 19 Jul 2000 21:57:27 +0000 (21:57 +0000)]
BIND-8.2.3-T5B.

19 years agoMove definition of RES_SET_H_ERRNO and accompanying comment to here.
drepper [Wed, 19 Jul 2000 21:57:08 +0000 (21:57 +0000)]
Move definition of RES_SET_H_ERRNO and accompanying comment to here.

19 years agoUpdate.
drepper [Wed, 19 Jul 2000 21:56:17 +0000 (21:56 +0000)]
Update.

19 years ago(pthread_handle_create): Remove initialization of new_thread->p_res._sock.
drepper [Wed, 19 Jul 2000 21:55:59 +0000 (21:55 +0000)]
(pthread_handle_create): Remove initialization of new_thread->p_res._sock.

19 years agoUpdate.
drepper [Wed, 19 Jul 2000 18:58:05 +0000 (18:58 +0000)]
Update.

19 years ago(__pthread_alt_lock, __pthread_alt_timedlock): Wait node was not being
drepper [Wed, 19 Jul 2000 18:57:32 +0000 (18:57 +0000)]
(__pthread_alt_lock, __pthread_alt_timedlock): Wait node was not being
properly enqueued, due to failing to update the lock->__status field.

(__pthread_alt_timedlock): The oldstatus variable was being set
inappropriately, causing the suspend function to be called with a null
self pointer and crash.

19 years agoUpdate.
drepper [Wed, 19 Jul 2000 07:47:34 +0000 (07:47 +0000)]
Update.

19 years agoFix typos.
drepper [Wed, 19 Jul 2000 07:47:18 +0000 (07:47 +0000)]
Fix typos.

19 years agoCorrect syntax for HAN script.
drepper [Wed, 19 Jul 2000 07:46:53 +0000 (07:46 +0000)]
Correct syntax for HAN script.

19 years agoUpdate.
drepper [Wed, 19 Jul 2000 06:24:30 +0000 (06:24 +0000)]
Update.

19 years ago(__pthread_alt_trylock): Fix code used if no compare&swap is available.
drepper [Wed, 19 Jul 2000 06:24:02 +0000 (06:24 +0000)]
(__pthread_alt_trylock): Fix code used if no compare&swap is available.

19 years agoUpdate.
drepper [Wed, 19 Jul 2000 05:36:15 +0000 (05:36 +0000)]
Update.

19 years ago(__pthread_trylock): Use __compare_and_swap, not compare_and_swap.
drepper [Wed, 19 Jul 2000 05:35:49 +0000 (05:35 +0000)]
(__pthread_trylock): Use __compare_and_swap, not compare_and_swap.

19 years agoUpdate.
drepper [Wed, 19 Jul 2000 05:14:01 +0000 (05:14 +0000)]
Update.

19 years agoUpdate for Unicode 3.0.
drepper [Wed, 19 Jul 2000 05:13:50 +0000 (05:13 +0000)]
Update for Unicode 3.0.

19 years agoGB18030 charmap.
drepper [Wed, 19 Jul 2000 05:12:36 +0000 (05:12 +0000)]
GB18030 charmap.

19 years agoUpdate.
drepper [Tue, 18 Jul 2000 22:09:09 +0000 (22:09 +0000)]
Update.

19 years ago(main): Compare result of load_db with NSS_STATUS_SUCCESS and not 0.
drepper [Tue, 18 Jul 2000 22:08:00 +0000 (22:08 +0000)]
(main): Compare result of load_db with NSS_STATUS_SUCCESS and not 0.

19 years agoUpdate.
drepper [Tue, 18 Jul 2000 21:34:27 +0000 (21:34 +0000)]
Update.

19 years ago(pthread_initialize): Don't use syscond to determine whether the machine
drepper [Tue, 18 Jul 2000 21:34:03 +0000 (21:34 +0000)]
(pthread_initialize): Don't use syscond to determine whether the machine
has more than one processor.

19 years agoUpdate.
drepper [Tue, 18 Jul 2000 21:33:02 +0000 (21:33 +0000)]
Update.

19 years agoExport __sysctl for GLIBC_2.2.
drepper [Tue, 18 Jul 2000 21:31:44 +0000 (21:31 +0000)]
Export __sysctl for GLIBC_2.2.

19 years agoUpdate.
drepper [Tue, 18 Jul 2000 20:32:49 +0000 (20:32 +0000)]
Update.

19 years agoMark U0000 as cntrl and U00A0 not as space.
drepper [Tue, 18 Jul 2000 20:32:19 +0000 (20:32 +0000)]
Mark U0000 as cntrl and U00A0 not as space.

19 years agoMark U0000 as cntrl and U00A0 not as space.
drepper [Tue, 18 Jul 2000 20:31:16 +0000 (20:31 +0000)]
Mark U0000 as cntrl and U00A0 not as space.

19 years ago * posix/regex.c (EXTEND_BUFFER_HIGH_BOUND): New macro.
gkm [Tue, 18 Jul 2000 19:18:07 +0000 (19:18 +0000)]
* posix/regex.c (EXTEND_BUFFER_HIGH_BOUND): New macro.
(EXTEND_BUFFER): Use it.

19 years agoUpdate.
drepper [Tue, 18 Jul 2000 18:35:20 +0000 (18:35 +0000)]
Update.

19 years ago(__pthread_alt_timedlock): Add back one of the removed thread_self calls.
drepper [Tue, 18 Jul 2000 18:34:45 +0000 (18:34 +0000)]
(__pthread_alt_timedlock): Add back one of the removed thread_self calls.

19 years agoUpdate.
drepper [Tue, 18 Jul 2000 17:20:58 +0000 (17:20 +0000)]
Update.

19 years ago(__pthread_alt_lock, __pthread_alt_timedlock): Changed
drepper [Tue, 18 Jul 2000 17:20:28 +0000 (17:20 +0000)]
(__pthread_alt_lock, __pthread_alt_timedlock): Changed
__compare_and_swap to compare_and_swap in code which assumes compare
swap is available.

19 years agoUpdate.
drepper [Tue, 18 Jul 2000 17:18:38 +0000 (17:18 +0000)]
Update.

19 years ago(__pthread_alt_lock, __pthread_alt_timedlock): Fixed
drepper [Tue, 18 Jul 2000 17:18:07 +0000 (17:18 +0000)]
(__pthread_alt_lock, __pthread_alt_timedlock): Fixed
bug whereby thr field of waitnode structure would not be correctly
set unless a null self pointer is passed to the functions.
Eliminated redundant calls to thread_self().

19 years agoUpdate.
drepper [Tue, 18 Jul 2000 17:16:19 +0000 (17:16 +0000)]
Update.

19 years agoUse RETURN_ADDRESS instead of __builtin_return_address.
drepper [Tue, 18 Jul 2000 17:15:11 +0000 (17:15 +0000)]
Use RETURN_ADDRESS instead of __builtin_return_address.

19 years agoUse RETURN_ADDRESS instead of __builtin_return_address.
drepper [Tue, 18 Jul 2000 17:14:47 +0000 (17:14 +0000)]
Use RETURN_ADDRESS instead of __builtin_return_address.

19 years agoUse RETURN_ADDRESS instead of __builtin_return_address.
drepper [Tue, 18 Jul 2000 17:14:24 +0000 (17:14 +0000)]
Use RETURN_ADDRESS instead of __builtin_return_address.

19 years agoDefine RETURN_ADDRESS macro.
drepper [Tue, 18 Jul 2000 17:12:50 +0000 (17:12 +0000)]
Define RETURN_ADDRESS macro.

19 years agoUpdate.
aj [Tue, 18 Jul 2000 14:55:31 +0000 (14:55 +0000)]
Update.

19 years ago(elf_machine_rela): Pass 0 instead of NULL to elf_machine_fixup_plt
aj [Tue, 18 Jul 2000 14:14:51 +0000 (14:14 +0000)]
(elf_machine_rela): Pass 0 instead of NULL to elf_machine_fixup_plt
t argument to silence GCC.

19 years agoUpdate.
aj [Tue, 18 Jul 2000 14:00:31 +0000 (14:00 +0000)]
Update.

19 years ago Add prototype for __memchr.
aj [Tue, 18 Jul 2000 14:00:07 +0000 (14:00 +0000)]
 Add prototype for __memchr.

19 years agoUpate.
aj [Tue, 18 Jul 2000 08:42:07 +0000 (08:42 +0000)]
Upate.

19 years agoFix copy & error in weak_alias.
aj [Tue, 18 Jul 2000 08:40:57 +0000 (08:40 +0000)]
Fix copy & error in weak_alias.

19 years agoFix copy & paste error: Use memchr instead of memrchr.
aj [Tue, 18 Jul 2000 08:36:16 +0000 (08:36 +0000)]
Fix copy & paste error: Use memchr instead of memrchr.

19 years agoUpdate.
drepper [Tue, 18 Jul 2000 08:13:18 +0000 (08:13 +0000)]
Update.

19 years ago(__pthread_initialize_manager): Lock __pthread_manager_thread.p_lock
drepper [Tue, 18 Jul 2000 08:12:36 +0000 (08:12 +0000)]
(__pthread_initialize_manager): Lock __pthread_manager_thread.p_lock
before calling clone.

19 years agoUpdate.
drepper [Tue, 18 Jul 2000 08:08:45 +0000 (08:08 +0000)]
Update.

19 years ago(ctype_output): Write out index entries for gap elements.
drepper [Tue, 18 Jul 2000 08:07:42 +0000 (08:07 +0000)]
(ctype_output): Write out index entries for gap elements.

19 years agoAdd initializers for gap elements.
drepper [Tue, 18 Jul 2000 08:05:42 +0000 (08:05 +0000)]
Add initializers for gap elements.

19 years agoMake sure tst-translit is run after tst-gettext.
drepper [Tue, 18 Jul 2000 08:05:13 +0000 (08:05 +0000)]
Make sure tst-translit is run after tst-gettext.

19 years agoUpdate.
drepper [Tue, 18 Jul 2000 01:58:56 +0000 (01:58 +0000)]
Update.

19 years ago * elf/dl-runtime.c (fixup): Trampoline passes unbounded pointer.
gkm [Tue, 18 Jul 2000 00:13:33 +0000 (00:13 +0000)]
* elf/dl-runtime.c (fixup): Trampoline passes unbounded pointer.
(profile_fixup): Don't define for __BOUNDED_POINTERS__.
* sysdeps/i386/dl-machine.h: Don't use regparm attribute for
__BOUNDED_POINTERS__.
(ELF_MACHINE_RUNTIME_TRAMPOLINE): Use non-regparm version
for __BOUNDED_POINTERS__.

19 years ago * iconv/gconv_trans.c: Add #include <stdlib.h> to get malloc decl.
gkm [Mon, 17 Jul 2000 22:38:05 +0000 (22:38 +0000)]
* iconv/gconv_trans.c: Add #include <stdlib.h> to get malloc decl.

19 years ago * sysdeps/generic/bp-checks.h: Use unbounded __memchr
gkm [Mon, 17 Jul 2000 22:36:15 +0000 (22:36 +0000)]
* sysdeps/generic/bp-checks.h: Use unbounded __memchr
rather than non-existent __ubp_memchr.
(CHECK_STRINGopt, CHECK_FCNTL, BOUNDED_N, BOUNDED_1): New macros.
(_CHECK_STRING, _CHECK_N): New macros.
(CHECK_STRING, CHECK_N, CHECK_Nopt): Rewrite in terms of _CHECK_*.
(CHECK_IOCTL): Move inside `#if !__ASSEMBLER__'.
* sysdeps/alpha/memchr.S: Change strong name to "__memchr".
Add weak alias "memchr".
* sysdeps/generic/memchr.c: Likewise.
* sysdeps/i386/memchr.S: Likewise.
* sysdeps/ia64/memchr.S: Likewise.
* sysdeps/m68k/memchr.S: Likewise.
* sysdeps/sparc/sparc32/memchr.S: Likewise.
* sysdeps/sparc/sparc64/memchr.S: Likewise.
* sysdeps/vax/memchr.s: Likewise.

19 years ago * Makerules (o-objects): Supplement with $(o-objects$o).
gkm [Mon, 17 Jul 2000 22:34:10 +0000 (22:34 +0000)]
* Makerules (o-objects): Supplement with $(o-objects$o).
* string/Makefile (o-objects.ob): Add variable to pull
unbounded versions of memcpy, memset and memchr into libc_b.

19 years ago * include/libc-symbols.h (symbol_set_declare): Revert 2000-06-26 mods.
gkm [Mon, 17 Jul 2000 22:33:04 +0000 (22:33 +0000)]
* include/libc-symbols.h (symbol_set_declare): Revert 2000-06-26 mods.
* include/set-hooks.h (RUN_HOOK): Revert 2000-06-26 mods.  Qualify
ptr as __unbouned.

19 years ago * libio/iofdopen.c (_IO_new_fdopen): Pass _IO_FILE_plus pointer to
gkm [Mon, 17 Jul 2000 22:31:55 +0000 (22:31 +0000)]
* libio/iofdopen.c (_IO_new_fdopen): Pass _IO_FILE_plus pointer to
_IO_file_attach.
* libio/iovdprintf.c (_IO_vdprintf): Likewise.

19 years ago * sysdeps/generic/strcpy.c (strcpy): Stifle unused-value warnings.
gkm [Mon, 17 Jul 2000 22:30:16 +0000 (22:30 +0000)]
* sysdeps/generic/strcpy.c (strcpy): Stifle unused-value warnings.
* sysdeps/unix/sysv/linux/execve.c (__execve): Add const
qualifiers.  Don't check NULL-terminator of argv & envp.
* sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Use
unbounded pointer type in word-size assertion.
* sysdeps/unix/sysv/linux/ptrace.c (ptrace): Add missing
cases to stifle warnings.

19 years ago * sysdeps/unix/make-syscalls.sh: Handle new arg signature
gkm [Mon, 17 Jul 2000 22:28:58 +0000 (22:28 +0000)]
* sysdeps/unix/make-syscalls.sh: Handle new arg signature
keyletters F, I, S, W.  Remove unused keyletter V.  Surround
signature argnames with angle-brackets for use as word delimiters,
and to induce syntax errors for any args not handled.  Split
multi-echo echoes and comment each stage.
* sysdeps/unix/common/syscalls.list: Refine & correct signatures.
* sysdeps/unix/inet/syscalls.list: Likewise.
* sysdeps/unix/mman/syscalls.list: Likewise.
* sysdeps/unix/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/syscalls.list: Likewise.
* sysdeps/unix/sysv/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/powerpc/syscalls.list

19 years agoUpdate.
drepper [Mon, 17 Jul 2000 22:09:30 +0000 (22:09 +0000)]
Update.

19 years ago(__gconv_open): Initialize the __data field of struct __gconv_trans_data
drepper [Mon, 17 Jul 2000 22:08:41 +0000 (22:08 +0000)]
(__gconv_open): Initialize the __data field of struct __gconv_trans_data
differently.  Don't pass NULL to trans_init_fct.  Simplify list append
operation.

19 years ago(dcigettext): Call plural_eval on all platforms, not only those having tsearch.
drepper [Mon, 17 Jul 2000 22:02:33 +0000 (22:02 +0000)]
(dcigettext): Call plural_eval on all platforms, not only those having tsearch.

19 years agoAdd placeholders for removed enum values in LC_CTYPE category.
drepper [Mon, 17 Jul 2000 21:59:34 +0000 (21:59 +0000)]
Add placeholders for removed enum values in LC_CTYPE category.

19 years ago(_dl_addr): Keep searching in the _dl_loaded chain if the PHDR check fails.
drepper [Mon, 17 Jul 2000 21:55:14 +0000 (21:55 +0000)]
(_dl_addr): Keep searching in the _dl_loaded chain if the PHDR check fails.

19 years ago(print_hosts): Make sure we always print a space between numeric addresses
drepper [Mon, 17 Jul 2000 21:40:39 +0000 (21:40 +0000)]
(print_hosts): Make sure we always print a space between numeric addresses
and hostnames.

19 years ago(chunk_alloc): Use mmap_chunk() only if allowed, i.e. if n_mmaps_max>0.
drepper [Mon, 17 Jul 2000 21:37:47 +0000 (21:37 +0000)]
(chunk_alloc): Use mmap_chunk() only if allowed, i.e. if n_mmaps_max>0.

19 years ago(AI_V4MAPPED, AI_ALL, AI_ADDRCONFIG): Adjust
drepper [Mon, 17 Jul 2000 21:36:30 +0000 (21:36 +0000)]
(AI_V4MAPPED, AI_ALL, AI_ADDRCONFIG): Adjust
values to remove possible clash with other AI_* constants.
(AI_PASSIVE, AI_CANONNAME, AI_NUMERICHOST): Define as
hexadecimal constants to stress the fact they're in fact
bit flags.

19 years ago[NEED__RES]: Include <resolv.h>.
drepper [Mon, 17 Jul 2000 21:35:47 +0000 (21:35 +0000)]
[NEED__RES]: Include <resolv.h>.
(SETFUNC_NAME, ENDFUNC_NAME, REENTRANT_GETNAME): Use res_ninit instead of
res_init.

19 years ago(print_version): Update copyright year.
drepper [Sun, 16 Jul 2000 18:04:10 +0000 (18:04 +0000)]
(print_version): Update copyright year.

19 years agoUpdate.
drepper [Sun, 16 Jul 2000 17:44:20 +0000 (17:44 +0000)]
Update.

19 years ago(__md5_crypt_r): Add casts for first parameters of memset calls to
drepper [Sun, 16 Jul 2000 17:43:17 +0000 (17:43 +0000)]
(__md5_crypt_r): Add casts for first parameters of memset calls to
avoid warnings.

19 years agoUpdate.
drepper [Sun, 16 Jul 2000 07:30:42 +0000 (07:30 +0000)]
Update.

19 years agoProduce output for failed tests.
drepper [Sun, 16 Jul 2000 07:30:21 +0000 (07:30 +0000)]
Produce output for failed tests.

19 years agoProduce output for failed tests.
drepper [Sun, 16 Jul 2000 07:29:45 +0000 (07:29 +0000)]
Produce output for failed tests.

19 years agoProduce output for failed tests.
drepper [Sun, 16 Jul 2000 07:29:16 +0000 (07:29 +0000)]
Produce output for failed tests.

19 years agoRewrite rules for tests to run them only when necessary.
drepper [Sun, 16 Jul 2000 07:28:45 +0000 (07:28 +0000)]
Rewrite rules for tests to run them only when necessary.

19 years agoRewrite rules to avoid running isomac unless necessary.
drepper [Sun, 16 Jul 2000 05:37:47 +0000 (05:37 +0000)]
Rewrite rules to avoid running isomac unless necessary.

19 years agoCheck that too-small buffer is not overrun.
drepper [Sun, 16 Jul 2000 05:32:11 +0000 (05:32 +0000)]
Check that too-small buffer is not overrun.

19 years agoUpdate.
drepper [Sun, 16 Jul 2000 04:43:49 +0000 (04:43 +0000)]
Update.

19 years agoRewrite rules to avoid running ftwtest unless necessary.
drepper [Sun, 16 Jul 2000 04:42:49 +0000 (04:42 +0000)]
Rewrite rules to avoid running ftwtest unless necessary.

19 years agoUpdate.
drepper [Sun, 16 Jul 2000 04:35:55 +0000 (04:35 +0000)]
Update.

19 years ago(tests): Add tst-getcwd.
drepper [Sun, 16 Jul 2000 04:34:50 +0000 (04:34 +0000)]
(tests): Add tst-getcwd.

19 years agoTests for getcwd function.
drepper [Sun, 16 Jul 2000 04:34:19 +0000 (04:34 +0000)]
Tests for getcwd function.

19 years agoCorrect last patch.
drepper [Sun, 16 Jul 2000 04:33:35 +0000 (04:33 +0000)]
Correct last patch.

19 years agoUpdate.
drepper [Sat, 15 Jul 2000 21:56:03 +0000 (21:56 +0000)]
Update.

19 years ago(__gconv_open): Initialize whole __gconv_trans_data structure.
drepper [Sat, 15 Jul 2000 21:54:55 +0000 (21:54 +0000)]
(__gconv_open): Initialize whole __gconv_trans_data structure.

19 years agoUndef __getpt before weak_alias.
drepper [Sat, 15 Jul 2000 21:49:38 +0000 (21:49 +0000)]
Undef __getpt before weak_alias.

19 years agoUndef __sysconf before weak_alias.
drepper [Sat, 15 Jul 2000 21:49:00 +0000 (21:49 +0000)]
Undef __sysconf before weak_alias.

19 years agoUpdate.
drepper [Sat, 15 Jul 2000 19:02:47 +0000 (19:02 +0000)]
Update.

19 years agoLinux/IA-64 definitions for LinuxThreads.
drepper [Sat, 15 Jul 2000 19:02:22 +0000 (19:02 +0000)]
Linux/IA-64 definitions for LinuxThreads.

19 years ago(pthread_initialize): Set rlimit correctly for NEED_SEPARATE_REGISTER_STACK.
drepper [Sat, 15 Jul 2000 19:02:03 +0000 (19:02 +0000)]
(pthread_initialize): Set rlimit correctly for NEED_SEPARATE_REGISTER_STACK.

(__pthread_initialize_manager): Pass __pthread_manager_thread_bos
instead of __pthread_manager_thread_tos to __clone2.

19 years agoFix the problem with signals at startup.
drepper [Sat, 15 Jul 2000 19:01:25 +0000 (19:01 +0000)]
Fix the problem with signals at startup.
Change the way that thread stacks are allocated on IA64.
Clean up some of the guard page allocation stuff.

(pthread_allocate_stack): Make sure guardaddr is page aligned with
page_roundup if NEED_SEPARATE_REGISTER_STACK is define.

(pthread_allocate_stack): Unmap the stack top if failed to map the
stack bottom.  Fix the guard page.
(pthread_free): Fix the guard page.

(pthread_allocate_stack): Correct the calculation of
"new_thread_bottom". Remove MAP_GROWSDOWN from mmap for stack bottom.

(pthread_allocate_stack): Make the starting address of the stack
bottom page aligned. FIXME: it may need changes in other places.
(pthread_handle_create): Likewise.

(pthread_allocate_stack): Handle NEED_SEPARATE_REGISTER_STACK.

19 years ago(page_roundup): New.
drepper [Sat, 15 Jul 2000 19:00:33 +0000 (19:00 +0000)]
(page_roundup): New.

19 years agoUpdate.
drepper [Sat, 15 Jul 2000 17:32:51 +0000 (17:32 +0000)]
Update.

19 years ago[$(subdir)=misc] (sysdep-routines): Add clone2.
drepper [Sat, 15 Jul 2000 17:31:51 +0000 (17:31 +0000)]
[$(subdir)=misc] (sysdep-routines): Add clone2.

19 years ago(libc): Add __clone2 to GLIBC_2.2.
drepper [Sat, 15 Jul 2000 17:31:09 +0000 (17:31 +0000)]
(libc): Add __clone2 to GLIBC_2.2.

19 years agoAdd clone2.S.
drepper [Sat, 15 Jul 2000 17:30:54 +0000 (17:30 +0000)]
Add clone2.S.

19 years agoClone2 system call for Linux/IA-64.
drepper [Sat, 15 Jul 2000 17:30:41 +0000 (17:30 +0000)]
Clone2 system call for Linux/IA-64.