platform/upstream/linaro-glibc.git
23 years agoInclude <wchar.h>.
Ulrich Drepper [Fri, 17 Aug 2001 07:57:23 +0000 (07:57 +0000)]
Include <wchar.h>.

23 years agoUpdate.
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.

23 years agoUpdate.
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.

23 years agoUpdate.
Ulrich Drepper [Thu, 16 Aug 2001 23:31:06 +0000 (23:31 +0000)]
Update.

* po/it.po: Update from translation team.

23 years agoUpdate.
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.

23 years agoUpdate.
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.

23 years agoUpdate.
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.

23 years agoUpdate.
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.

23 years ago(_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.

23 years ago* sysdeps/m68k/m68020/atomicity.h (atomic_add): Don't allow
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.

23 years ago(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.

23 years agoUpdate.
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.

23 years agoUpdate.
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.

23 years agoUpdate.
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.

23 years agoTest of __strcasecmp_l.
Ulrich Drepper [Tue, 14 Aug 2001 22:25:47 +0000 (22:25 +0000)]
Test of __strcasecmp_l.

23 years agoUpdate.
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.

23 years agoCopy from ldbl-96/w_expl.c with tweaked constants
Andreas Jaeger [Tue, 14 Aug 2001 07:06:41 +0000 (07:06 +0000)]
Copy from ldbl-96/w_expl.c with tweaked constants

23 years agoRegenerated from source files
Ulrich Drepper [Mon, 13 Aug 2001 22:08:56 +0000 (22:08 +0000)]
Regenerated from source files

23 years agoUpdate.
Ulrich Drepper [Mon, 13 Aug 2001 21:54:43 +0000 (21:54 +0000)]
Update.

* malloc/memusage.c (me): Allow creating the output file.

23 years agoUpdate.
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.

23 years agoUpdate.
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.

23 years agoUpdate from translation team.
Ulrich Drepper [Mon, 13 Aug 2001 16:34:06 +0000 (16:34 +0000)]
Update from translation team.

23 years agoUpdate.
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>.

23 years ago(MCOUNT): Don't use delay slot for jal since jal is a macro.
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.

23 years agoUpdate.
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_".

23 years agoRemove store_args_and_env which is not needed is USE_NONOPTION_FLAGS is undefined...
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.

23 years ago* sysdeps/mach/hurd/clock.c: New file.
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.

23 years ago* hurd/hurdlookup.c (__hurd_file_name_lookup): Comment fix.
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.

23 years ago2001-08-12 Roland McGrath <roland@frob.com>
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.

23 years ago(Working Directory): Don't use TAB in example.
Ulrich Drepper [Sun, 12 Aug 2001 19:15:49 +0000 (19:15 +0000)]
(Working Directory): Don't use TAB in example.

23 years agoFix typos and wording.
Ulrich Drepper [Sun, 12 Aug 2001 16:44:22 +0000 (16:44 +0000)]
Fix typos and wording.

23 years ago* posix/getopt.c (nonoption_flags_max_len, nonoption_flags_len):
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].

23 years agoUpdate.
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.

23 years ago(_dl_map_object_from_fd): Use correct symbolic constant in mprotect call.
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.

23 years ago2001-08-11 Roland McGrath <roland@frob.com>
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].

23 years agoUpdate.
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.

23 years agoAdd #undef line for USE_NONOPTION_FLAGS.
Ulrich Drepper [Sat, 11 Aug 2001 19:41:01 +0000 (19:41 +0000)]
Add #undef line for USE_NONOPTION_FLAGS.

23 years agoj0 implementation for 128-bit long doubles.
Andreas Jaeger [Sat, 11 Aug 2001 16:57:23 +0000 (16:57 +0000)]
j0 implementation for 128-bit long doubles.

23 years agoUpdate.
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>.

23 years agoUpdate.
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.

23 years agoUpdate.
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.

23 years agoUpdate.
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.

23 years agoUpdate.
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.

23 years agoUpdate.
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.

23 years agoUpdate.
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.

23 years agoCall __fsetlocking for temporary stream.
Ulrich Drepper [Fri, 10 Aug 2001 21:40:18 +0000 (21:40 +0000)]
Call __fsetlocking for temporary stream.

23 years agoUpdate.
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.

23 years agoFix typo in comment.
Andreas Jaeger [Fri, 10 Aug 2001 19:35:27 +0000 (19:35 +0000)]
Fix typo in comment.

23 years agoUpdate.
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>

23 years agoUpdate.
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.

23 years agoUpdate.
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.

23 years agoUpdate.
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.

23 years agoUpdate.
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.

23 years agoUpdate.
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.

23 years agoUpdate.
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.

23 years agoUpdate.
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.

23 years agoUpdate.
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.

23 years agoUpdate.
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.

23 years agoRobustify tilde tests.
Ulrich Drepper [Thu, 9 Aug 2001 17:40:23 +0000 (17:40 +0000)]
Robustify tilde tests.

23 years agoRevert last patch, Ulrich will fix the failing script to use de_DE.UTF-8.
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.

23 years agoUpdate.
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.

23 years ago* locale/programs/ld-ctype.c (DEFAULT): Fix expression.
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.

23 years agoUse de_DE.UTF-8 locale.
Ulrich Drepper [Thu, 9 Aug 2001 16:37:41 +0000 (16:37 +0000)]
Use de_DE.UTF-8 locale.

23 years ago(LOCALES): Generate en_US.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.

23 years ago* configure.in: Add check for GCC 3.x.
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.

23 years agoUpdate.
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.

23 years agoUpdate.
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.

23 years agoUpdate.
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.

23 years agoupdate.
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.

23 years agoUpdate.
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.

23 years agoUpdate.
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.

23 years agoUpdate.
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.

23 years agoUpdate.
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.

23 years ago(time_finish): Provide POSIX locale compliant default values for fields without defin...
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.

23 years agoUpdate.
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.

23 years ago(__ilogbl): Fix test for infinity.
Andreas Jaeger [Wed, 8 Aug 2001 16:17:56 +0000 (16:17 +0000)]
(__ilogbl): Fix test for infinity.

23 years agoUpdate.
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.

23 years agoUpdate.
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.

23 years agoUpdate.
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.

23 years agoUpdates from latest official list.
Ulrich Drepper [Tue, 7 Aug 2001 18:50:46 +0000 (18:50 +0000)]
Updates from latest official list.

23 years agoupdate.
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.

23 years agoUpdate.
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.

23 years ago(upstr): Add unused attribute to avoid warning.
Andreas Jaeger [Tue, 7 Aug 2001 17:25:49 +0000 (17:25 +0000)]
(upstr): Add unused attribute to avoid warning.

23 years agoUpdate.
Ulrich Drepper [Tue, 7 Aug 2001 06:16:51 +0000 (06:16 +0000)]
Update.

2001-08-06  Ulrich Drepper  <drepper@redhat.com>

* manual/locale.texi: Add documentation of rpmatch.
Patch by Jochen Hein <jochen@jochen.org>.

23 years agoUpdate.
Ulrich Drepper [Tue, 7 Aug 2001 04:37:18 +0000 (04:37 +0000)]
Update.

2001-08-06  Jakub Jelinek  <jakub@redhat.com>

* stdlib/strtod.c (STRTOF): Skip whole infinity, not just inf.
* stdio-common/vfscanf.c (__vfscanf): +- can be followed by i in +-Inf.

* stdlib/tst-strtod.c (tests): Add Inf tests.
* stdio-common/tstscanf.c (main): Add tests for +- before Inf.

* locale/weightwc.h (findidx): Change type of i to int32_t.

23 years agoUpdate.
Ulrich Drepper [Tue, 7 Aug 2001 02:49:46 +0000 (02:49 +0000)]
Update.

2001-08-06  Ulrich Drepper  <drepper@redhat.com>

* wcsmbs/wcsmbs-tst1.c (main): Avoid warning.  Pretty printing.

23 years ago(main): Avoid warning. Pretty printing.
Ulrich Drepper [Tue, 7 Aug 2001 02:44:12 +0000 (02:44 +0000)]
(main): Avoid warning.  Pretty printing.

23 years ago* sysdeps/unix/bsd/bsd4.4/bits/dirent.h (struct dirent): Rename member
Roland McGrath [Mon, 6 Aug 2001 04:24:40 +0000 (04:24 +0000)]
* sysdeps/unix/bsd/bsd4.4/bits/dirent.h (struct dirent): Rename member

d_fileno to d_ino.
(struct dirent64): Likewise.
(d_fileno): Define as macro.

23 years ago* sysdeps/mach/hurd/getrusage.c: Use TASK_EVENTS_INFO if implemented
Roland McGrath [Sun, 5 Aug 2001 20:40:13 +0000 (20:40 +0000)]
* sysdeps/mach/hurd/getrusage.c: Use TASK_EVENTS_INFO if implemented

by the microkernel (which it's not).

23 years ago2001-08-04 Roland McGrath <roland@frob.com>
Roland McGrath [Sun, 5 Aug 2001 20:39:59 +0000 (20:39 +0000)]
2001-08-04  Roland McGrath  <roland@frob.com>

* sysdeps/mach/hurd/getrusage.c: Use TASK_EVENTS_INFO if implemented
by the microkernel (which it's not).

23 years agoUpdate.
Ulrich Drepper [Sat, 4 Aug 2001 23:59:30 +0000 (23:59 +0000)]
Update.

2001-08-04  Ulrich Drepper  <drepper@redhat.com>

* libio/fileops.c (_IO_new_file_underflow): Don't call
_IO_flush_all_linebuffered.  This isn't required in any standard.
Instead flush only stdout.
* libio/wfileops.c (_IO_wfile_underflow): Likewise.

23 years agoUpdate.
Ulrich Drepper [Sat, 4 Aug 2001 19:30:39 +0000 (19:30 +0000)]
Update.

2001-08-04  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

* dlfcn/Makefile: Add rules for new testcase tststatic.
* dlfcn/tststatic.c: New file.
* dlfcn/modstatic.c: New file.

23 years agoUpdate.
Ulrich Drepper [Sat, 4 Aug 2001 15:36:35 +0000 (15:36 +0000)]
Update.

* manual/summary.awk: Fix value used for FF.

23 years agoUpdate.
Ulrich Drepper [Sat, 4 Aug 2001 15:05:57 +0000 (15:05 +0000)]
Update.

* elf/rtld.c: Correct use of __builtin_expect.

* elf/dl-close.c: Remove commented-out code.

23 years agoUpdate.
Ulrich Drepper [Sat, 4 Aug 2001 08:05:56 +0000 (08:05 +0000)]
Update.

2001-08-04  Ulrich Drepper  <drepper@redhat.com>

* libio/genops.c (_IO_unbuffer_write): Force streams in narrow
orientation so that conversion modules aren't used anymore.
* malloc/set-freeres.c: Call _IO_cleanup before running subfreeres
functions to avoid using wide streams afterwards.

* iconvdata/Makefile: Add rules to build GEORGIAN-PS and
GEORGIAN-ACADEMY.
* iconvdata/georgian-ps.c: New file.
* iconvdata/georgian-academy.c: New file.
* iconvdata/gconv-modules: Add entries for GEORGIAN-PS and
GEORGIAN-ACADEMY.
* iconvdata/tst-tables.sh: Add GEORGIAN-PS and GEORGIAN-ACADEMY.

23 years agoUpdate.
Ulrich Drepper [Sat, 4 Aug 2001 05:11:59 +0000 (05:11 +0000)]
Update.

2001-08-03  Ulrich Drepper  <drepper@redhat.com>

* locale/programs/ld-collate (insert_value): If symbol in order
definition does not exist create it as a sequence without
associated multibyte and wide representation.

23 years ago* sysdeps/mach/bits/libc-lock.h (__libc_cleanup_region_start): Diddle
Roland McGrath [Sat, 4 Aug 2001 01:18:15 +0000 (01:18 +0000)]
* sysdeps/mach/bits/libc-lock.h (__libc_cleanup_region_start): Diddle

syntax so both function and pointer-to-function arguments work right.

23 years ago2001-07-30 Roland McGrath <roland@frob.com>
Roland McGrath [Sat, 4 Aug 2001 01:17:57 +0000 (01:17 +0000)]
2001-07-30  Roland McGrath  <roland@frob.com>

* sysdeps/mach/bits/libc-lock.h (__libc_cleanup_region_start): Diddle
syntax so both function and pointer-to-function arguments work right.

23 years agoUpdate.
Ulrich Drepper [Fri, 3 Aug 2001 23:04:10 +0000 (23:04 +0000)]
Update.

2001-08-03  Tom Rix  <trix@redhat.com>

* config.h.in: Add HAVE_XCOFF for AIX.
* configure.in: Add --with-xcoff option.
* include/libc-symbols.h: Disable the .stabs macros.

23 years agoUpdate.
Ulrich Drepper [Fri, 3 Aug 2001 22:09:42 +0000 (22:09 +0000)]
Update.

* iconvdata/8bit-gap.c: Correctly use __builtin_expect.
* iconvdata/ansi_x3.110.c: Likewise.
* iconvdata/big5.c: Likewise.
* iconvdata/euc-cn.c: Likewise.
* iconvdata/euc-jp.c: Likewise.
* iconvdata/euc-kr.c: Likewise.
* iconvdata/gb18030.c: Likewise.
* iconvdata/gbbig5.c: Likewise.
* iconvdata/gbgbk.c: Likewise.
* iconvdata/gbk.c: Likewise.
* iconvdata/ibm930.c: Likewise.
* iconvdata/ibm932.c: Likewise.
* iconvdata/ibm933.c: Likewise.
* iconvdata/ibm935.c: Likewise.
* iconvdata/ibm939.c: Likewise.
* iconvdata/ibm943.c: Likewise.
* iconvdata/iso-2022-cn.c: Likewise.
* iconvdata/iso-2022-kr.c: Likewise.
* iconvdata/iso646.c: Likewise.
* iconvdata/iso8859-1.c: Likewise.
* iconvdata/iso_6937-2.c: Likewise.
* iconvdata/iso_6937.c: Likewise.
* iconvdata/johab.c: Likewise.
* iconvdata/sjis.c: Likewise.
* iconvdata/t.61.c: Likewise.
* iconvdata/uhc.c: Likewise.
* iconvdata/unicode.c: Likewise.
* iconvdata/utf-16.c: Likewise.
* iconv/gconv_simple.c: Likewise.   Convert assert() in real error
handling.