| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
(EXTEND_BUFFER): Use it.
2000-07-18 Greg McGary <greg@mcgary.org>
* posix/regex.c (EXTEND_BUFFER_HIGH_BOUND): New macro.
(EXTEND_BUFFER): Use it.
|
|
|
|
|
|
|
| |
2000-07-18 Ulrich Drepper <drepper@redhat.com>
* spinlock.c (__pthread_alt_timedlock): Add back one of the
removed thread_self calls.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-07-18 Ulrich Drepper <drepper@redhat.com>
* include/libc-symbols.h: Define RETURN_ADDRESS macro.
* dlfcn/dlopen.c: Use RETURN_ADDRESS instead of
__builtin_return_address.
* dlfcn/dlopenold.c: Likewise.
* dlfcn/dlsym.c: Likewise.
* dlfcn/dlvsym.c: Likewise.
* elf/dl-profstub.c: Likewise.
* malloc/malloc.c: Likewise.
* sysdeps/generic/machine-gmon.h: Likewise.
Based on a patch by schwidefsky@de.ibm.com.
|
|
|
|
|
|
|
|
|
| |
2000-07-18 Kaz Kylheku <kaz@ashi.footprints.net>
* spinlock.c (__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().
|
| |
|
|
|
|
|
| |
* sysdeps/alpha/dl-machine.h (elf_machine_rela): Pass 0 instead of
NULL to elf_machine_fixup_plt t argument to silence GCC.
|
|
|
|
| |
* include/string.h: Add prototype for __memchr.
|
|
|
|
|
|
|
|
|
| |
2000-07-18 Andreas Jaeger <aj@suse.de>
* sysdeps/alpha/memchr.S: Fix copy & error in weak_alias.
* sysdeps/generic/memchr.c: Fix copy & paste error: Use memchr
instead of memrchr.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
2000-07-18 Ulrich Drepper <drepper@redhat.com>
* intl/Makefile: Make sure tst-translit is run after tst-gettext.
* locale/C-ctype.c: Add initializers for gap elements.
* locale/programs/ld-ctype.c (ctype_output): Write out index entries
for gap elements.
|
|
|
|
|
|
| |
2000-07-16 Ulrich Drepper <drepper@redhat.com>
* nscd/nscd.c (print_version): Update copyright year.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(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__.
* iconv/gconv_trans.c: Add #include <stdlib.h> to get malloc decl.
* 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__.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
* 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.
|
|
|
|
|
|
|
|
| |
* string/Makefile (o-objects.ob): Add variable to pull
unbounded versions of memcpy, memset and memchr into libc_b.
* 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.
|
|
|
|
|
|
|
|
| |
* include/set-hooks.h (RUN_HOOK): Revert 2000-06-26 mods. Qualify
ptr as __unbouned.
* 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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
_IO_file_attach.
* libio/iovdprintf.c (_IO_vdprintf): Likewise.
* 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.
* libio/iofdopen.c (_IO_new_fdopen): Pass _IO_FILE_plus pointer to
_IO_file_attach.
* libio/iovdprintf.c (_IO_vdprintf): Likewise.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
2000-07-17 Greg McGary <greg@mcgary.org>
* 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-07-17 Bruno Haible <haible@clisp.cons.org>
* iconv/gconv_open.c (__gconv_open): Initialize the __data
field of struct __gconv_trans_data differently. Don't pass NULL to
trans_init_fct. Simplify list append operation.
2000-07-14 Bruno Haible <haible@clisp.cons.org>
* intl/dcigettext.c (dcigettext): Call plural_eval on all platforms,
not only those having tsearch.
2000-07-17 Ulrich Drepper <drepper@redhat.com>
* locale/langinfo.h: Add placeholder values in enum for removed
LC_CTYPE entries.
2000-07-17 Jakub Jelinek <jakub@redhat.com>
* elf/dl-addr.c (_dl_addr): Keep searching in the _dl_loaded
chain if the PHDR check fails.
2000-07-17 Mark Kettenis <kettenis@gnu.org>
* nss/getent.c (print_hosts): Make sure we always print a space
between numeric addresses and hostnames.
2000-07-17 Wolfram Gloger <wg@malloc.de>
* malloc/malloc.c (chunk_alloc): Use mmap_chunk() only if allowed,
i.e. if n_mmaps_max>0.
2000-07-16 Mark Kettenis <kettenis@gnu.org>
* resolv/netdb.h (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.
2000-07-15 Mark Kettenis <kettenis@gnu.org>
* nss/getXXent_r.c [NEED__RES]: Include <resolv.h>.
(SETFUNC_NAME, ENDFUNC_NAME, REENTRANT_GETNAME): Use res_ninit
instead of res_init.
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-07-16 Ulrich Drepper <drepper@redhat.com>
* crypt/md5-crypt.c (__md5_crypt_r): Add casts for first
parameters of memset calls to avoid warnings.
* stdlib/Makefile: Rewrite rules to avoid running isomac unless
necessary.
* iconv/gconv_open (__gconv_open): Initialize whole __gconv_trans_data
|
|
|
|
|
|
|
|
|
| |
2000-07-16 Ulrich Drepper <drepper@redhat.com>
* Makefile: Rewrite rules for tests to run them only when necessary.
* sort-test.sh: Produce output for failed tests.
* tst-fmon.sh: Likewise.
* tst-rpmatch.sh: Likewise.
|
|
|
|
| |
* io/Makefile: Rewrite rules to avoid running ftwtest unless necessary.
|
|
|
|
|
|
|
|
|
|
| |
2000-07-15 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/getcwd.c: Correct last patch.
Patch by Greg McGary <greg@mcgary.org>.
* io/Makefile (tests): Add tst-getcwd.
* io/tst-getcwd.c: New file.
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-07-15 Jakub Jelinek <jakub@redhat.com>
* gconv_open (__gconv_open): Initialize whole __gconv_trans_data
structure.
2000-07-13 Jakub Jelinek <jakub@redhat.com>
* sysdeps/posix/sysconf.c: Undef __sysconf before weak_alias.
* sysdeps/unix/bsd/getpt.c: Undef __getpt before weak_alias.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-05-05 H.J. Lu <hjl@gnu.org>
* sysdeps/ia64/pt-machine.h (__compare_and_swap): Change it to
have acquire semantics.
(__compare_and_swap_with_release_semantics): New inline
function.
(HAS_COMPARE_AND_SWAP_WITH_RELEASE_SEMANTICS): New macro.
2000-01-28 Hans Boehm <hboehm@exch.hpl.hp.com>
* manager.c: 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.
1999-12-19 H.J. Lu <hjl@gnu.org>
* internals.h (page_roundup): New.
* attr.c (__pthread_attr_setguardsize); Use page_roundup
instead of roundup.
* manager.c (pthread_allocate_stack): Make sure guardaddr is
page aligned with page_roundup if NEED_SEPARATE_REGISTER_STACK
is define.
1999-12-17 Hans Boehm <hboehm@exch.hpl.hp.com>
* manager.c (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.c (pthread_initialize): Set rlimit correctly for
NEED_SEPARATE_REGISTER_STACK.
1999-12-16 H.J. Lu <hjl@gnu.org>
* pthread.c (__pthread_initialize_manager): Pass
__pthread_manager_thread_bos instead of
__pthread_manager_thread_tos to __clone2.
1999-12-16 H.J. Lu <hjl@gnu.org>
* manager.c (pthread_allocate_stack): Correct the calculation
of "new_thread_bottom". Remove MAP_GROWSDOWN from mmap for
stack bottom.
1999-12-13 H.J. Lu <hjl@gnu.org>
* sysdeps/ia64/pt-machine.h (__compare_and_swap): Added a stop
bit after setting ar.ccv.
1999-12-12 H.J. Lu <hjl@gnu.org>
* manager.c (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.
1999-12-11 Hans Boehm <hboehm@exch.hpl.hp.com>
* manager.c (pthread_allocate_stack): Handle
NEED_SEPARATE_REGISTER_STACK.
(pthread_handle_create): Likewise.
* pthread.c (__pthread_initialize_manager): Likewise.
* sysdeps/ia64/pt-machine.h: Use r13 for thread pointer.
1999-12-02 H.J. Lu <hjl@gnu.org>
* sysdeps/ia64/pt-machine.h: New.
|
|
|
|
|
|
|
|
|
|
|
| |
2000-07-12 H.J. Lu <hjl@gnu.org>
* sysdeps/unix/sysv/linux/ia64/Versions (libc): Add __clone2 to
GLIBC_2.2.
* sysdeps/unix/sysv/linux/ia64/Dist: Add clone2.S.
* sysdeps/unix/sysv/linux/ia64/Makefile [$(subdir)=misc]
(sysdep-routines): Add clone2.
* sysdeps/unix/sysv/linux/ia64/clone2.S: New.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-07-13 Jes Sorensen <jes@linuxcare.com>
* sysdeps/unix/sysv/linux/ia64/clone.S: New file.
* sysdeps/unix/sysv/linux/ia64/fork.c: New file.
2000-06-05 David Mosberger <davidm@hpl.hp.com>
* sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: New file
based on sysdeps/unix/sysv/linux/bits/siginfo.h.
Change type of si_band from "int" to "long".
(si_imm) [USE_GNU]: Define
(si_isr) [USE_GNU]: Ditto.
(ILL_BREAK) [USE_GNU]: Ditto.
(FPE_DECOVF) [USE_GNU]: Ditto.
(FPE_DECDIV) [USE_GNU]: Ditto.
(FPE_DECERR) [USE_GNU]: Ditto.
(FPE_INVASC) [USE_GNU]: Ditto.
(FPE_INVDEC) [USE_GNU]: Ditto.
(TRAP_BRANCH) [USE_GNU]: Ditto.
(TRAP_HWBKPT) [USE_GNU]: Ditto.
2000-07-06 Jes Sorensen <jes@linuxcare.com>
* sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
bits/sigcontext as struct mcontext does not depend on it.
* sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: New file.
2000-07-04 Jes Sorensen <jes@linuxcare.com>
* sysdeps/unix/sysv/linux/ia64/shmctl.c: Removed.
2000-07-04 David Mosberger-Tang <davidm@hpl.hp.com>
* sysdeps/unix/sysv/linux/ia64/bits/msq.h: New file.
2000-06-22 Jes Sorensen <jes@linuxcare.com>
* sysdeps/unix/sysv/linux/ia64/bits/mman.h: New file.
* intl/translit.po: New file.
|
|
|
|
|
|
|
|
|
|
| |
2000-07-15 Ulrich Drepper <drepper@redhat.com>
* intl/Makefile (test-srcs): Add tst-translit.
(tests): Likewise.
Add rules to build and run tst-translit.
* intl/tst-translit.c: New file.
* intl/tst-translit.sh: New file.
|
|
|
|
|
|
|
|
|
|
| |
2000-07-14 Ulrich Drepper <drepper@redhat.com>
* iconv/loop.c (STANDARD_ERR_HANDLER): If one of the
transliteration function did its job, continue, don't stop.
* iconvdata/iso646.c: Little optimizations in body for conversion
from UCS4.
|
|
|
|
|
|
| |
* dlfcn/dlerror.c (free_key_mem): Add cast to silence compiler warning.
2000-07-14 Mark Kettenis <kettenis@gnu.org>
|
|
|
|
|
|
|
|
| |
2000-07-14 Mark Kettenis <kettenis@gnu.org>
* configure.in: Check for pwd binary.
* config.make.in: Add PWD_P to be subsituted.
* Makerules: Use $(PWD_P) instead of /bin/pwd.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
2000-07-14 Ulrich Drepper <drepper@redhat.com>
* iconvdata/Makefile (modules): Add GB18030.
(distribute): Add gb18030.c.
* iconvdata/gconv-modules: Add entries for GB18030 module.
* iconvdata/gb18030.c: New file.
Contributed by Wang ShouHua <shouhuawang@redflag-linux.com>
and Wu Jian.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-07-13 Andreas Jaeger <aj@suse.de>
* sysdeps/unix/sysv/linux/getsysstats.c (free_mem): Revert last
patch.
* grp/fgetgrent.c (free_mem): Remove if - free (0) is valid.
* inet/getnetgrent.c (free_mem): Likewise.
* misc/mntent.c (free_mem): Likewise.
* nss/getXXbyYY.c (free_mem): Likewise.
* nss/getXXent.c (free_mem): Likewise.
* pwd/fgetpwent.c (free_mem): Likewise.
* shadow/fgetspent.c (free_mem): Likewise.
|
|
|
|
|
|
|
|
|
|
|
| |
patch.
* grp/fgetgrent.c (free_mem): Remove if - free (0) is valid.
* inet/getnetgrent.c (free_mem): Likewise.
* misc/mntent.c (free_mem): Likewise.
* nss/getXXbyYY.c (free_mem): Likewise.
* nss/getXXent.c (free_mem): Likewise.
* pwd/fgetpwent.c (free_mem): Likewise.
* shadow/fgetspent.c (free_mem): Likewise.
|
|
|
|
|
| |
(_dl_signal_error): Return _dl_out_of_memory if we cannot duplicate
[PR libc/1813].
|
|
|
|
|
|
|
| |
2000-07-14 Ulrich Drepper <drepper@redhat.com>
* sunrpc/xdr.c (xdr_u_long): Handle reading of unsigned long on
64-bit architecture correctly [PR libc/1794].
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* elf/Versions (ld): Export _dl_out_of_memory for GLIBC_2.2.
* dlfcn/dlerror.c (dlerror): Don't free the error string if it is the
report that we are out of memory.
* elf/dl-deps.c (_dl_map_object_deps): Likewise.
* elf/dl-libc.c (dlerror_run): Likewise.
* elf/dl-open.c (_dl_open): Likewise.
* elf/rtld.c (dl_main): Likewise.
* elf/dl-error.c: Define _dl_out_of_memory.
(_dl_signal_error): Return _dl_signal_error if we cannot duplicate
the error string.
* sysdeps/generic/ldsodefs.h: Declare _dl_out_of_memory.
* dlfcn/dlerror.c (free_key_mem): Also free error string.
* iconv/loop.c: Fix comment.
|
|
|
|
|
|
|
|
|
| |
2000-07-13 Ulrich Drepper <drepper@redhat.com>
* malloc/mtrace.c (tr_freehook): Return immediately if ptr is NULL.
Fixes PR libc/1788, reported by John Buddery <jvb@cyberscience.com>.
* iconv/gconv_open.c (__gconv_open): Merge duplicated code.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-07-13 Andreas Jaeger <aj@suse.de>
* sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Correctly handle
getcwd (NULL, size) with size > 0.
Fixes PR libc/1788, reported by John Buddery
<jvb@cyberscience.com>.
2000-07-13 Andreas Jaeger <aj@suse.de>
* posix/Makefile: Remove build rules for libposix.
|
| |
|
|
|
|
|
|
|
|
| |
2000-07-13 Andreas Schwab <schwab@suse.de>
* sysdeps/generic/glob.c (glob): Fix memory leak.
[SHELL]: Remove reference to undefined variable `files'.
Fixes PR libc/1782.
|
|
|
|
|
| |
* sysdeps/unix/sysv/linux/mips/Versions: Add libgcc frame handling
functions.
|
|
|
|
|
|
|
| |
2000-07-13 Andreas Jaeger <aj@suse.de>
* sysdeps/unix/sysv/linux/getsysstats.c (free_mem): Only free
memory if it was allocated.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
* iconv/gconv_db.c (gen_steps): Always initialize __data field of
step.
* iconv/gconv_open.c (__gconv_open): Reapply
2000-07-12 Bruno Haible <haible@clisp.cons.org>
* iconv/gconv_open.c (__gconv_open): Merge duplicated
code.
|
|
|
|
|
|
|
| |
2000-07-12 Ulrich Drepper <drepper@redhat.com>
* iconv/gconv_open.c: Undo last two changes for now. They break
everything.
|