Ulrich Drepper [Mon, 20 Aug 2001 07:17:10 +0000 (07:17 +0000)]
Update.
2001-08-20 Ulrich Drepper <drepper@redhat.com>
* include/dirent.h: Include <dirstream.h> first.
Ulrich Drepper [Mon, 20 Aug 2001 06:59:59 +0000 (06:59 +0000)]
Update.
* io/fts.c (fts_safe_changedir): Use __fxstat64 instead of __fstat.
Ulrich Drepper [Mon, 20 Aug 2001 06:37:56 +0000 (06:37 +0000)]
Update.
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>.
Ulrich Drepper [Sun, 19 Aug 2001 03:52:42 +0000 (03:52 +0000)]
Update.
* sysdeps/generic/strtol.c: Little optimizations. Add some
__builtin_expect.
Ulrich Drepper [Sun, 19 Aug 2001 01:33:45 +0000 (01:33 +0000)]
Update.
* conform/conformtest.pl: <inttypes.h> test required <stddef.h>.
Ulrich Drepper [Sun, 19 Aug 2001 01:09:06 +0000 (01:09 +0000)]
Update.
* 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.
Ulrich Drepper [Sat, 18 Aug 2001 23:36:58 +0000 (23:36 +0000)]
Update.
* 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.
Ulrich Drepper [Sat, 18 Aug 2001 11:55:52 +0000 (11:55 +0000)]
Update.
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.
Ulrich Drepper [Sat, 18 Aug 2001 06:22:52 +0000 (06:22 +0000)]
Update.
2001-08-17 Ulrich Drepper <drepper@redhat.com>
* io/fts.c: Update from recent BSD source.
Ulrich Drepper [Sat, 18 Aug 2001 06:22:09 +0000 (06:22 +0000)]
Update from recent BSD source.
Roland McGrath [Sat, 18 Aug 2001 02:49:46 +0000 (02:49 +0000)]
* 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.
Roland McGrath [Sat, 18 Aug 2001 02:49:41 +0000 (02:49 +0000)]
2001-08-17 Roland McGrath <roland@frob.com>
* 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.
Ulrich Drepper [Sat, 18 Aug 2001 02:46:36 +0000 (02:46 +0000)]
Update.
* locale/duplocale.c (__duplocale): Also initialize the special
__ctype_* elements.
Ulrich Drepper [Sat, 18 Aug 2001 00:46:40 +0000 (00:46 +0000)]
Update.
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.
Ulrich Drepper [Fri, 17 Aug 2001 18:15:15 +0000 (18:15 +0000)]
Use __wcsoll only if _LIBC.
Andreas Jaeger [Fri, 17 Aug 2001 14:14:31 +0000 (14:14 +0000)]
Update.
2001-08-17 Andreas Jaeger <aj@suse.de>
* misc/getpass.c: Include wchar.h for prototypes.
* malloc/obstack.c: Likewise.
Andreas Jaeger [Fri, 17 Aug 2001 14:14:10 +0000 (14:14 +0000)]
Include wchar.h for prototypes.
Ulrich Drepper [Fri, 17 Aug 2001 07:57:23 +0000 (07:57 +0000)]
Include <wchar.h>.
Ulrich Drepper [Fri, 17 Aug 2001 07:51:36 +0000 (07:51 +0000)]
Update.
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.
Ulrich Drepper [Fri, 17 Aug 2001 04:49:12 +0000 (04:49 +0000)]
Update.
* 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.
Ulrich Drepper [Thu, 16 Aug 2001 23:31:06 +0000 (23:31 +0000)]
Update.
* po/it.po: Update from translation team.
Ulrich Drepper [Thu, 16 Aug 2001 17:51:43 +0000 (17:51 +0000)]
Update.
2001-08-16 Ulrich Drepper <drepper@redhat.com>
* misc/err.c: Handle wide oriented stderr.
Ulrich Drepper [Thu, 16 Aug 2001 05:39:18 +0000 (05:39 +0000)]
Update.
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.
Ulrich Drepper [Thu, 16 Aug 2001 05:23:52 +0000 (05:23 +0000)]
Update.
* 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.
Ulrich Drepper [Wed, 15 Aug 2001 18:41:44 +0000 (18:41 +0000)]
Update.
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.
Ulrich Drepper [Wed, 15 Aug 2001 18:40:16 +0000 (18:40 +0000)]
(_IO_fwide): Don't reset file position to beginning of file, really get current position.
Andreas Schwab [Wed, 15 Aug 2001 13:09:32 +0000 (13:09 +0000)]
* sysdeps/m68k/m68020/atomicity.h (atomic_add): Don't allow
address register for operand 0.
Andreas Schwab [Wed, 15 Aug 2001 13:09:16 +0000 (13:09 +0000)]
(atomic_add): Don't allow address register for operand 0.
Ulrich Drepper [Wed, 15 Aug 2001 06:23:11 +0000 (06:23 +0000)]
Update.
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.
Ulrich Drepper [Tue, 14 Aug 2001 23:29:55 +0000 (23:29 +0000)]
Update.
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.
Ulrich Drepper [Tue, 14 Aug 2001 22:29:43 +0000 (22:29 +0000)]
Update.
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.
Ulrich Drepper [Tue, 14 Aug 2001 22:25:47 +0000 (22:25 +0000)]
Test of __strcasecmp_l.
Andreas Jaeger [Tue, 14 Aug 2001 07:06:51 +0000 (07:06 +0000)]
Update.
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.
Andreas Jaeger [Tue, 14 Aug 2001 07:06:41 +0000 (07:06 +0000)]
Copy from ldbl-96/w_expl.c with tweaked constants
Ulrich Drepper [Mon, 13 Aug 2001 22:08:56 +0000 (22:08 +0000)]
Regenerated from source files
Ulrich Drepper [Mon, 13 Aug 2001 21:54:43 +0000 (21:54 +0000)]
Update.
* malloc/memusage.c (me): Allow creating the output file.
Ulrich Drepper [Mon, 13 Aug 2001 17:45:00 +0000 (17:45 +0000)]
Update.
* sysdeps/unix/sysv/linux/Makefile: Remove -fkeep-inline-functions
flag for init-first.
Ulrich Drepper [Mon, 13 Aug 2001 16:36:10 +0000 (16:36 +0000)]
Update.
2001-08-13 Ulrich Drepper <drepper@redhat.com>
* po/fr.po: Update from translation team.
Ulrich Drepper [Mon, 13 Aug 2001 16:34:06 +0000 (16:34 +0000)]
Update from translation team.
Andreas Jaeger [Mon, 13 Aug 2001 08:43:34 +0000 (08:43 +0000)]
Update.
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>.
Andreas Jaeger [Mon, 13 Aug 2001 08:42:44 +0000 (08:42 +0000)]
(MCOUNT): Don't use delay slot for jal since jal is a macro.
Ulrich Drepper [Mon, 13 Aug 2001 06:27:35 +0000 (06:27 +0000)]
Update.
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_".
Ulrich Drepper [Mon, 13 Aug 2001 05:22:43 +0000 (05:22 +0000)]
Remove store_args_and_env which is not needed is USE_NONOPTION_FLAGS is undefined anyhow. Use __libc_argc and __libc_argv variables.
Roland McGrath [Mon, 13 Aug 2001 02:05:11 +0000 (02:05 +0000)]
* sysdeps/mach/hurd/clock.c: New file.
* sysdeps/mach/hurd/times.c: New file.
* sysdeps/mach/hurd/getclktck.c (__getclktck): Always return 1000000.
* sysdeps/mach/hurd/init-posix.c: New file.
Roland McGrath [Sun, 12 Aug 2001 22:02:53 +0000 (22:02 +0000)]
* hurd/hurdlookup.c (__hurd_file_name_lookup): Comment fix.
* 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.
Roland McGrath [Sun, 12 Aug 2001 22:02:11 +0000 (22:02 +0000)]
2001-08-12 Roland McGrath <roland@frob.com>
* hurd/hurdlookup.c (__hurd_file_name_lookup): Comment fix.
Ulrich Drepper [Sun, 12 Aug 2001 19:15:49 +0000 (19:15 +0000)]
(Working Directory): Don't use TAB in example.
Ulrich Drepper [Sun, 12 Aug 2001 16:44:22 +0000 (16:44 +0000)]
Fix typos and wording.
Roland McGrath [Sat, 11 Aug 2001 21:18:42 +0000 (21:18 +0000)]
* posix/getopt.c (nonoption_flags_max_len, nonoption_flags_len):
Make these defns conditional on [USE_NONOPTION_FLAGS].
Ulrich Drepper [Sat, 11 Aug 2001 20:40:40 +0000 (20:40 +0000)]
Update.
* sysdeps/arm/init-first.c: Likewise.
* sysdeps/generic/init-first.c: Likewise.
* sysdeps/i386/init-first.c: Likewise.
* sysdeps/sh/init-first.c: Likewise.
Ulrich Drepper [Sat, 11 Aug 2001 20:27:50 +0000 (20:27 +0000)]
(_dl_map_object_from_fd): Use correct symbolic constant in mprotect call.
Roland McGrath [Sat, 11 Aug 2001 20:18:41 +0000 (20:18 +0000)]
2001-08-11 Roland McGrath <roland@frob.com>
* posix/getopt.c (nonoption_flags_max_len, nonoption_flags_len):
Make these defns conditional on [USE_NONOPTION_FLAGS].
Ulrich Drepper [Sat, 11 Aug 2001 19:43:52 +0000 (19:43 +0000)]
Update.
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.
Ulrich Drepper [Sat, 11 Aug 2001 19:41:01 +0000 (19:41 +0000)]
Add #undef line for USE_NONOPTION_FLAGS.
Andreas Jaeger [Sat, 11 Aug 2001 16:57:23 +0000 (16:57 +0000)]
j0 implementation for 128-bit long doubles.
Andreas Jaeger [Sat, 11 Aug 2001 16:57:22 +0000 (16:57 +0000)]
Update.
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>.
Ulrich Drepper [Sat, 11 Aug 2001 09:25:47 +0000 (09:25 +0000)]
Update.
* assert/assert.c (set_progname): Removed.
(__assert_fail): Use __progname instead of __assert_program_name.
* assert/assert-perr.c (__assert_perror_fail): Likewise.
Ulrich Drepper [Sat, 11 Aug 2001 08:57:41 +0000 (08:57 +0000)]
Update.
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.
Ulrich Drepper [Sat, 11 Aug 2001 05:32:47 +0000 (05:32 +0000)]
Update.
* 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.
Ulrich Drepper [Sat, 11 Aug 2001 05:19:24 +0000 (05:19 +0000)]
Update.
* 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.
Ulrich Drepper [Sat, 11 Aug 2001 02:42:19 +0000 (02:42 +0000)]
Update.
* 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.
Ulrich Drepper [Fri, 10 Aug 2001 21:41:30 +0000 (21:41 +0000)]
Update.
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.
Ulrich Drepper [Fri, 10 Aug 2001 21:40:18 +0000 (21:40 +0000)]
Call __fsetlocking for temporary stream.
Andreas Jaeger [Fri, 10 Aug 2001 19:36:01 +0000 (19:36 +0000)]
Update.
2001-08-10 Andreas Jaeger <aj@suse.de>
* stdio-common/stdio_ext.h: Fix typo.
Andreas Jaeger [Fri, 10 Aug 2001 19:35:27 +0000 (19:35 +0000)]
Fix typo in comment.
Ulrich Drepper [Fri, 10 Aug 2001 05:59:19 +0000 (05:59 +0000)]
Update.
* 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>
Ulrich Drepper [Fri, 10 Aug 2001 02:09:02 +0000 (02:09 +0000)]
Update.
* 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.
Ulrich Drepper [Fri, 10 Aug 2001 00:14:35 +0000 (00:14 +0000)]
Update.
* dlfcn/Makefile (tststatic-ENV): Also add $(common-objpfx)elf for
ld.so.
Ulrich Drepper [Fri, 10 Aug 2001 00:01:27 +0000 (00:01 +0000)]
Update.
2001-08-09 Ulrich Drepper <drepper@redhat.com>
* time/tst-strptime.c: Add tests in different locales.
* time/Makefile (tst-strptime-ENV): Define.
Ulrich Drepper [Thu, 9 Aug 2001 22:37:19 +0000 (22:37 +0000)]
Update.
2001-08-09 Jakub Jelinek <jakub@redhat.com>
* catgets/catgets.c (catclose): Be liberal about catalog_desc in
catclose too.
* time/tst-strptime.c: Add test case for %U and %W handling.
Ulrich Drepper [Thu, 9 Aug 2001 22:33:28 +0000 (22:33 +0000)]
Update.
* time/strptime.c (strptime_internal): Add handling of year +
%U/%W week + week day.
Ulrich Drepper [Thu, 9 Aug 2001 20:23:16 +0000 (20:23 +0000)]
Update.
* stdio-common/vfscanf.c: Fix reading of wide chars and strings if
not COMPILE_WSCANF.
Ulrich Drepper [Thu, 9 Aug 2001 19:49:54 +0000 (19:49 +0000)]
Update.
* libio/vswprintf.c (_IO_vswprintf): Fix return value handling
which is different from snprintf.
* libio/tst_swprintf.c: Add tests for too small output buffer.
Ulrich Drepper [Thu, 9 Aug 2001 19:10:37 +0000 (19:10 +0000)]
Update.
2001-08-09 Ulrich Drepper <drepper@redhat.com>
* stdio-common/vfscanf.c: Fix handling of %[] for COMPILE_WSCANF.
* libio/Makefile (tests): Add tst-swscanf.
* libio/tst-swscanf.c: New file.
Ulrich Drepper [Thu, 9 Aug 2001 17:44:22 +0000 (17:44 +0000)]
Update.
2001-08-09 Jakub Jelinek <jakub@redhat.com>
* posix/globtest.sh: Robustify tilde tests.
Ulrich Drepper [Thu, 9 Aug 2001 17:40:23 +0000 (17:40 +0000)]
Robustify tilde tests.
Andreas Jaeger [Thu, 9 Aug 2001 17:15:56 +0000 (17:15 +0000)]
Revert last patch, Ulrich will fix the failing script to use de_DE.UTF-8.
Andreas Jaeger [Thu, 9 Aug 2001 17:04:08 +0000 (17:04 +0000)]
Update.
* locale/programs/ld-ctype.c (DEFAULT): Fix expression.
(EMPTY): New.
(wctype_table_finalize): Use it.
(find_idx): Likewise.
(wctype_table_get): Likewise.
Andreas Jaeger [Thu, 9 Aug 2001 17:03:54 +0000 (17:03 +0000)]
* locale/programs/ld-ctype.c (DEFAULT): Fix expression.
(EMPTY): New.
(wctype_table_finalize): Use it.
(find_idx): Likewise.
(wctype_table_get): Likewise.
Ulrich Drepper [Thu, 9 Aug 2001 16:37:41 +0000 (16:37 +0000)]
Use de_DE.UTF-8 locale.
Andreas Jaeger [Thu, 9 Aug 2001 13:08:08 +0000 (13:08 +0000)]
(LOCALES): Generate en_US.UTF-8 locale.
2001-08-09 Andreas Jaeger <aj@suse.de>
* Makefile (LOCALES): Generate en_US.UTF-8 locale.
Andreas Jaeger [Thu, 9 Aug 2001 10:51:51 +0000 (10:51 +0000)]
* configure.in: Add check for GCC 3.x.
2001-08-09 Andreas Jaeger <aj@suse.de>
* configure.in: Add check for GCC 3.x.
Ulrich Drepper [Thu, 9 Aug 2001 08:50:50 +0000 (08:50 +0000)]
Update.
2001-08-09 Ulrich Drepper <drepper@redhat.com>
* libio/wfileops.c (_IO_wfile_seekoff): Don't even try to handle
seeking with backup buffer present.
Correct determining of internal buffer position.
Reset also wide buffers if we reset the internal buffers.
* libio/iofwide.c (_IO_fwide): Always determine file offset for wide
streams.
* libio/ioseekoff.c: Catch one unimplemented case.
* libio/ftello.c: Don't abort if the wide stream has backup buffer.
* libio/ftello64.c: Likewise.
* libio/iofgetpos.c: Likewise.
* libio/iofgetpos64.c: Likewise.
* libio/ftell.c: Likewise.
* libio/Makefile (tests): Add tst-ungetwc2.
* libio/tst-ungetwc2.c: New file.
Ulrich Drepper [Thu, 9 Aug 2001 05:21:51 +0000 (05:21 +0000)]
Update.
* locale/elem-hash.h (elem_hash): Correct stupid mistake and
create real hash values now.
Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
* libio/iofgetpos.c (_IO_new_fgetpos): Correct a few problems in
the handling of wide streams.
Ulrich Drepper [Thu, 9 Aug 2001 02:01:10 +0000 (02:01 +0000)]
Update.
* libio/ioungetwc.c (ungetwc): Orient stream first.
* libio/Makefile (tests): Add tst-ungetwc1.
* libio/tst-ungetwc1.c: New file.
Ulrich Drepper [Thu, 9 Aug 2001 00:11:12 +0000 (00:11 +0000)]
update.
* libio/wfileops.c (_IO_wfile_underflow): Remove incorrect test
for possible conversion using __codecvt_do_in.
* libio/Makefile (tests): Add tst-fgetws.
* libio/tst-fgetws.c: New file.
* libio/iofgetws.c: Use _IO_ferror_unlocked macros instead of
coding the test here.
Ulrich Drepper [Wed, 8 Aug 2001 21:25:01 +0000 (21:25 +0000)]
Update.
* catgets/open_catalog.c: Rewrite code to assume that the function
is called at catopen time and not delayed in catgets.
* catgets/catgets.c (catopen): Call __open_catalog and fail if that
function failed.
(catgets): Remove code for delayed opening of catalog.
* catgets/catgetsinfo.h: Remove now unnecessary information from
struct catalog_info. Change __open_catalog prototype.
* catgets/gencat.c: Adjust __open_catalog call.
* catgets/test-gencat.c: Stop program if catopen failed.
Ulrich Drepper [Wed, 8 Aug 2001 18:52:29 +0000 (18:52 +0000)]
Update.
for CRNCYSTR.
* locale/programs/ld-monetary.c (monetary_finish): Likewise.
functionality.
call me(). If in the middle of initializing, return NULL or
* manual/locale.texi: Add documentation for rpmatch.
Ulrich Drepper [Wed, 8 Aug 2001 18:37:55 +0000 (18:37 +0000)]
Update.
* locale/C-monetary.c (_nl_C_LC_MONETARY): Provide correct value
of CRNCYSTR.
Ulrich Drepper [Wed, 8 Aug 2001 18:17:51 +0000 (18:17 +0000)]
Update.
2001-08-08 Ulrich Drepper <drepper@redhat.com>
* locale/programs/ld-messages.c (messages_finish): Provide POSIX
locale compliant default values for fields without definition.
* locale/programs/ld-time.c (time_finish): Likewise.
Ulrich Drepper [Wed, 8 Aug 2001 18:12:05 +0000 (18:12 +0000)]
(time_finish): Provide POSIX locale compliant default values for fields without definition.
Andreas Jaeger [Wed, 8 Aug 2001 16:18:08 +0000 (16:18 +0000)]
Update.
2001-08-08 Andreas Jaeger <aj@suse.de>
* sysdeps/ieee754/ldbl-96/s_ilogbl.c (__ilogbl): Fix test for
infinity.
Andreas Jaeger [Wed, 8 Aug 2001 16:17:56 +0000 (16:17 +0000)]
(__ilogbl): Fix test for infinity.
Ulrich Drepper [Wed, 8 Aug 2001 06:44:42 +0000 (06:44 +0000)]
Update.
2001-08-07 Ulrich Drepper <drepper@redhat.com>
* sysdeps/ia64/memusage.h (GETTIME): Define using hp-timing.h
funcationality.
* sysdeps/ia64/hp-timing.h (HP_TIMING_NOW): Fix comment.
2001-08-07 Jakub Jelinek <jakub@redhat.com>
* malloc/memusage.c (initialized): New variable.
(init): If not yet initialized, call me().
(me): Do all dlsym calls here.
(malloc, realloc, calloc, free): If not yet initialized,
call me(). If in the middle of initializing, return NULL or
do nothing.
Ulrich Drepper [Wed, 8 Aug 2001 02:52:43 +0000 (02:52 +0000)]
Update.
2001-08-07 Jakub Jelinek <jakub@redhat.com>
* sysdeps/unix/seekdir.c (seekdir): Set dirp->filepos.
* dirent/tst-seekdir.c (main): Check whether telldir right after
seekdir returns 2nd argument given to seekdir.
2001-08-07 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* dlfcn/Makefile (tststatic-ENV): Add $(common-objpfx) to
LD_LIBRARY_PATH.
Ulrich Drepper [Tue, 7 Aug 2001 18:55:12 +0000 (18:55 +0000)]
Update.
Andreas Schwab <schwab@suse.de>
Bruno Haible <haible@clisp.cons.org>
* locale/programs/3level.h (EMPTY): New macro.
(*_get, *_add, *_iterate, *_finalize): Use it instead of ~(uint32_t) 0.
2001-08-08 GOTO Masanori <gotom@debian.or.jp>
* locale/iso-3166.def: Updates from latest official list.
2001-08-07 Andreas Jaeger <aj@suse.de>
* iconv/gconv_charset.h (upstr): Add unused attribute to avoid warning.
* libio/iopopen.c (_IO_new_proc_open): Fix typos, it's _IO_MTSAFE_IO.
Ulrich Drepper [Tue, 7 Aug 2001 18:50:46 +0000 (18:50 +0000)]
Updates from latest official list.
Andreas Jaeger [Tue, 7 Aug 2001 17:33:37 +0000 (17:33 +0000)]
update.
* stdlib/tst-strtod.c: Disable HUGE_VAL tests for older GCCs.
Andreas Jaeger [Tue, 7 Aug 2001 17:26:45 +0000 (17:26 +0000)]
Update.
2001-08-07 Andreas Jaeger <aj@suse.de>
* iconv/gconv_charset.h (upstr): Add unused attribute to avoid
warning.
* libio/iopopen.c (_IO_new_proc_open): Fix typos, it's
_IO_MTSAFE_IO.
(_IO_new_proc_close): Likewise.
* libio/oldiopopen.c (_IO_old_proc_open): Likewise.
(_IO_old_proc_close): Likewise.
Andreas Jaeger [Tue, 7 Aug 2001 17:25:49 +0000 (17:25 +0000)]
(upstr): Add unused attribute to avoid warning.