about summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
* * sysdeps/mach/hurd/bits/libc-lock.h: New file, initially copied fromRoland McGrath2001-08-247-76/+222
| | | | | | | | | | | | | | | | | | | | | | | | | sysdeps/mach version. Implement counting ("recursive") mutexes on top of cthreads mutexes. * sysdeps/mach/hurd/bits/stdio-lock.h: File removed; generic now works. * sysdeps/generic/bits/stdio-lock.h (_IO_lock_initializer): Define to _LIBC_LOCK_RECURSIVE_INITIALIZER if defined, else do an #error. (__libc_cleanup_region_start, __libc_cleanup_region_end, __libc_clean_end): Define these to call the cleanup function after normal exit when they're supposed to. * sysdeps/mach/bits/libc-lock.h (__libc_cleanup_region_start): Take new first arg DOIT, a boolean saying whether to really install any cleanup handler. (__libc_cleanup_region_end): Do nothing if start's DOIT arg was zero. (__libc_cleanup_end): Likewise. * stdio-common/vfscanf.c (LOCK_STREAM): Pass new arg. * stdio-common/vfprintf.c (buffered_vfprintf, vfprintf): Likewise. * sysdeps/mach/hurd/bits/stdio-lock.h (_IO_cleanup_region_start): Likewise. * misc/syslog.c (vsyslog, openlog, closelog): Likewise. * sysdeps/generic/bits/stdio-lock.h (_IO_cleanup_region_start, _IO_cleanup_region_start_noarg): Likewise.
* 2001-08-23 Roland McGrath <roland@frob.com>Roland McGrath2001-08-242-12/+18
| | | | | | | | | | | | | | | | | | | | * sysdeps/generic/bits/stdio-lock.h (_IO_lock_initializer): Define to _LIBC_LOCK_RECURSIVE_INITIALIZER if defined, else do an #error. (__libc_cleanup_region_start, __libc_cleanup_region_end, __libc_clean_end): Define these to call the cleanup function after normal exit when they're supposed to. * sysdeps/mach/bits/libc-lock.h (__libc_cleanup_region_start): Take new first arg DOIT, a boolean saying whether to really install any cleanup handler. (__libc_cleanup_region_end): Do nothing if start's DOIT arg was zero. (__libc_cleanup_end): Likewise. * stdio-common/vfscanf.c (LOCK_STREAM): Pass new arg. * stdio-common/vfprintf.c (buffered_vfprintf, vfprintf): Likewise. * sysdeps/mach/hurd/bits/stdio-lock.h (_IO_cleanup_region_start): Likewise. * misc/syslog.c (vsyslog, openlog, closelog): Likewise. * sysdeps/generic/bits/stdio-lock.h (_IO_cleanup_region_start, _IO_cleanup_region_start_noarg): Likewise.
* (print_statistics): Nicer format for cache hit output.Ulrich Drepper2001-08-231-1/+1
|
* Update.Ulrich Drepper2001-08-239-91/+202
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-08-23 Jakub Jelinek <jakub@redhat.com> * elf/ldconfig.c (search_dir): Remove stale symlinks. 2001-08-23 Jakub Jelinek <jakub@redhat.com> * elf/dl-lookup.c (lookup_cache, lookup_cache_versioned): New. (_dl_lookup_symbol): Lookup relocations in cache and store successfull lookups in cache. (_dl_lookup_versioned_symbol): Likewise. * elf/dl-reloc.c (_dl_relocate_object): Initialize cache for relocation lookup. * elf/rtld.c (print_statistics): Output _dl_num_cache_relocations. * sysdeps/generic/ldsodefs.h (struct lookup_cache): New definition. (lookup_cache, lookup_cache_versioned): Add declarations. 2001-08-23 Ulrich Drepper <drepper@redhat.com> * stdlib/tst-random.c (main): Swap parameters in fail call. Patch by Pete Bevin <pete@petebevin.com>. 2001-08-23 Jakub Jelinek <jakub@redhat.com> * sysdeps/generic/inttypes.h: Use __gwchar_t instead of __wchar_t. * malloc/obstack.c: Indent preprocessor directives. Patch by Jim Meyering <meyering@ascend.com>.
* Update.Ulrich Drepper2001-08-231-0/+4
| | | | | | 2001-08-23 Ulrich Drepper <drepper@redhat.com> * po/ja.po: Update from translation team.
* Update from translation team.Ulrich Drepper2001-08-231-724/+785
|
* * libio/tst-ungetwc1.c (main): Add a const to quiet a warning.Roland McGrath2001-08-233-4/+17
| | | | | * nss/test-netdb.c (test_hosts): Don't use MAXHOSTNAMELEN. Instead, use dynamic buffer to test gethostname's ENAMETOOLONG error.
* * sysdeps/generic/ldsodefs.h (_dl_load_lock): Declare it here withRoland McGrath2001-08-2313-72/+91
| | | | | | | | | | | | | | | | | | | __libc_lock_define_recursive. * elf/dl-open.c: Don't declare it here any more. * elf/dl-close.c: Likewise. * elf/dl-lookup.c: Likewise. * elf/dl-iteratephdr.c: Likewise. * elf/dl-lookup.c (add_dependency): Use __libc_lock_lock_recursive and __libc_lock_unlock_recursive. * elf/dl-close.c (_dl_close): Likewise * elf/dl-iteratephdr.c (__dl_iterate_phdr): Likewise * elf/dl-open.c (_dl_open): Likewise * sysdeps/generic/bits/libc-lock.h (__libc_lock_define_recursive): New macro. * sysdeps/generic/bits/stdio-lock.h (_IO_lock_t): Use it. (_IO_lock_lock): Use __libc_lock_lock_recursive. (_IO_lock_unlock): Use __libc_lock_unlock_recursive.
* * conform/conformtest.pl (checknamespace): Sort the output list.Roland McGrath2001-08-234-13/+29
| | | | | | | | | | * sysdeps/generic/bits/poll.h (POLLWRBAND): New alias for POLLOUT. (POLLRDNORM, POLLRDBAND, POLLWRNORM, POLLWRBAND): Make these definitions conditional on [__USE_XOPEN]. * sysdeps/mach/hurd/bits/fcntl.h (O_ASYNC, O_FSYNC, O_SYNC): Define these unconditionally, not only use [__USE_BSD], so as to match the sysdeps/unix/sysv/linux files.
* 2001-08-22 Roland McGrath <roland@frob.com>Roland McGrath2001-08-231-1/+2
| | | | * conform/conformtest.pl (checknamespace): Sort the output list.
* Update.Ulrich Drepper2001-08-232-1/+10
| | | | | | | | | | 2001-08-22 Ulrich Drepper <drepper@redhat.com> * test-skeleton.c (add_temp_file): Add __attribute__ ((unused)) to avoid warnings. * dlfcn/tst-dladdr.c (do_test): Get address of ref1 using DL_LOOKUP_ADDRESS.
* (do_test): Get address of ref1 using DL_LOOKUP_ADDRESS.Ulrich Drepper2001-08-231-2/+5
|
* * sysdeps/generic/bits/sigaction.h (struct sigaction): Fix upRoland McGrath2001-08-231-0/+6
| | | | | conditionalization of sa_handler/sa_sigaction member types to match the sysdeps/unix/sysv/linux file.
* 2001-08-22 Roland McGrath <roland@frob.com>Roland McGrath2001-08-232-12/+28
| | | | | | * sysdeps/generic/bits/sigaction.h (struct sigaction): Fix up conditionalization of sa_handler/sa_sigaction member types to match the sysdeps/unix/sysv/linux file.
* Update.Ulrich Drepper2001-08-232-1/+5
| | | | | * elf/dl-addr.c (_dl_addr): Handle broken binaries with zero symbol sizes a bit better.
* Update.Ulrich Drepper2001-08-232-63/+189
| | | | | * sysdeps/ia64/strncpy.S: Complete rewrite. Contributed by Jakub Jelinek <jakub@redhat.com>.
* Update.Ulrich Drepper2001-08-231-0/+4
| | | | | | 2001-08-22 Ulrich Drepper <drepper@redhat.com> * string/stratcliff.c (main): Add strncpy test.
* (main): Add strncpy test.Ulrich Drepper2001-08-231-1/+28
|
* * sysdeps/generic/dl-environ.c: Include <stdlib.h> and <unistd.h>,Roland McGrath2001-08-231-0/+6
| | | | | and don't declare unsetenv or _environ directly. (unsetenv): Return int, not void. Use __environ instead of _environ.
* 2001-08-22 Roland McGrath <roland@frob.com>Roland McGrath2001-08-231-5/+6
| | | | | | * sysdeps/generic/dl-environ.c: Include <stdlib.h> and <unistd.h>, and don't declare unsetenv or _environ directly. (unsetenv): Return int, not void. Use __environ instead of _environ.
* Fix formatting.Ulrich Drepper2001-08-221-4/+4
| | | | | | | * posix/getopt.h (getopt_long, getopt_long_only, _getopt_internal): Rename __argc to ___argc in prototypes to avoid compatibility problems with systems that reserve the identifier "__argc". Similarly for __argv.
* 2001-08-20 Roland McGrath <roland@frob.com>Roland McGrath2001-08-221-0/+3
| | | | | * hurd/hurdlookup.c (__hurd_file_name_lookup): Fail with ENOENT for "". (__hurd_file_name_split, __hurd_directory_name_split): Likewise.
* * sysdeps/unix/bsd/bsd4.4/Makefile: New file. * ↵Mark Kettenis2001-08-225-3/+26
| | | | | | | | | | | | sysdeps/unix/bsd/bsd4.4/Versions: New file. * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: New file. * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Correct test for cmsg struct size. 2001-08-01 Mark Kettenis <kettenis@gnu.org> * sysdeps/unix/bsd/bsd4.4/Makefile: New file. * sysdeps/unix/bsd/bsd4.4/Versions: New file. * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: New file. * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Correct test for cmsg struct size.
* 2001-04-23 Paul Eggert <eggert@twinsun.com>Roland McGrath2001-08-224-53/+20
| | | | | | | | | | | | | | * posix/getopt.h (getopt_long, getopt_long_only, _getopt_internal): Rename __argc to ___argc in prototypes to avoid compatibility problems with systems that reserve the identifier "__argc". Similarly for __argv. 2001-08-21 Roland McGrath <roland@frob.com> * stdio-common/tst-fseek.c: Include <time.h> for `time' declaration. * mach/Makefile (tests): Removed. * mach/hello.c: File removed.
* 2001-08-21 Roland McGrath <roland@frob.com>Roland McGrath2001-08-221-1/+2
| | | | * stdio-common/tst-fseek.c: Include <time.h> for `time' declaration.
* Update.Ulrich Drepper2001-08-222-702/+786
| | | | * po/sv.po: Update from translation team.
* Update.Ulrich Drepper2001-08-223-1/+24
| | | | | * libio/Makefile (tests): Add tst-sscanf. * libio/tst-sscanf.c: New file.
* Update.Ulrich Drepper2001-08-222-4/+6
| | | | | * stdio-common/vfscanf.c: Fix handling of %l[]. Reported by Mitsuru Chinen <mchinen@yamato.ibm.com>.
* Fix typo.Ulrich Drepper2001-08-221-1/+1
| | | | non-empty string if != NULL.
* Update.Ulrich Drepper2001-08-223-6/+16
| | | | | | | | | 2001-08-22 Ulrich Drepper <drepper@redhat.com> * elf/dl-addr.c (_dl_addr): Fix tests to determine dli_sname. * malloc/mtrace.c (tr_where): dli_sname always points to a non-empty string is != NULL. Reported by Tim Janik <timj@gtk.org>.
* Update.Ulrich Drepper2001-08-229-69/+197
| | | | | | | | | | | | | | | | | | 2001-08-22 Jakub Jelinek <jakub@redhat.com> * sunrpc/xdr_rec.c (xdrrec_create): Fix buf sizes before allocating buf. Free resources on failure. * sunrpc/svc_unix.c (svcunix_create): Free resources on failure. (makefd_xprt): Likewise. * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise. * sunrpc/svc_tcp.c (svctcp_create, makefd_xprt): Likewise. * sunrpc/auth_unix.c (authunix_create): Likewise. 2001-08-21 Jakub Jelinek <jakub@redhat.com> * string/strnlen.c: Remove. * sysdeps/generic/strnlen.c: New. * sysdeps/i386/i486/bits/string.h (strnlen): Remove.
* (print_and_abort): Explain use of the string.Ulrich Drepper2001-08-221-1/+6
|
* * sysdeps/mach/i386/machine-sp.h (__thread_stack_pointer): Define thisRoland McGrath2001-08-212-12/+20
| | | | | | | | | | | | | | as a macro, not an extern inline function. * hurd/Versions (GLIBC_2.2.5): New set, define __hurd_fail here. * Versions.def (libc): Add GLIBC_2.2.5 set. * hurd/hurd.h (_HURD_H_EXTERN_INLINE): New macro. (__hurd_fail): Use that instead of _EXTERN_INLINE in decl. 2001-08-20 Roland McGrath <roland@frob.com> * hurd/hurdlookup.c (__hurd_file_name_lookup): Fail with ENOENT for "". (__hurd_file_name_split, __hurd_directory_name_split): Likewise.
* 2001-08-21 Roland McGrath <roland@frob.com>Roland McGrath2001-08-213-1/+10
| | | | | | | * hurd/Versions (GLIBC_2.2.5): New set, define __hurd_fail here. * Versions.def (libc): Add GLIBC_2.2.5 set. * hurd/hurd.h (_HURD_H_EXTERN_INLINE): New macro. (__hurd_fail): Use that instead of _EXTERN_INLINE in decl.
* Update.Ulrich Drepper2001-08-214-28/+50
| | | | | | | | | | | * string/bits/string2.h: Remove strnlen optimization here. * sysdeps/i386/i486/bits/string.h: Add it here. 2001-08-21 Wolfram Gloger <wg@malloc.de> * malloc/malloc.c: Make access to ..._hook pointers thread-safe. 2001-08-21 Ulrich Drepper <drepper@redhat.com>
* Update.Ulrich Drepper2001-08-212-703/+834
| | | | | | 2001-08-21 Ulrich Drepper <drepper@redhat.com> * po/gl.po: Update from translation team.
* Update.Ulrich Drepper2001-08-214-6/+11
| | | | | | | | | | 2001-08-20 Ulrich Drepper <drepper@redhat.com> * misc/error.c (error_tail): Use fputws_unlocked instead of fputws. * misc/err.c (convert_and_print): Likewise. * malloc/obstack.c (print_and_abort): Use fprintf instead of two function calls.
* Update.Ulrich Drepper2001-08-215-31/+63
| | | | | | | | | | | | | | 2001-08-20 Martin Schwidefsky <schwidefsky@de.ibm.com> * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Revert the change of the gregset_t type. * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise. 2001-08-20 kaz Kojima <kkojima@rr.iij4u.or.jp> * sysdeps/unix/sysv/linux/sh/sysdep.S: Align errno. * posix/regex.c (truncate_wchar): Use wcrtomb not wctomb.
* Update.Ulrich Drepper2001-08-211-0/+4
| | | | | | 2001-08-20 Ulrich Drepper <drepper@redhat.com> * string/strnlen.c: Fix the implementation. We cannot use memchr.
* Fix the implementation. We cannot use memchr.Ulrich Drepper2001-08-211-6/+19
|
* * sysdeps/mach/hurd/i386/init-first.c (init): Initialize __environ before ↵Mark Kettenis2001-08-202-3/+16
| | | | | | | | | calling the cthreads initialization code. 2001-08-18 Mark Kettenis <kettenis@gnu.org> * sysdeps/mach/hurd/i386/init-first.c (init): Initialize __environ before calling the cthreads initialization code.
* Update.Ulrich Drepper2001-08-203-723/+819
| | | | * argp/argp-help.c: Fix two problems introduced in last change.
* Update.Ulrich Drepper2001-08-203-8/+13
| | | | | | 2001-08-20 Ulrich Drepper <drepper@redhat.com> * include/dirent.h: Include <dirstream.h> first.
* Update.Ulrich Drepper2001-08-202-2/+4
| | | | * io/fts.c (fts_safe_changedir): Use __fxstat64 instead of __fstat.
* Update.Ulrich Drepper2001-08-2012-742/+950
| | | | | | | | | | | | | | | | | | | | 2001-08-19 Ulrich Drepper <drepper@redhat.com> * sunrpc/svcauth_des.c (_svcauth_des): Avoid using bcopy. * sunrpc/xdr_rec.c: Likewise. * sunrpc/xdr_mem.c: Likewise. * sunrpc/svc_authux.c (_svcauth_unix): Likewise. * sunrpc/rpc_cmsg.c: Likewise. * sunrpc/getrpcport.c (getrpcport): Likewise. * sunrpc/clnt_simp.c (callrpc): Likewise. * sunrpc/clnt_gen.c (clnt_create): Likewise. * string/envz.c: Likewise. * po/ko.po: Update from translation team. * argp/argp-help.c: Handle wide oriented stderr stream. * conform/conformtest.pl: <inttypes.h> test requires <stddef.h>.
* Update.Ulrich Drepper2001-08-192-10/+9
| | | | | * sysdeps/generic/strtol.c: Little optimizations. Add some __builtin_expect.
* Update.Ulrich Drepper2001-08-192-0/+3
| | | | * conform/conformtest.pl: <inttypes.h> test required <stddef.h>.
* Update.Ulrich Drepper2001-08-196-10/+17
| | | | | | | | | | * wcsmbs/wchar.h (wcwdith): Change parameter type to wchar_t. * wcsmbs/wcwidth.c (wcwdith): Likewise. * wcsmbs/wcwidth.h (internal_wcwdith): Likewise. * conform/data/unistd.h-data: Remove _SC_MULTIPLE_PROCESS. * conform/data/ucontext.h-data: Fix typos in ucontext_t element tests.
* Update.Ulrich Drepper2001-08-189-27/+63
| | | | | | | | | | | | | | | | | | | * time/time.h (struct timespec): Use __time_t for tv_sec element. * sysdeps/generic/inttypes.h: Define __wchar_t. Use it instead of wchar_t for function declarations and defintions. * misc/sys/select.h: Define __need_time_t before including <time.h>. Define suseconds_t if it hasn't happened yet. * iconv/gconv.h: Define __need_wchar_t before including <stddef.h>. * conform/data/sys/uio.h-data: Allow UIO_MAXIOV to be defined. * sysdeps/generic/stdint.h: Don't get definition of wchar_t from <stddef.h>. * conform/data/stddef.h-data: Remove wint_t.
* Update.Ulrich Drepper2001-08-185-18/+51
| | | | | | | | | | | 2001-08-18 Ulrich Drepper <drepper@redhat.com> * conform/conformtest.pl: Change namespace test to take #undef lines into account. * conform/data/netinet/in.h-data: Fix typo in allow-header line. * conform/data/sys/socket.h-data: Add sockatmark.