aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2001-08-222001-04-23 Paul Eggert <eggert@twinsun.com>Roland McGrath4-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-222001-08-21 Roland McGrath <roland@frob.com>Roland McGrath1-1/+2
* stdio-common/tst-fseek.c: Include <time.h> for `time' declaration.
2001-08-22Update.Ulrich Drepper2-702/+786
* po/sv.po: Update from translation team.
2001-08-22Update.Ulrich Drepper3-1/+24
* libio/Makefile (tests): Add tst-sscanf. * libio/tst-sscanf.c: New file.
2001-08-22Update.Ulrich Drepper2-4/+6
* stdio-common/vfscanf.c: Fix handling of %l[]. Reported by Mitsuru Chinen <mchinen@yamato.ibm.com>.
2001-08-22Fix typo.Ulrich Drepper1-1/+1
non-empty string if != NULL.
2001-08-22Update.Ulrich Drepper3-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>.
2001-08-22Update.Ulrich Drepper9-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.
2001-08-22(print_and_abort): Explain use of the string.Ulrich Drepper1-1/+6
2001-08-21* sysdeps/mach/i386/machine-sp.h (__thread_stack_pointer): Define thisRoland McGrath2-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-212001-08-21 Roland McGrath <roland@frob.com>Roland McGrath3-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.
2001-08-21Update.Ulrich Drepper4-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>
2001-08-21Update.Ulrich Drepper2-703/+834
2001-08-21 Ulrich Drepper <drepper@redhat.com> * po/gl.po: Update from translation team.
2001-08-21Update.Ulrich Drepper4-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.
2001-08-21Update.Ulrich Drepper5-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.
2001-08-21Update.Ulrich Drepper1-0/+4
2001-08-20 Ulrich Drepper <drepper@redhat.com> * string/strnlen.c: Fix the implementation. We cannot use memchr.
2001-08-21Fix the implementation. We cannot use memchr.Ulrich Drepper1-6/+19
2001-08-20* sysdeps/mach/hurd/i386/init-first.c (init): Initialize __environ before ↵Mark Kettenis2-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.
2001-08-20Update.Ulrich Drepper3-723/+819
* argp/argp-help.c: Fix two problems introduced in last change.
2001-08-20Update.Ulrich Drepper3-8/+13
2001-08-20 Ulrich Drepper <drepper@redhat.com> * include/dirent.h: Include <dirstream.h> first.
2001-08-20Update.Ulrich Drepper2-2/+4
* io/fts.c (fts_safe_changedir): Use __fxstat64 instead of __fstat.
2001-08-20Update.Ulrich Drepper12-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>.
2001-08-19Update.Ulrich Drepper2-10/+9
* sysdeps/generic/strtol.c: Little optimizations. Add some __builtin_expect.
2001-08-19Update.Ulrich Drepper2-0/+3
* conform/conformtest.pl: <inttypes.h> test required <stddef.h>.
2001-08-19Update.Ulrich Drepper6-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.
2001-08-18Update.Ulrich Drepper9-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.
2001-08-18Update.Ulrich Drepper5-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.
2001-08-18Update.Ulrich Drepper1-0/+4
2001-08-17 Ulrich Drepper <drepper@redhat.com> * io/fts.c: Update from recent BSD source.
2001-08-18Update from recent BSD source.Ulrich Drepper1-115/+201
2001-08-18* stdio-common/perror.c (perror) [! USE_IN_LIBIO]: Don't use _IO_fwide.Roland McGrath1-0/+6
* misc/error.c (error_tail, error, error_at_line) [! USE_IN_LIBIO]: Likewise.
2001-08-182001-08-17 Roland McGrath <roland@frob.com>Roland McGrath2-6/+11
* stdio-common/perror.c (perror) [! USE_IN_LIBIO]: Don't use _IO_fwide. * misc/error.c (error_tail, error, error_at_line) [! USE_IN_LIBIO]: Likewise.
2001-08-18Update.Ulrich Drepper5-2/+80
* locale/duplocale.c (__duplocale): Also initialize the special __ctype_* elements.
2001-08-18Update.Ulrich Drepper3-113/+187
2001-08-17 Ulrich Drepper <drepper@redhat.com> * conform/data/netdb.h-data: Adjust gai_strerror return type. * misc/getpass.c: Include wchar.h for prototypes. * malloc/obstack.c: Likewise.
2001-08-17Use __wcsoll only if _LIBC.Ulrich Drepper1-0/+4
2001-08-17Update.Andreas Jaeger1-0/+5
2001-08-17 Andreas Jaeger <aj@suse.de> * misc/getpass.c: Include wchar.h for prototypes. * malloc/obstack.c: Likewise.
2001-08-17Include wchar.h for prototypes.Andreas Jaeger2-0/+4
2001-08-17Include <wchar.h>.Ulrich Drepper1-1/+5
2001-08-17Update.Ulrich Drepper20-63/+148
2001-08-17 Ulrich Drepper <drepper@redhat.com> * sunrpc/svc_simple.c (universal): Use __write instead of write. * wcsmbs/wcscoll.c: Also define __wcscoll. * include/wchar.h: Declare __wcscoll. * libio/fwprintf.c: Use __vfwprintf instead of vfwprintf. * libio/vwprintf.c: Likewise. * libio/wprintf.c: Likewise. * iconv/gconv_cache.c: Use __munmap instead of munmap. * posix/regex.c [_LIBC] (convert_mbs_to_wcs): Use __mbrtowc instead of mbrtowc. [_LIBC]: Use __iswctype instead of iswctype, __wcslen instead of wcslen, and __wcscoll instead of wcscoll. * sysdeps/unix/sockatmark.c (sockatmark): Use __ioctl instead of ioctl. * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue): Use __getuid instead of getuid. * stdio-common/perror.c (perror): Use __close instead of close. * iconv/gconv_cache.c (__gconv_load_cache): Likewise. * libio/freopen.c (freopen): Likewise. * libio/freopen64.c (freopen64): Likewise.
2001-08-17Update.Ulrich Drepper33-279/+958
* libio/tst-ungetwc2.c (main): Define str const. * include/wchar.h: Add prototypes for __fwprintf and __vfwprintf. * libio/fwprintf.c: Also define __fwprintf. * stdio-common/vfprintf.c [COMPILE_WPRINTF]: Also define __vfwprintf. * argp/argp-fmtstream.c: Handle wide oriented stderr stream. * assert/assert-perr.c: Likewise. * assert/assert.c: Likewise. * gmon/gmon.c: Likewise. * inet/rcmd.c: Likewise. * malloc/obstack.c: Likewise. * misc/err.c: Likewise. * misc/error.c: Likewise. * misc/getpass.c: Likewise. * posix/getopt.c: Likewise. * resolv/res_hconf.c: Likewise. * stdio-common/perror.c: Likewise. * stdio-common/psignal.c: Likewise. * stdlib/fmtmsg.c: Likewise. * sunrpc/auth_unix.c: Likewise. * sunrpc/clnt_perr.c: Likewise. * sunrpc/clnt_tcp.c: Likewise. * sunrpc/clnt_udp.c: Likewise. * sunrpc/clnt_unix.c: Likewise. * sunrpc/svc_simple.c: Likewise. * sunrpc/svc_tcp.c: Likewise. * sunrpc/svc_udp.c: Likewise. * sunrpc/svc_unix.c: Likewise. * sunrpc/xdr.c: Likewise. * sunrpc/xdr_array.c: Likewise. * sunrpc/xdr_rec.c: Likewise. * sunrpc/xdr_ref.c: Likewise. * sysdeps/generic/wordexp.c: Likewise. * misc/err.c: Handle wide oriented stderr stream.
2001-08-16Update.Ulrich Drepper2-3709/+1041
* po/it.po: Update from translation team.
2001-08-16Update.Ulrich Drepper3-18/+329
2001-08-16 Ulrich Drepper <drepper@redhat.com> * misc/err.c: Handle wide oriented stderr.
2001-08-16Update.Ulrich Drepper14-40/+10203
2001-08-14 Tom Rix <trix@redhat.com> * iconv/gconv_cache.c (find_module): Add #ifndef STATIC_GCONV. * iconv/Makefile: Fix gconv_cache.c CFLAGS. 2001-08-13 Tom Rix <trix@redhat.com> * sysdeps/unix/sysv/aix/Makefile: Add rule to import kernel symbols. * sysdeps/unix/sysv/aix/bits/types.h: Fix type of __id_t, __useconds_t and __intptr_t. 2001-08-15 Martin Schwidefsky <schwidefsky@de.ibm.com> * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S (__getcontext): Store the access registers to the ucontext structure. * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S (__getcontext): Likewise. * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S (__setcontext): Load the access registers from the ucontext structure. * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S (__setcontext): Likewise. * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.h: Adjust the SC_xxx offsets to the new ucontext layout. * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.h: Likewise. * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Fix the layout of the ucontext structure. * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
2001-08-16Update.Ulrich Drepper5-10135/+338
* misc/error.c (error): Handle wide oriented stderr stream correctly. * stdio-common/perror.c (perror): Implement according to standard. The stream orientation must not be changed if the stream was not oriented before the call. * stdio-common/Makefile (tests): Add tst-perror. * stdio-common/tst-perror.c: New file. See ChangeLog.12 for earlier changes.
2001-08-15Update.glibc-2.2.4cvs/glibc-2_2_4Ulrich Drepper1-0/+5
2001-08-15 Ulrich Drepper <drepper@redhat.com> * libio/iofwide.c (_IO_fwide): Don't reset file position to beginning of file, really get current position.
2001-08-15(_IO_fwide): Don't reset file position to beginning of file, really get ↵Ulrich Drepper1-1/+1
current position.
2001-08-15* sysdeps/m68k/m68020/atomicity.h (atomic_add): Don't allowAndreas Schwab1-0/+5
address register for operand 0.
2001-08-15(atomic_add): Don't allow address register for operand 0.Andreas Schwab1-1/+1
2001-08-15Update.Ulrich Drepper3-3/+12
2001-08-14 Ulrich Drepper <drepper@redhat.com> * stdio-common/perror.c (perror): Use _IO_fwide instead of fwide. * libio/libio.h (_IO_fwide): Handle zero as second parameter more efficiently in macro.
2001-08-14Update.Ulrich Drepper17-52/+198
2001-08-14 Jakub Jelinek <jakub@redhat.com> * resolv/nss_dns/dns-host.c (RESOLVSORT): Define. (addrsort): New function. * resolv/gethnamaddr.c (RESOLVSORT): Define. 2001-08-14 Jakub Jelinek <jakub@redhat.com> * string/strsignal.c (free_mem): Remove. 2001-08-14 Andreas Jaeger <aj@suse.de> * inet/inet_ntoa.c (free_mem): Remove, it's not used anymore. Closes PR libc/2477, reported by Dylan Alex Simon <dylan@dylex.caltech.edu>. 2001-08-14 Ulrich Drepper <drepper@redhat.com> * locale/Makefile (aux): Add xlocale. * locale/xlocale.c: New file. * include/locale.c (_nl_C_locobj): Declare. * iconv/gconv_charset.h: Use __tolower_l, __isdigit_l, __isspace_l with _nl_C_locobj instead of tolower, isdigit, isspace. * iconv/gconv_conf.c: Likewise. * iconv/gconv_int.h: Likewise. * iconv/gconv_open.c: Likewise. * locale/newlocale.c: Minor cleanups.
2001-08-14Update.Ulrich Drepper3-2/+13
2001-08-14 Ulrich Drepper <drepper@redhat.com> * Makefile: Add rules to build and run tst-xlocale1. * tst-xlocale1.c: New file. * bug-iconv-trans.c: Improve error messages.