aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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.
2001-08-14Test of __strcasecmp_l.Ulrich Drepper1-0/+75
2001-08-14Update.Andreas Jaeger1-0/+6
2001-08-14 Andreas Jaeger <aj@suse.de> * sysdeps/ieee754/ldbl-128/w_expl.c: New file, copy from ldbl-96/w_expl.c with tweaked constants. Patch by Stephen L Moshier.
2001-08-14Copy from ldbl-96/w_expl.c with tweaked constantsAndreas Jaeger1-0/+58
2001-08-13Regenerated from source filesUlrich Drepper2-697/+782
2001-08-13Update.Ulrich Drepper2-1/+4
* malloc/memusage.c (me): Allow creating the output file.
2001-08-13Update.Ulrich Drepper2-2/+3
* sysdeps/unix/sysv/linux/Makefile: Remove -fkeep-inline-functions flag for init-first.
2001-08-13Update.Ulrich Drepper1-0/+4
2001-08-13 Ulrich Drepper <drepper@redhat.com> * po/fr.po: Update from translation team.
2001-08-13Update from translation team.Ulrich Drepper1-2/+2
2001-08-13Update.Andreas Jaeger1-0/+6
2001-08-13 Andreas Jaeger <aj@suse.de> * sysdeps/mips/machine-gmon.h (MCOUNT): Don't use delay slot for jal since it's a macro. Patch by Simon Gee <simong@oz.agile.tv>.
2001-08-13(MCOUNT): Don't use delay slot for jal since jal is a macro.Andreas Jaeger1-2/+3
2001-08-13Update.Ulrich Drepper9-4/+615
2001-08-12 Ulrich Drepper <drepper@redhat.com> * iconvdata/Makefile: Add rules to build ISO-IR-209 and MAC-SAMI. * iconvdata/iso-ir-209.c: New file. * iconvdata/mac-sami.c: New file. * iconvdata/gconv-modules: Add entries for ISO-IR-209 and MAC-SAMI. * iconvdata/tst-tables.sh: Likewise. * posix/getopt.c: Remove store_args_and_env which is not needed since USE_NONOPTION_FLAGS is undefined anyhow. Use __libc_argc and __libc_argv variables. Now returns pointer to first character after "LD_".
2001-08-13Remove store_args_and_env which is not needed is USE_NONOPTION_FLAGS is ↵Ulrich Drepper1-22/+9
undefined anyhow. Use __libc_argc and __libc_argv variables.
2001-08-13* sysdeps/mach/hurd/clock.c: New file.Roland McGrath5-22/+141
* sysdeps/mach/hurd/times.c: New file. * sysdeps/mach/hurd/getclktck.c (__getclktck): Always return 1000000. * sysdeps/mach/hurd/init-posix.c: New file.
2001-08-12* hurd/hurdlookup.c (__hurd_file_name_lookup): Comment fix.Roland McGrath3-74/+14
* sysdeps/mach/hurd/bits/time.h (CLOCK_PROCESS_CPUTIME_ID, CLOCK_THREAD_CPUTIME_ID): New macros. * sysdeps/mach/hurd/i386/bits/time.h: File removed.
2001-08-122001-08-12 Roland McGrath <roland@frob.com>Roland McGrath1-1/+1
* hurd/hurdlookup.c (__hurd_file_name_lookup): Comment fix.
2001-08-12(Working Directory): Don't use TAB in example.Ulrich Drepper1-1/+1
2001-08-12Fix typos and wording.Ulrich Drepper1-8/+9
2001-08-11* posix/getopt.c (nonoption_flags_max_len, nonoption_flags_len):Roland McGrath1-0/+5
Make these defns conditional on [USE_NONOPTION_FLAGS].
2001-08-11Update.Ulrich Drepper8-5/+37
* sysdeps/arm/init-first.c: Likewise. * sysdeps/generic/init-first.c: Likewise. * sysdeps/i386/init-first.c: Likewise. * sysdeps/sh/init-first.c: Likewise.
2001-08-11(_dl_map_object_from_fd): Use correct symbolic constant in mprotect call.Ulrich Drepper1-1/+1
2001-08-112001-08-11 Roland McGrath <roland@frob.com>Roland McGrath1-1/+1
* posix/getopt.c (nonoption_flags_max_len, nonoption_flags_len): Make these defns conditional on [USE_NONOPTION_FLAGS].
2001-08-11Update.Ulrich Drepper3-6/+26
2001-08-11 Ulrich Drepper <drepper@redhat.com> * config.h.in: Add #undef line for USE_NONOPTION_FLAGS. * posix/getopt_init.c: Produce code only if USE_NONOPTION_FLAGS is defined. * posix/getopt.c: Use __getopt_nonoption_flags only if USE_NONOPTION_FLAGS is defined. * sysdeps/mach/hurd/i386/init-first.c: Use __getopt_clean_environment only if USE_NONOPTION_FLAGS is defined. * sysdeps/mach/hurd/mips/init-first.c: Likewise. * sysdeps/unix/sysv/linux/init-first.c: Likewise.
2001-08-11Add #undef line for USE_NONOPTION_FLAGS.Ulrich Drepper1-0/+6
2001-08-11j0 implementation for 128-bit long doubles.Andreas Jaeger1-0/+908
2001-08-11Update.Andreas Jaeger2-1/+6
2001-08-11 Andreas Jaeger <aj@suse.de> * sysdeps/ieee754/ldbl-128/e_j0l.c: New file. Contributed by Stephen L Moshier <moshier@mediaone.net>.
2001-08-11Update.Ulrich Drepper3-33/+10
* assert/assert.c (set_progname): Removed. (__assert_fail): Use __progname instead of __assert_program_name. * assert/assert-perr.c (__assert_perror_fail): Likewise.
2001-08-11Update.Ulrich Drepper8-52/+167
2001-08-11 Ulrich Drepper <drepper@redhat.com> * malloc/malloc.c (ptmalloc_init): Don't call getenv five times. Instead use new function next_env_entry which iterates over the environment once. * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Only set _dl_profile_map for the right object. * elf/dl-reloc.c (_dl_relocate_object): Allocate l_reloc_result only if consider_profiling is != 0, not if _dl_profile != NULL. * sysdeps/generic/dl-environ.c (_dl_next_ld_env_entry): Optimize a bit. Now returns pointer to first character set "LD_". * elf/rtld.c (process_envvars): Adjust for change above. * sysdeps/unix/sysv/linux/dl-librecon.h (EXTRA_LD_ENVVARS): Likewise. * sysdeps/unix/sysv/linux/i386/dl-librecon.h (EXTRA_LD_ENVVARS): Likewise. 2001-08-10 Wolfram Gloger <wg@malloc.de> * malloc/malloc.c (grow_heap): Use mmap() rather than mprotect() to allocate new memory, for better performance with Linux-2.4.x.
2001-08-11Update.Ulrich Drepper2-4/+10
* posix/getopt_init.c (__getopt_clean_environment): Avoid making the strncmp calls most of the time by testing for '_' as the first character of the name.
2001-08-11Update.Ulrich Drepper14-70/+48
* libio/iovdprintf.c (_IO_vdprintf): Set _IO_USER_LOCK flag for temporary stream. Don't define lock. * libio/iovsprintf.c: Likewise. * libio/iovsnprintf.c: Likewise. * libio/iovswprintf.c: Likewise. * libio/iovsscanf.c: Likewise. * libio/iovswscanf.c: Likewise. * stdio-common/vfprintf.c [USE_IN_LIBIO] (buffered_vfprintf): Likewise. * libio/genops.c (_IO_no_init): Don't call _IO_lock_init if _lock is NULL. (_IO_default_finish): Likewise. * libio/wgenops.c (_IO_wdefault_finish): Likewise.
2001-08-11Update.Ulrich Drepper3-36/+38
* elf/dl-open.c (add_to_global): Remove stale comment. * elf/dl-load.c (fillin_rpath): In SUID binaries, don't mark non-system-dirs in LD_LIBRARY_PATH as nonexisting, simply drop them.
2001-08-10Update.Ulrich Drepper1-0/+9
2001-08-10 Ulrich Drepper <drepper@redhat.com> * libio/iovdprintf.c (_IO_vdprintf): Call __fsetlocking for temporary stream. * libio/obprintf.c (_IO_obstack_vprintf): Likewise. * libio/strops.c (_IO_str_init_static): Likewise. * libio/vasprintf.c (_IO_vasprintf): Likewise. * libio/wstrops.c (_IO_wstr_init_static): Likewise.
2001-08-10Call __fsetlocking for temporary stream.Ulrich Drepper5-4/+28
2001-08-10Update.Andreas Jaeger1-0/+4
2001-08-10 Andreas Jaeger <aj@suse.de> * stdio-common/stdio_ext.h: Fix typo.
2001-08-10Fix typo in comment.Andreas Jaeger1-2/+2
2001-08-10Update.Ulrich Drepper6-30/+109
* posix/fnmatch_loop.c: Fix computation of alignment. 2001-08-09 Isamu Hasegawa <isamu@yamato.ibm.com> * posix/regex.c (wcs_regex_compile): Use appropriate string to compare with collating element. Fix the padding for the alignment. 2001-08-09 Isamu Hasegawa <isamu@yamato.ibm.com> * locale/programs/ld-collate.c (collate_output): Exclude characters from elem_table. Reduce if clause to write collating elements correctly. * posix/Makefile (tests): Add bug-regex5. * posix/bug-regex5.c: New file. 2001-08-09 Ulrich Drepper <drepper@redhat.com>
2001-08-10Update.Ulrich Drepper4-43/+94
* locale/lc-time.c (_nl_parse_alt_digit): New function. * locale/localeinfo.h: Add prototype for it. * time/strptime.c (get_alt_number): Use _nl_parse_alt_digit to get the value. Correct computation of hour for %OI. If no %EC given but %Ey use numeric formular.