aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2002-12-15Update.Ulrich Drepper
* sysdeps/generic/sysdep-cancel.h: New file. * sysdeps/unix/make-syscalls.sh: Handle C at start of args as cancelable syscall. * sysdeps/unix/inet/syscalls.list (accept, connect, recv, recvfrom, recvmsg, send, sendmsg, sendto): Make cancelable. * sysdeps/unix/mman/syscalls.list (msync): Likewise. * sysdeps/unix/sysv/linux/alpha/syscalls.list (llseek, pread, pwrite, accept, connect, recv, recvfrom, recvmsg, send, sendmsg, sendto, osf_select): Likewise. * sysdeps/unix/sysv/linux/hppa/syscalls.list (accept, connect, recv, recvfrom, recvmsg, send, sendmsg, sendto): Likewise. * sysdeps/unix/sysv/linux/ia64/syscalls.list (llseek, pread, pwrite, accept, connect, recv, recvfrom, recvmsg, send, sendmsg, sendto): Likewise. * sysdeps/unix/sysv/linux/mips/syscalls.list (accept, connect, recv, recvfrom, recvmsg, send, sendmsg, sendto): Likewise. * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (llseek, pread, pwrite, accept, connect, recv, recvfrom, recvmsg, send, sendmsg, sendto): Likewise. * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (llseek, pread, pwrite, accept, connect, recv, recvfrom, recvmsg, send, sendmsg, sendto, select): Likewise. * sysdeps/unix/sysv/linux/x86_64/syscalls.list (llseek, pread, pwrite, accept, connect, recvfrom, recvmsg, sendmsg, sendto): Likewise. * sysdeps/unix/sysv/linux/syscalls.list (creat, nanosleep, pause, select, fcntl): Likewise. * sysdeps/unix/sysv/syscalls.list (pause, poll): Likewise. * sysdeps/unix/syscalls.list (close, fcntl, fsync, lseek, open, read, readv, select, sigsuspend, write, writev): Likewise. 2002-12-14 Jakub Jelinek <jakub@redhat.com>
2002-12-14Update.Ulrich Drepper
2002-12-14 Jakub Jelinek <jakub@redhat.com> * dirent/bug-readdir1.c: Include unistd.h.
2002-12-14Update.Ulrich Drepper
2002-12-13 Jakub Jelinek <jakub@redhat.com> * locale/programs/locale.c: Include locarchive.h. (ARCHIVE_NAME): Define. (write_archive_locales): New function. (write_locales): Use it. Ensure the same locale is not printed multiple times in verbose mode. Mode LC_IDENTIFICATION and LC_CTYPE printing into... (print_LC_IDENTIFICATION, print_LC_CTYPE): ... these helper functions. (struct nameent): New type. (nameentcmp): New function.
2002-12-14Include locarchive.h. (ARCHIVE_NAME): Define. (write_archive_locales): New ↵Ulrich Drepper
function. (write_locales): Use it. Ensure the same locale is not printed multiple times in verbose mode. Mode LC_IDENTIFICATION and LC_CTYPE printing into... (print_LC_IDENTIFICATION, print_LC_CTYPE): ... these helper functions. (struct nameent): New type. (nameentcmp): New function.
2002-12-13* posix/regex_internal.c (re_string_context_at): Guard wide charRoland McGrath
code with #ifdef RE_ENABLE_I18N. 2002-11-22 Paolo Bonzini <bonzini@gnu.org> * posix/regcomp.c (regcomp): __re_compile_fastmap -> re_compile_fastmap
2002-12-132002-12-14 Jakub Jelinek <jakub@redhat.com>Roland McGrath
* posix/regex_internal.c (re_string_context_at): Guard wide char code with #ifdef RE_ENABLE_I18N.
2002-12-13(test_loaded): Don't overwrite a value another thread might have found.Ulrich Drepper
2002-12-13Update.Ulrich Drepper
* forward.c (test_loaded): Prevent recursive calls.
2002-12-13(test_loaded): Prevent recursive calls.Ulrich Drepper
2002-12-13* posix/bug-regex15.c: New file.Roland McGrath
* posix/Makefile (tests): Add it. * test-skeleton.c (TEST_DATA_LIMIT): New macro, default to 64MB. (main): Set RLIMIT_DATA limit to TEST_DATA_LIMIT (or lower if need be).
2002-12-132002-12-13 Roland McGrath <roland@redhat.com>Roland McGrath
* posix/bug-regex15.c: New file. * posix/Makefile (tests): Add it.
2002-12-13Update.Ulrich Drepper
* elf/dl-misc.c (_dl_debug_vdprintf): Don't depend on 5-digit PIDs.
2002-12-13Update.Ulrich Drepper
2002-12-13 Ulrich Drepper <drepper@redhat.com> * misc/syslog.c (log_cleanup): Don't use parameter in __libc_lock_unlock call, use syslog_lock directly. Adjust callers to pass NULL instead of a pointer to syslog_lock.
2002-12-13Cancellation handling inside libc.Ulrich Drepper
2002-12-13* td_ta_thr_iter.c (iterate_thread_list): Handle special case ofRoland McGrath
uninitialized __stack_user (zeros), hard-wire just the main thread. * td_thr_get_info.c (td_thr_get_info): Fix ti_lid initialization.
2002-12-132002-12-12 Roland McGrath <roland@redhat.com>Roland McGrath
* td_ta_thr_iter.c (iterate_thread_list): Handle special case of uninitialized __stack_user (zeros), hard-wire just the main thread.
2002-12-13Update.Ulrich Drepper
* iconvdata/Makefile: iconv-rules: Add definition to use gconv.map linker map for all iconv modules. (distribute): Add gconv.map. * iconvdata/gconv.map: New file.
2002-12-13Update.Ulrich Drepper
* elf/Makefile: Also check all iconv modules for text relocations.
2002-12-13Update.Ulrich Drepper
* stdlib/Makefile: Remove code to automatically import GMP.
2002-12-12Update.Ulrich Drepper
* elf/Makefile (tests): Add rules to build and run check-textrel. * elf/check-textrel.c: New file.
2002-12-12Update.Ulrich Drepper
2002-12-12 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/i386/sysdep.h (SETUP_PIC_REG): Add .size directive.
2002-12-12Update.Ulrich Drepper
2002-12-12 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Correct access to __libc_locking_needed for PIC.
2002-12-12Update.Ulrich Drepper
2002-12-12 Jakub Jelinek <jakub@redhat.com> * sysdeps/pthread/bits/libc-lock.h (__libc_locking_needed): Only declare for libc.so. (__libc_lock_init, __libc_lock_init_recursive): Change into comma expression. (__libc_lock_lock): Put into statement expression. (__libc_lock_unlock): Remove trailing semicolon. * sysdeps/unix/sysv/linux/fork.h (__libc_pthread_init): Fix typo.
2002-12-12(__libc_locking_needed): Only declare for libc.so. (__libc_lock_init, ↵Ulrich Drepper
__libc_lock_init_recursive): Change into comma expression. (__libc_lock_lock): Put into statement expression. (__libc_lock_unlock): Remove trailing semicolon.
2002-12-12* sysdeps/unix/sysv/linux/i386/lowlevellock.h: Use asm operand withRoland McGrath
"m" constraint to refer to __libc_locking_needed. Declare it here.
2002-12-122002-12-12 Roland McGrath <roland@redhat.com>Roland McGrath
* sysdeps/unix/sysv/linux/i386/lowlevellock.h: Use asm operand with "m" constraint to refer to __libc_locking_needed. Declare it here.
2002-12-12Update.Ulrich Drepper
2002-12-12 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/fork-gen.c: Renamed to... * sysdeps/unix/sysv/linux/libc_pthread_init.c: ...this. Initialize __libc_locking_needed. * init.c (__pthread_initialize_minimal): Call __libc_pthread_init instead of __register_pthread_fork_handler. * sysdeps/pthread/bits/libc-lock.h: Declare __libc_locking_needed. * sysdeps/unix/sysv/linux/Makefile (sysdep_routimes): Replace fork-gen with libc_pthread_init. * sysdeps/unix/sysv/linux/Versions: Use __libc_pthread_init instead of __register_pthread_fork_handler. * sysdeps/unix/sysv/linux/fork.h: Declare __libc_pthread_init instead of __register_pthread_fork_handler. * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Use __libc_locking_needed to determine whether lock prefix can be avoided. * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Likewise.
2002-12-12Update.Ulrich Drepper
2002-12-11 Jakub Jelinek <jakub@redhat.com> * io/test-utime (main): If stnow.st[am]time is wrong, print it and not st.st[am]time.
2002-12-12Update.Ulrich Drepper
2002-04-30 Bruno Haible <bruno@clisp.org> * intl/loadmsgcat.c (_nl_init_domain_conv): Don't append //TRANSLIT to the encoding if it already has slashes. Reported by Perry Rapp <prapp@erols.com>.
2002-12-12Update.Ulrich Drepper
* Makefile (tests): Add tst-cleanup1. * tst-cleanup1.c: New file. * cancellation.c (__cleanup_thread): Removed. (__do_cancel): Remove call to __cleanup_thread. * pthreadP.h: Remove __cleanup_thread prorotype.
2002-12-12Test for cancelation handler order.Ulrich Drepper
2002-12-12* csu/Makefile ($(objpfx)elf-init.oS): Remove target, braino.Roland McGrath
(CPPFLAGS-elf-init.oS, CFLAGS-elf-init.oS): New variables. Turn off PIC for compiling this file.
2002-12-122002-12-11 Roland McGrath <roland@redhat.com>Roland McGrath
* csu/Makefile ($(objpfx)elf-init.oS): Remove target, braino. (CPPFLAGS-elf-init.oS, CFLAGS-elf-init.oS): New variables. Turn off PIC for compiling this file.
2002-12-12Update.Ulrich Drepper
* sysdeps/pthread/bits/libc-lock.h (__libc_cleanup_region_start): Remember function and argument even if cancellation handler function is not available. (__libc_cleanup_region_end): Execute registered function directly if pthread functions are not available. (__libc_cleanup_end): Likewise.
2002-12-12Update.Ulrich Drepper
2002-12-11 Ulrich Drepper <drepper@redhat.com> * malloc/thread-m.h: Remove thread_id type and MUTEX_INITIALIZER definitions. Not needed. [_LIBC]: Use definitions from libc-lock.h instead of referencing pthread routines directly. * malloc/arena.c (ptmalloc_unlock_all2): Don't add (void) to mutex_init calls. (arena_get2): Don't look at return value of mutex_lock.
2002-12-12(ptmalloc_unlock_all2): Don't add (void) to mutex_init calls. (arena_get2): ↵Ulrich Drepper
Don't look at return value of mutex_lock.
2002-12-11* csu/Makefile ($(objpfx)elf-init.oS): New target, just cloneRoland McGrath
elf-init.o instead of compiling a PIC version.
2002-12-11* intl/gettext.h: Renamed to ...Roland McGrath
* intl/gmo.h: ... here. * intl/Makefile (distribute): Add gmo.h, remove gettext.h. * intl/gettextP.h: Update. * intl/loadmsgcat.c: Update. * intl/gettextP.h (PARAMS): Make more portable. (attribute_hidden): Define as empty macro if not already defined. * intl/hash-string.h (PARAMS): Make more portable. * intl/loadinfo.h (PARAMS): Likewise. * intl/plural-exp.h (PARAMS): Likewise. (attribute_hidden): Move definition near the definition of internal_function. * intl/gettextP.h (_nl_locale_name) [!_LIBC]: New declaration. * intl/plural-exp.h (plural_eval) [!_LIBC]: New declaration. 2002-07-13 Bruno Haible <bruno@clisp.org> * intl/dcigettext.c (freea): New macro. (FREE_BLOCKS): Free also the registered blocks. (DCIGETTEXT): Free the 'search' variable. Reported by Andreas Fischer <a.fischer@asentics.de>. 2002-04-27 Bruno Haible <bruno@clisp.org> * intl/gettextP.h [! _LIBC]: Use prefix libintl_ instead of suffix __. * intl/dcigettext.c: Likewise. * intl/dcgettext.c: Likewise. * intl/dgettext.c: Likewise. * intl/gettext.c: Likewise. * intl/dcngettext.c: Likewise. * intl/dngettext.c: Likewise. * intl/ngettext.c: Likewise. * intl/textdomain.c: Likewise. * intl/bindtextdom.c: Likewise. * intl/plural-exp.h: Likewise. 2002-01-02 Bruno Haible <bruno@clisp.org> * intl/loadmsgcat.c (_nl_init_domain_conv): Use PARAMS in extern decl. 2001-04-30 Bruno Haible <bruno@clisp.org> * intl/dcigettext.c (getuid, getgid, geteuid, getegid): Provide default macro definitions. Needed for mingw32.
2002-12-112002-12-11 Bruno Haible <bruno@clisp.org>Roland McGrath
* intl/gettext.h: Renamed to ... * intl/gmo.h: ... here. * intl/Makefile (distribute): Add gmo.h, remove gettext.h. * intl/gettextP.h: Update. * intl/loadmsgcat.c: Update.
2002-12-11Update.Ulrich Drepper
2002-12-11 Ulrich Drepper <drepper@redhat.com> * init.c (__pthread_initialize_minimal): Fix initialization in static lib by preventing gcc from being too clever.
2002-12-11Update.Ulrich Drepper
* sysdeps/i386/bits/byteswap.h (__bswap_64): Apply __builtin_constant_p to macro parameter.
2002-12-11Update.Ulrich Drepper
* sysdeps/generic/sigpause.c: Define all functions as weak. * sysdeps/posix/sigpause.c: Likewise.
2002-12-11Update.Ulrich Drepper
2002-12-10 Ulrich Drepper <drepper@redhat.com> * sysdeps/posix/sigpause.c: Define all functions as weak. * elf/tst-tls7.c (do_test): Adjustments for l_tls_modid being of type size_t.
2002-12-10(__pthread_initialize_minimal): Remove unneccesary sigaddset call.Ulrich Drepper
2002-12-10* elf/tst-array1.c (preinit_array, init_array, fini_array):Roland McGrath
Explicitly align the array to sizeof (void *). * elf/tst-array2dep.c (init_array, fini_array): Likewise.
2002-12-102002-12-10 Jakub Jelinek <jakub@redhat.com>Roland McGrath
* elf/tst-array1.c (preinit_array, init_array, fini_array): Explicitly align the array to sizeof (void *). * elf/tst-array2dep.c (init_array, fini_array): Likewise.
2002-12-10Update.Ulrich Drepper
2002-12-10 Jakub Jelinek <jakub@redhat.com> * include/libc-symbols.h: Fix a comment typo. * sysdeps/unix/sysv/linux/alpha/select.S (__libc_select): New alias. * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__libc_sigsuspend): Likewise. * sysdeps/unix/sysv/linux/ia64/sigsuspend.c (__libc_sigsuspend): Likewise. * sysdeps/unix/sysv/linux/s390/s390-64/sigsuspend.c (__libc_sigsuspend): Likewise. * sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c (__libc_sigsuspend): Likewise. * sysdeps/generic/creat.c (__libc_creat): Renamed from creat. (creat): New weak alias.
2002-12-10Update.Ulrich Drepper
* Versions.def: No new symbols in 2.3.1, but some new ones in 2.3.2.
2002-12-10No new symbols in 2.3.1, but some new ones in 2.3.2.Ulrich Drepper
2002-12-10* manual/libc-texinfo.sh: Emit @set ADD-ON for each ADD-ON thatRoland McGrath
contributes a manual chapter. * manual/signal.texi (Process Signal Mask): Use @ifset linuxthreads around xref to it.