external/glibc.git
24 years agoUpdate.
Ulrich Drepper [Thu, 6 Jan 2000 00:33:56 +0000 (00:33 +0000)]
Update.

2000-01-05  Ulrich Drepper  <drepper@cygnus.com>

* debug/Makefile (distribute): Add frame.h.

24 years agoUpdate.
Ulrich Drepper [Thu, 6 Jan 2000 00:10:15 +0000 (00:10 +0000)]
Update.

2000-01-05  Philip Blundell  <philb@gnu.org>

* sysdeps/arm/frame.h: New file.
* sysdeps/generic/frame.h: Likewise.
* sysdeps/generic/segfault.c (struct layout): Delete definition;
include the above file instead.
* sysdeps/generic/backtrace.c (struct layout): Likewise.
(__backtrace): Use ADVANCE_STACK_FRAME.
* sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
(ADVANCE_STACK_FRAME): New macro.
(GET_FRAME): Apply above to returned value.

* sysdeps/unix/sysv/linux/arm/bits/armsigctx.h: Add `fault_address'.

24 years agoUpdate.
Ulrich Drepper [Wed, 5 Jan 2000 21:32:20 +0000 (21:32 +0000)]
Update.

* sysdeps/posix/getaddrinfo.c: Add support for SOCK_RAW.
Patch by YOSHIFUJI Hideaki <yoshifuji@ecei.tohoku.ac.jp>.

24 years agoUpdate.
Ulrich Drepper [Wed, 5 Jan 2000 20:49:52 +0000 (20:49 +0000)]
Update.

* io/ftw.c (process_entry): Cache object dev/inode only for
directories (PR libc/1514).

2000-01-05  Andreas Schwab  <schwab@suse.de>

* locale/programs/charmap.c (charmap_read): Fix typo.

2000-01-05  Ulrich Drepper  <drepper@cygnus.com>

* locale/programs/charset.c: Removed.

24 years agoUpdate.
Ulrich Drepper [Wed, 5 Jan 2000 19:15:03 +0000 (19:15 +0000)]
Update.

2000-01-05  Ulrich Drepper  <drepper@cygnus.com>

* iconvdata/Makefile: Add rules for ISO-8859-16 module.
* iconvdata/gconv-modules: Likewise.
* iconvdata/iso8859-16.c: New file.

24 years ago* pthread.c (__pthread_initial_thread, pthread_manager_thread):
Ulrich Drepper [Wed, 5 Jan 2000 17:54:30 +0000 (17:54 +0000)]
* pthread.c (__pthread_initial_thread, pthread_manager_thread):

Adjust initializers for struct _pthread_descr_struct change.

24 years agoUpdate.
Ulrich Drepper [Wed, 5 Jan 2000 17:34:44 +0000 (17:34 +0000)]
Update.

2000-01-05  Andreas Schwab  <schwab@suse.de>

* iconv/iconv_prog.c (process_block): Add cast to avoid warning.

* locale/programs/linereader.c: Remove #include of stringtrans.h.

24 years agoUpdate.
Ulrich Drepper [Wed, 5 Jan 2000 07:51:16 +0000 (07:51 +0000)]
Update.

2000-01-05  Andreas Jaeger  <aj@suse.de>

* intl/locale.alias: Add lithunian entry.
Reported by Kestutis Kupciunas <kesha@soften.ktu.lt>, PR libc/1507.

24 years agoUpdate.
Ulrich Drepper [Wed, 5 Jan 2000 07:47:25 +0000 (07:47 +0000)]
Update.

* locale/programs/stringtrans.c: Removed.
* locale/programs/stringtrans.h: Removed.

* locale/findlocale.c (_nl_find_locale): Don't try using mmap is
_POSIX_MAPPED_FILES is not defined.

* locale/findlocale.c (_nl_find_locale): Correct memory allocation
for loc_name copy.

* locale/setlocale.c (new_composite_name): Use _nl_C_name and
_nl_POSIX_name instead of "C" and "POSIX" strings.

24 years agoUpdate.
Ulrich Drepper [Wed, 5 Jan 2000 05:31:36 +0000 (05:31 +0000)]
Update.

* ctype/ctype-info.c (__ctype32_tolower): Use _nl_C_CTYPE_tolower.
(__ctype32_toupper): Use _nl_C_CTYPE_toupper.

* locale/C-ctype.c (_nl_C_LC_CTYPE_tolower32): Removed.  We can
reuse the _nl_C_LC_CTYPE_tolower table.
(_nl_C_LC_CTYPE_toupper32): Likewise.
(_nl_C_LC_CTYPE): Use normal table to initialize tolower32 and
toupper32 entries.

24 years agoUpdate.
Ulrich Drepper [Wed, 5 Jan 2000 05:14:34 +0000 (05:14 +0000)]
Update.

* locale/C-ctype.c (_nl_C_LC_CTYPE_class): Clear ISNCTRL bit for
characters >= 0x80.
(_nl_C_LC_CTYPE_class32): Likewise.

24 years agoUpdate.
Ulrich Drepper [Wed, 5 Jan 2000 02:12:13 +0000 (02:12 +0000)]
Update.

2000-01-04  Ulrich Drepper  <drepper@cygnus.com>

* rt/aio.h (struct aioinit): Replace one aio_reserved value with
aio_idle_time.
* rt/aio_misc.c: Rewrite to not automatically terminate worker threads
after the operation is done.  Let them linger for a user-definable
time.
* rt/aio_cancel.c: Likewise.
Patch by Willian M Shubert <william.m.shubert@intel.com>.

* sysdeps/i386/i686/add_n.S: New file.

24 years agoRedesigned how cancellation unblocks a thread from internal cancellation points ...
Ulrich Drepper [Wed, 5 Jan 2000 02:09:12 +0000 (02:09 +0000)]
Redesigned how cancellation unblocks a thread from internal cancellation points (sem_wait, pthread_join, pthread_cond_{wait,timedwait}). Cancellation won't eat a signal in any of these functions (*required* by POSIX and Single Unix Spec!).

2000-01-03  Kaz Kylheku  <kaz@ashi.footprints.net>

Redesigned how cancellation unblocks a thread from internal
cancellation points (sem_wait, pthread_join,
pthread_cond_{wait,timedwait}).
Cancellation won't eat a signal in any of these functions
(*required* by POSIX and Single Unix Spec!).
* condvar.c: spontaneous wakeup on pthread_cond_timedwait won't eat a
simultaneous condition variable signal (not required by POSIX
or Single Unix Spec, but nice).
* spinlock.c: __pthread_lock queues back any received restarts
that don't belong to it instead of assuming ownership of lock
upon any restart; fastlock can no longer be acquired by two threads
simultaneously.
* restart.h: restarts queue even on kernels that don't have
queued real time signals (2.0, early 2.1), thanks to atomic counter,
avoiding a rare race condition in pthread_cond_timedwait.

24 years agoUpdate.
Ulrich Drepper [Tue, 4 Jan 2000 23:56:39 +0000 (23:56 +0000)]
Update.

2000-01-02  Philip Blundell  <philb@gnu.org>

* sysdeps/unix/sysv/linux/arm/ioperm.c: Use sysctl by preference
to obtain port mapping information.  Avoid use of mprotect.

24 years agoUpdate.
Ulrich Drepper [Tue, 4 Jan 2000 23:40:52 +0000 (23:40 +0000)]
Update.

2000-01-04  Ulrich Drepper  <drepper@cygnus.com>

* sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Add
definition from 2.3.36.

24 years agoUpdate.
Ulrich Drepper [Tue, 4 Jan 2000 17:51:12 +0000 (17:51 +0000)]
Update.

2000-01-04  Andreas Jaeger  <aj@suse.de>

* nss/nss_db/dummy-db.h (struct db24): Add missing field flags.
(struct db27): Add missing fields byteswapped, join and flags;
remove wrong member handleq.
(struct dbc27): Correct lock field.

* nss/makedb.c: Remove __P.

2000-01-04  Andreas Jaeger  <aj@suse.de>

* nss/nss_db/db-open.c (internal_setent): Check for db_open for
success, fix a memory leak and clean up function.

2000-01-04  Ulrich Drepper  <drepper@cygnus.com>

* Makefile (install): Pass $(install_root) to ldconfig.
Patch by Akira YOSHIYAMA <yosshy@tkf.att.ne.jp>.

2000-01-03  Jakub Jelinek  <jakub@redhat.com>

* soft-fp/op-1.h: Fix division for machines using not normalizing
version of udiv_qrnnd in longlong.h.
* soft-fp/sysdeps/mips/sfp-machine.h: Likewise.
* soft-fp/sysdeps/mips/mips64/sfp-machine.h: Likewise.
* soft-fp/sysdeps/sparc/sparc64/sfp-machine.h: Likewise.
Patch by Eddie C. Dost <ecd@skynet.be>.

* soft-fp/soft-fp.h (QItype, UQItype): New types used by longlong.h.

2000-01-03  Andreas Schwab  <schwab@suse.de>

* sysdeps/generic/dl-sysdep.c: Initialize __libc_multiple_libcs,
needed for change in common symbol handing in newer binutils.

24 years agoUpdate.
Ulrich Drepper [Tue, 4 Jan 2000 00:37:51 +0000 (00:37 +0000)]
Update.

2000-01-03  Ulrich Drepper  <drepper@cygnus.com>

* sysdeps/unix/sysv/linux/i386/mmap64.S: Fix code for running on
kernel without mmap2 syscall.

24 years agoUpdate.
Ulrich Drepper [Mon, 3 Jan 2000 23:22:35 +0000 (23:22 +0000)]
Update.

2000-01-03  Philip Blundell  <philb@gnu.org>

* sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MMAP2_SYSCALL,
__ASSUME_TRUNCATE64_SYSCALL, __ASSUME_STAT64_SYSCALL): Define on
ARM for kernels >= 2.3.35.

2000-01-03  Philip Blundell  <philb@gnu.org>

* sysdeps/unix/sysv/linux/arm/mmap.S: Remove mmap64 alias.
Optimise error handling a little.
* sysdeps/unix/sysv/linux/arm/mmap64.S: New file.

24 years agoUpdate.
Ulrich Drepper [Mon, 3 Jan 2000 21:11:54 +0000 (21:11 +0000)]
Update.

2000-01-03  Ulrich Drepper  <drepper@cygnus.com>

* SUPPORTED: Change lt_LT charset to ISO-8859-13.

24 years agoUpdate.
Ulrich Drepper [Mon, 3 Jan 2000 17:00:25 +0000 (17:00 +0000)]
Update.

2000-01-03  Andreas Jaeger  <aj@suse.de>

* include/resolv.h: Remove declarations for __ns_name_ntop and
__ns_name_unpack since those are available in resolv/arpa/nameser.h.

2000-01-03  Andreas Jaeger  <aj@suse.de>

* time/tst-strptime.c (test_tm): Add tests for all fields of
struct tm.

2000-01-03  Ulrich Drepper  <drepper@cygnus.com>

* string/bits/string2.h (__strsep_g): Don't handle empty __S special.

2000-01-03  Andreas Jaeger  <aj@suse.de>

* string/tester.c (test_strsep): Add one more test.

2000-01-03  Philip Blundell  <philb@gnu.org>

* string/tester.c (test_mempcpy): New function.
(main): Call it.
(test_memcpy): Test unaligned cases too.

* sysdeps/arm/bits/string.h (_HAVE_STRING_ARCH_mempcpy): Define.

* sysdeps/arm/fpu/bits/mathdef.h: New file.

* nss/Makefile: Add rules to build makedb.

24 years agoUpdate.
Ulrich Drepper [Mon, 3 Jan 2000 01:22:20 +0000 (01:22 +0000)]
Update.

* posix/Makefile (tests): Add tst-mmap.
* posix/tst-mmap.c: New file.

* sysdeps/unix/sysv/linux/i386/mmap64.S: Pop registers after mmap2
call before handling error.

24 years agoUpdate.
Ulrich Drepper [Sun, 2 Jan 2000 20:27:46 +0000 (20:27 +0000)]
Update.

* sysdeps/unix/sysv/linux/i386/mmap64.S: Handle unaligned offsets.
* sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.

24 years agoUpdate.
Ulrich Drepper [Sun, 2 Jan 2000 19:43:47 +0000 (19:43 +0000)]
Update.

* iconvdata/ksc5601.c (__ksc5601_sym_to_ucs): Add mapping for
0xa2e6 and 0xa2e7.
(__ksc5601_sym_from_ucs): Add mapping back from U00AE and U20AC.
* iconvdata/ksc5601.h (KSC5601_SYMBOL): Adjust for the two new
mappings.
* iconvdata/testdata/EUC-KR: Add Euro and Registered sign.
* iconvdata/testdata/ISO-2022-KR: Likewise.

24 years agoUpdate.
Ulrich Drepper [Sun, 2 Jan 2000 18:58:12 +0000 (18:58 +0000)]
Update.

* sysdeps/unix/sysv/linux/llseek.c: Formulate warning message stronger.

* sysdeps/posix/sysconf.c: Remove _POSIX2_EQUIV_CLASS_MAX handling.

24 years agoUpdate.
Ulrich Drepper [Sun, 2 Jan 2000 18:45:51 +0000 (18:45 +0000)]
Update.

* iconvdata/gconv-modules: Remove BALTIC.  It's the same as
ISO-8859-13.
* iconvdata/Makefile (distribute): Remove baltic.c.
(modules): Remove BALTIC.
(gen-8bit-gap-modules): Remove baltic.
* iconvdata/baltic.c: Removed.

24 years agoUpdate.
Ulrich Drepper [Sun, 2 Jan 2000 18:35:38 +0000 (18:35 +0000)]
Update.

* sysdeps/posix/system.c: Correct return value for LINE == NULL.

24 years agoUpdate.
Ulrich Drepper [Sun, 2 Jan 2000 18:30:13 +0000 (18:30 +0000)]
Update.

* signal/Versions [GLIBC_2.1.3] (libc): Export __sigsuspend.

* sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c (__mmap64): Fix
typos (__ASSUME_TRUNCATE64_SYSCALL -> __ASSUME_MMAP2_SYSCALL).
Reported by Philip Blundell <Philip.Blundell@pobox.com>.

24 years agoUpdate.
Ulrich Drepper [Sun, 2 Jan 2000 08:45:58 +0000 (08:45 +0000)]
Update.

2000-01-02  Ulrich Drepper  <drepper@cygnus.com>

* nss/nss_db/nss_db.h: Add definitions needed for makedb.
* nss/nss_db/dummy-db.h: Likewise.
* nss/makedb.c: New file.  Copied from file in db2, modified to not
depend on being linked against libdb.

24 years agoUpdate.
Ulrich Drepper [Sun, 2 Jan 2000 06:01:06 +0000 (06:01 +0000)]
Update.

* Makeconfig (all-subdirs): Remove db and db2.
* db/*: Removed.
* db2/*: Removed.

24 years agoUpdate.
Ulrich Drepper [Sun, 2 Jan 2000 04:20:21 +0000 (04:20 +0000)]
Update.

* nss/nss_db/db-XXX.c: Move internal_setent and internal_endent
functions from here...
* nss/db-alias.c: ...and here...
* nss/db-netgrp.c: ...and here...
* nss/nss_db/db-open.c: ...to here.  New file.
* nss/nss_db/dummy-db.h: New file.
* nss/nss_db/nss_db.h: New file.
* nss/Depend: Depend in dlfcn, not db2.
* nss/Makefile (libnss_db-routines): Add db-open.
(distribute): Add nss_db.h dummy-db.h.
(libnss_db.so): Replace libdb dependency by $(libdl).
Based on a patch by Zack Weinberg.

24 years agoUpdate.
Ulrich Drepper [Sat, 1 Jan 2000 19:35:36 +0000 (19:35 +0000)]
Update.

2000-01-01  Ulrich Drepper  <drepper@cygnus.com>

* locale/programs/ld-ctype.c: Implement rest of transliteration
definition parsing.
* locale/programs/locfile-kw.gperf: New keyword translit_ignore.
* locale/programs/locfile-token.h: Add tok_translit_ignore.

24 years ago(collate_output): Update.
Ulrich Drepper [Fri, 31 Dec 1999 22:21:25 +0000 (22:21 +0000)]
(collate_output): Update.

* locale/programs/ld-collate.c (collate_output): Emit correct
information for collation elements.
Don't write over end of array idx.
* posix/regex.c: Handle also collation elements at end of range.

* posix/PTESTS: Fix a few typos.

24 years agoUpdate.
Ulrich Drepper [Fri, 31 Dec 1999 19:29:52 +0000 (19:29 +0000)]
Update.

* sysdeps/posix/sysconf.c: Remove _POSIX2_EQUIV_CLASS_MAX
handling.

24 years agoUpdate.
Ulrich Drepper [Fri, 31 Dec 1999 19:02:39 +0000 (19:02 +0000)]
Update.

1999-12-31  Ulrich Drepper  <drepper@cygnus.com>

* posix/bits/posix2_lim.h: Remove _POSIX2_EQUIV_CLASS_MAX.  I have
no idea where this came from.

24 years agoUpdate.
Ulrich Drepper [Fri, 31 Dec 1999 18:51:25 +0000 (18:51 +0000)]
Update.

1999-12-31  Andreas Jaeger  <aj@suse.de>

* libio/strfile.h: Remove K&R compatibility.
* locale/langinfo.h: Likewise.
* locale/localeconv.c (localeconv): Likewise.
* locale/programs/simple-hash.h: Likewise.
* nis/nis_xdr.h: Likewise.
* nis/rpcsvc/nislib.h: Likewise.
* nis/rpcsvc/nis_callback.h: Likewise.
* nis/rpcsvc/nis.h: Likewise.
* nis/ypclnt.c: Likewise.
* nscd/nscd_proto.h: Likewise.
* nscd/nscd.c: Likewise.
* sysdeps/generic/inttypes.h: Likewise.
* sysdeps/gnu/utmpx.h: Likewise.

* nis/nis_intern.h: Remove K&R compatibility; add missing ints.
* sunrpc/rpcsvc/rusers.x: Likewise.

* nis/rpcsvc/ypclnt.h: Remove K&R compatibility; reformat.

* elf/dl-misc.c: Remove __libc_write prototype since it's already
in include/unistd.h.
* elf/dl-profile.c: Likewise.
* elf/dl-load.c: Likewise for __libc_read.

* elf/dl-profile.c: Remove __P.
* elf/sprof.c: Likewise.
* elf/sln.c: Likewise.

24 years agoUpdate.
Ulrich Drepper [Fri, 31 Dec 1999 18:23:00 +0000 (18:23 +0000)]
Update.

1999-12-31  Ulrich Drepper  <drepper@cygnus.com>

* locale/langinfo.h: Add constants for wide character collation
symbol table.
* locale/categories.def: Add appropriate entries for collate symbol
table entries.
* locale/C-collate.c: Add initializers for new entries.
Remove commented out code.
* locale/elem-hash.h: New file.
* locale/Makefile (distribute): Add elem-hash.h.
* locale/programs/ld-collate.c: Implement output of collate symbol
table.

* posix/regex.c: Implement collation class handling.

24 years agoUpdate.
Ulrich Drepper [Fri, 31 Dec 1999 05:51:47 +0000 (05:51 +0000)]
Update.

1999-12-30  Ulrich Drepper  <drepper@cygnus.com>

* posix/regex.c (regex_compile): Implement equivalence class handling.

for thread safety even with very large PLTs, better efficiency,
and to fix a cache-flushing bug.  Also support the Motorola

24 years ago(regex_compile): Implement equivalence class handling.
Ulrich Drepper [Fri, 31 Dec 1999 05:45:10 +0000 (05:45 +0000)]
(regex_compile): Implement equivalence class handling.

24 years ago* sysdeps/powerpc/dl-machine.c: Many minor formatting changes. (OPCODE_LWZU): New...
Geoff Keating [Fri, 31 Dec 1999 01:33:06 +0000 (01:33 +0000)]
* sysdeps/powerpc/dl-machine.c: Many minor formatting changes. (OPCODE_LWZU): New macro. (OPCODE_ADDIS_HI): New macro. (OPCODE_LIS_HI): New macro. (__elf_machine_runtime_setup): Change PLT code-generation scheme for thread safety even with very large PLTs, better efficiency, and to fix a cache-flushing bug.  Also support the Motorola 8xx processors which have a different cache line size than all the others. (__elf_machine_fixup_plt): Likewise. (__process_machine_rela): Don't use elf_machine_fixup_plt.

1999-12-30  Geoffrey Keating  <geoffk@cygnus.com>

* sysdeps/powerpc/dl-machine.c: Many minor formatting changes.
(OPCODE_LWZU): New macro.
(OPCODE_ADDIS_HI): New macro.
(OPCODE_LIS_HI): New macro.
(__elf_machine_runtime_setup): Change PLT code-generation scheme
  for thread safety even with very large PLTs, better efficiency,
  and to fix a cache-flushing bug.  Also support the Motorola
8xx processors which have a different cache line size than all
the others.
(__elf_machine_fixup_plt): Likewise.
(__process_machine_rela): Don't use elf_machine_fixup_plt.

24 years agoUpdate.
Ulrich Drepper [Fri, 31 Dec 1999 00:04:07 +0000 (00:04 +0000)]
Update.

1999-12-30  Ulrich Drepper  <drepper@cygnus.com>

* wcsmbs/wcscoll.c: Use multibyte character version.
* wcsmbs/wcsxfrm.c: Likewise.
* string/strcoll.c: Prepare to be used for the wide character version.
* string/strxfrm.c: Likewise.
* locale/weightwc.h: New file.

24 years agoFunction to locate collation weight information for wide characters.
Ulrich Drepper [Thu, 30 Dec 1999 23:59:06 +0000 (23:59 +0000)]
Function to locate collation weight information for wide characters.

24 years ago* sysdeps/powerpc/fpu/bits/fenvinline.h (feraiseexcept): Remove
Geoff Keating [Thu, 30 Dec 1999 23:37:12 +0000 (23:37 +0000)]
* sysdeps/powerpc/fpu/bits/fenvinline.h (feraiseexcept): Remove

the (void) casts as now feraiseexcept returns a value.
(feclearexcept): Likewise.
* sysdeps/unix/sysv/linux/powerpc/sysdep.h: Don't use '%r0',
it interferes with the macros for AIX.
1999-12-30  Geoff Keating  <geoffk@cygnus.com>

* sysdeps/powerpc/fpu/bits/fenvinline.h (feraiseexcept): Remove
the (void) casts as now feraiseexcept returns a value.
(feclearexcept): Likewise.

* sysdeps/unix/sysv/linux/powerpc/sysdep.h: Don't use '%r0',
it interferes with the macros for AIX.

24 years ago(collate_finish): Fix typo in message.
Ulrich Drepper [Thu, 30 Dec 1999 18:17:29 +0000 (18:17 +0000)]
(collate_finish): Fix typo in message.

24 years agoUpdate.
Ulrich Drepper [Thu, 30 Dec 1999 18:12:52 +0000 (18:12 +0000)]
Update.

* locale/programs/ld-collate.c (collate_finish): Always define
weight for UNDEFINED if not defined by the user but don't complain
unless it is needed in the multibyte character table.
(collate_output): Add extra dummy elements in wide char tables in the
same way done for multibyte.  Always output undefined entry in
wide character table.

Contributed by Richard Henderson, Jakub Jelinek and others.

24 years agoUpdate.
Ulrich Drepper [Thu, 30 Dec 1999 17:22:06 +0000 (17:22 +0000)]
Update.

* locale/Makefile (categories): Remove commented-out old definition.

24 years agoUpdate.
Ulrich Drepper [Thu, 30 Dec 1999 16:53:41 +0000 (16:53 +0000)]
Update.

1999-12-30  Ulrich Drepper  <drepper@cygnus.com>

* locale/programs/ld-collate.c (insert_value): Don't pass wide string
to new_element if the wide char is not valid.
(handle_ellipsis): Likewise.
(collate_read): It's no problem if the string in the collating element
definition cannot be represented as multibyte or wide char string.

24 years agoUpdate.
Ulrich Drepper [Thu, 30 Dec 1999 08:09:32 +0000 (08:09 +0000)]
Update.

1999-12-13  Andreas Jaeger  <aj@suse.de>

* resolv/resolv.h: Remove K&R compatibility.

* resolv/res_libc.c: Move definition of _res after res_init,
res_init should use the threaded specific context.

* resolv/Makefile (+cflags): Remove -Wno-comment since it's not
needed anymore.

* locale/langinfo.h: Add constants for wide character collation data.
* locale/categories.def: Add appropriate entries for collate entries.
* locale/C-collate.c: Add initializers for new entries.
* locale/programs/ld-collate.c: Implement output of wide character
tables.

* locale/programs/ld-ctype.c (allocate_arrays): Change algorithm to
compute wide character table size a bit: it now gives up a bit of
total table size for fewer levels.

24 years agoUpdate.
Ulrich Drepper [Wed, 29 Dec 1999 18:11:48 +0000 (18:11 +0000)]
Update.

1999-12-29  Ulrich Drepper  <drepper@cygnus.com>

* soft-fp/*: Tons of new files to implement floating-point arithmetic
in software.
Contributed by  Richard Henderson, Jakub Jelinek and others.

24 years agoUpdate.
Ulrich Drepper [Wed, 29 Dec 1999 17:52:49 +0000 (17:52 +0000)]
Update.

1999-12-29  Andreas Jaeger  <aj@suse.de>

* sysdeps/unix/sysv/linux/alpha/sys/io.h: Don't include
<asm/io.h>; remove K&R compatibility; add missing ints.

* sysdeps/unix/sysv/linux/arm/sys/io.h: Remove K&R compatibility,
add missing ints.

* sysdeps/unix/sysv/linux/sys/io.h: Don't include <asm/io.h>.

1999-12-29  Andreas Jaeger  <aj@suse.de>

* manual/getopt.texi (Using Getopt): Document ordering of options.

1999-12-29  Andreas Jaeger  <aj@suse.de>

* sysdeps/unix/sysv/linux/llseek.c: Emit link time warning for llseek.
Requested by Michael Deutschmann <michael@talamasca.wkpowerlink.com>.

1999-12-14  Andreas Jaeger  <aj@suse.de>

* sysdeps/unix/sysv/linux/scsi/scsi.h: Add new defines from Linux
2.3.32.

1999-12-28  Jakub Jelinek  <jakub@redhat.com>

* elf/sprof.c (load_shobj): Fix error message.
(generate_call_graph): Cast %*s length argument to int.
* locale/programs/localedef.c (construct_output_path): Likewise.
* locale/programs/ld-ctype.c (ctype_finish): Use proper format
specifier.
(ctype_class_new): Likewise.
* locale/programs/ld-time.c (time_finish): Likewise.
* sunrpc/svc_simple.c (register_rpc): Likewise.
* nscd/connections.c (nscd_run, start_threads): Use long instead of
int to avoid cast warnings.
* sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l): Kill
warning.
* sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Remove unused
variable se.

* time/strftime.c (my_strftime): Provide wide era string when
requested.

* sysdeps/sparc/fpu/bits/mathinline.h (__signbit, __signbitl):
Separate into 32bit and 64bit versions.

24 years agoUpdate.
Ulrich Drepper [Wed, 29 Dec 1999 07:32:44 +0000 (07:32 +0000)]
Update.

* iconvdata/Makefile (modules): Add ISO-2022-CN.
Add link rules for this module.
(distribute): Add iso-2022-cn.c and cns11643l2.h.
* iconvdata/cns11643l2.h: New file.
* iconvdata/iso-2022-cn.c: New file.
* iconvdata/gconv-modules: Add entries for ISO-2022-CN module.

* iconvdata/cns11643l1.h (cns11643l1_to_ucs4): Make string argument
unsigned.
(ucs4_to_cns11643l1): Likewise.
* iconvdata/euc-tw.c: Correct parameter passed to cns11643l1_to_ucs4.

* iconvdata/iso-2022-kr.c: Remove unnecessary test from conversion
loop to UCS4.
Optimize recognition of escape sequences a bit.

24 years agoUpdate.
Ulrich Drepper [Wed, 29 Dec 1999 04:40:57 +0000 (04:40 +0000)]
Update.

* iconvdata/iso-2022-kr.c: Optimize recognition of escape
sequences a bit.

24 years agoUpdate.
Ulrich Drepper [Tue, 28 Dec 1999 22:17:16 +0000 (22:17 +0000)]
Update.

1999-12-28  Ulrich Drepper  <drepper@cygnus.com>

* sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove oldgetrlimit
and oldsetrlimit definitions.

24 years agoUpdate.
Ulrich Drepper [Tue, 28 Dec 1999 07:12:35 +0000 (07:12 +0000)]
Update.

* iconvdata/run-iconv-test.sh: Improve test output a bit to allow
identifying errors more easily.

24 years agoUpdate.
Ulrich Drepper [Tue, 28 Dec 1999 04:46:49 +0000 (04:46 +0000)]
Update.

* iconvdata/testdata/EUC-CN..UTF8: New file.
* iconvdata/testdata/GBK..UTF8: New file.

24 years agoUpdate.
Ulrich Drepper [Tue, 28 Dec 1999 04:21:29 +0000 (04:21 +0000)]
Update.

* iconvdata/gbk.c: In mapping from UCS4: don't crash for undefined
mappings.  Fix last patch.
* iconvdata/TESTS: Add GBK.
* iconvdata/testdata/GBK: New file.

24 years agoUpdate.
Ulrich Drepper [Tue, 28 Dec 1999 02:59:59 +0000 (02:59 +0000)]
Update.

* iconvdata/gb2312.h (ucs4_to_gb2312): Fix mapping of 0x0101,
0x2312, and 0x2500..0x254b.
* iconvdata/TESTS: Add EUC-CN.
* iconvdata/testdata/EUC-CN: New file.

24 years agoUpdate.
Ulrich Drepper [Tue, 28 Dec 1999 01:47:44 +0000 (01:47 +0000)]
Update.

* iconvdata/gbgbk.c: New file.
* iconvdata/Makefile (modules): Add GBGBK.
(distribute): Add gbgbk.c.
* iconvdata/gconv-modules: Add entries for GBGBK modules.

* iconvdata/euc-cn.c: Fix comment.

* iconvdata/gbk.c: Optimize the switch statement in the conversion

24 years agoUpdate.
Ulrich Drepper [Tue, 28 Dec 1999 01:03:14 +0000 (01:03 +0000)]
Update.

* iconvdata/gbk.c: OPtimize the swrich statement in the conversion
to GBK a bit.

24 years agoUpdate.
Ulrich Drepper [Mon, 27 Dec 1999 23:22:23 +0000 (23:22 +0000)]
Update.

1999-12-27  Ulrich Drepper  <drepper@cygnus.com>

* locale/programs/charmap.c (charmap_new_char): Recognize special
character names Uxxxx and Pxxxx and initialize the UCS4 value from
the value of xxxx.

24 years agoUpdate.
Ulrich Drepper [Mon, 27 Dec 1999 21:50:29 +0000 (21:50 +0000)]
Update.

1999-12-17  Andreas Jaeger  <aj@suse.de>

* stdlib/Versions: Export __cxa_atexit and __cxa_finalize.

1999-12-16  Mark Mitchell  <mark@codesourcery.com>

* stdlib/Makefile (routines): Add cxa_atexit and cxa_finalize.
* stdlib/exit.h (flavor): Add ef_cxa.
(exit_function): Add cxa variant.
* stdlib/exit.c (exit): Handle ef_cxa exit functions.
* stdlib/cxa_atexit.c: New file.
* stdlib/cxa_finalize.c: New file.

24 years agoUpdate.
Ulrich Drepper [Mon, 27 Dec 1999 20:26:55 +0000 (20:26 +0000)]
Update.

1999-12-27  Ulrich Drepper  <drepper@cygnus.com>

* iconvdata/gb2312.c: Update mapping of GB 0x212c from latest
Unicode tables.

24 years agoUpdate.
Ulrich Drepper [Mon, 27 Dec 1999 07:55:47 +0000 (07:55 +0000)]
Update.

* sysdeps/unix/sysv/linux/fxstat64.c: Rename have_no_stat64 to
__have_no_stat64.
* sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
* sysdeps/unix/sysv/linux/xstat64.c: Likewise.

24 years agoUpdate.
Ulrich Drepper [Mon, 27 Dec 1999 06:14:39 +0000 (06:14 +0000)]
Update.

1999-12-26  Ulrich Drepper  <drepper@cygnus.com>

* sysdeps/unix/sysv/linux/mips/bits/resource.h: Remove inclusion
of <asm/resource.h>.

24 years agoUpdate.
Ulrich Drepper [Mon, 27 Dec 1999 06:09:11 +0000 (06:09 +0000)]
Update.

1999-12-26  Philip Blundell  <philb@gnu.org>

* sysdeps/unix/sysv/linux/arm/syscalls.list: Remove vm86.  Set
argument count for `syscall' to 7.
* sysdeps/unix/sysv/linux/arm/sysdep.h: Add support for syscalls
with more than five arguments.
(DOARGS_5, UNDOARGS_5): Don't corrupt the calling stack frame.

24 years agoUpdate.
Ulrich Drepper [Mon, 27 Dec 1999 05:05:12 +0000 (05:05 +0000)]
Update.

* locale/programs/ld-collate.c (collate_output): Don't start with empty
extrapool and indirectpool obstacks since we need the offsets to be
nonzero.
(collate_read): Call load_locale, not find_locale.
* locale/programs/ld-ctype.c (ctype_finish): If LC_CTYPE category
wasn't defined in the file also initialize repertoire if possible.
* locale/programs/ld-time.c (time_finish): Fix message string.
* locale/programs/linereader.c: Cast parameters of lr_error to
correct type to prevnet warning.
* locale/programs/localedef.c (load_locale): New file.
* locale/programs/localedef.h: Add its prototype.
* locale/programs/repertoire.c (repertoire_new_char): Add missing
parameters to lr_error call.

* localedata/Makefile: Enable running tests again.
* localedata/tests/test2.def: Adjust syntax to new specification.
* localedata/tests/test3.def: Likewise.
* localedata/tst-trans.sh: Redirect output of program into file.

* string/strcoll.c: Fix many error in new implementation to make it
pass (at least) the test suite.

* locale/Makefile: Don't link localedef statically anymore.

* locale/ld-collate.c (struct element_t): Add field is_character and
use it to distinguish real character from collating elements and
symbols.
* locale/programs/ld-time.c: Likewise.

24 years agoUpdate.
Ulrich Drepper [Sun, 26 Dec 1999 19:11:05 +0000 (19:11 +0000)]
Update.

1999-12-26  Ulrich Drepper  <drepper@cygnus.com>

* ld-collate.c (struct element_t): Add field is_character and use it
to distinguish real character from collating elements and symbols.
(new_element): Take new parameter to initialize is_character.  Change
all callers.
(handle_ellipsis): Use is_character field to make sure ellipsis is
only used with characters.
(collate_read): Fix reading of collating elements.

* string/strxfrm.c: Correct loop end detection and memory access
in the little optimization at the end.

* locale/programs/ld-monetary.c (monetary_finish): Correct code to
emit warnings.  Provide default value for mon_decimal_point.

* locale/programs/ld-collate.c (collate_finish): Don't crash if this
category wasn't defined.
(collate_output): Likewise.

* locale/programs/ld-address.c: Don't emit message about not defined
category if be_quiet.
* locale/programs/ld-ctype.c: Likewise.
* locale/programs/ld-identification.c: Likewise.
* locale/programs/ld-measurement.c: Likewise.
* locale/programs/ld-messages.c: Likewise.
* locale/programs/ld-monetary.c: Likewise.
* locale/programs/ld-name.c: Likewise.
* locale/programs/ld-numeric.c: Likewise.
* locale/programs/ld-paper.c: Likewise.
* locale/programs/ld-telephone.c: Likewise.

* locale/programs/locfile.c (write_locale_data): Correct memory
allocation for fname.

24 years agoUpdate.
Ulrich Drepper [Sun, 26 Dec 1999 09:07:14 +0000 (09:07 +0000)]
Update.

* collate-test.c (main): Correct logic in test.

24 years agoUpdate.
Ulrich Drepper [Sun, 26 Dec 1999 08:47:27 +0000 (08:47 +0000)]
Update.

1999-12-26  Ulrich Drepper  <drepper@cygnus.com>

* tst-trans.sh: Use correct name for dynamic loader.

24 years agoUpdate.
Ulrich Drepper [Sun, 26 Dec 1999 07:29:11 +0000 (07:29 +0000)]
Update.

* locale/programs/ld-collate.c (read_directions): Fix a few messages.
(collate_finish): Test that position is used in all sections for
a level or in none.

* string/strxfrm.c: Optimize a bit.  We don't need the highest bit
of the index returned by findidx.

* string/strcoll.c: Complete rewrite for new collate implementation.
* wcsmbs/wcscoll.c: Don't use strcoll.c, implement dummy implementation
locally.

24 years agoUpdate.
Ulrich Drepper [Sat, 25 Dec 1999 23:41:39 +0000 (23:41 +0000)]
Update.

1999-12-25  Ulrich Drepper  <drepper@cygnus.com>

* locale/C-collate.c (_nl_C_LC_COLLATE): Add one more entry for the
indirect table.
* locale/langinfo.h: Likewise.
* locale/categories.def: Likewise.  Remove reference to postload
functions.
* locale/lc-collate.c (_nl_postload_collate): Removed.  Also remove
__collate_tablemb, __collate_weightmb, and __collate_extramb.
* locale/localeinfo.h: Remove declaration for removed variables above.
Remove prototype for _nl_get_era_entry.
* locale/weight.h: Complete rewrite for new collate implementation.
* locale/programs/ld-collate.c: Many changes to make output file
usable in strxfrm/strcoll.
* string/strxfrm.c: Complete rewrite for new collate implementation.
* wcsmbs/wcsxfrm.c: Don't use strxfrm.c, implement dummy implementation
locally.

1999-12-25  Shinya Hanataka  <hanataka@abyss.rim.or.jp>

* locale/programs/ld-ctype.c (allocate_arrays): Correctly assign
transformation values for chars >255.
* wctype/wctrans.c: Return pointer unmodified.

24 years agoUpdate.
Ulrich Drepper [Fri, 24 Dec 1999 08:27:33 +0000 (08:27 +0000)]
Update.

1999-12-24  Ulrich Drepper  <drepper@cygnus.com>

* sysdeps/posix/system.c (__libc_system): Check whether command
processor is available if LINE is NULL.  Don't return immediately
if wait call returned with EINTR.
Patches by Geoff Clare <gwc@unisoft.com> (PR libc/1497 and libc/1498).

24 years agoUpdate.
Ulrich Drepper [Fri, 24 Dec 1999 05:55:50 +0000 (05:55 +0000)]
Update.

1999-12-23  Ulrich Drepper  <drepper@cygnus.com>

* locale/programs/ld-monetary.c (monetary_finish): Add cast to
prevent warning.

* locale/programs/ld-collate.c: Implement writing out multibyte
collation data.

* locale/setlocale.c (setlocale): Allow setting LC_COLLATE again.
* locale/localeinfo.h: Declare variables only for currently implemented
collate functionality.  Remove FORWARD_CHAR and ELLIPSIS_CHAR.
* locale/lc-collate.c: Define variables only for currently implemented
functionality.
* locale/langinfo.h: Define symbols only for currently implemented
functionality.
* locale/categories.def: Define elements for currently implemented
functionality.
* locale/C-collate.c: Comment out definitions of arrays with symbol
name definitions etc.
(_nl_C_LC_COLLATE): Update for currently defined information.

* intl/libintl.h: Remove dcgettext macro definition.
* intl/gettextP.h: Declare _nl_msg_cat_cntr.

* locale/iso-4217.def: Add NAD.  Remove a few obsolete entries.

* sysdeps/generic/glob.c (glob): Pass alternate file access functions
also in recursive call.  Patch by Joe Orton <joe@orton.demon.co.uk>.

1999-12-22  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Use proper type
for __fenv_stfsr argument.
* sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
truncate64, ftruncate64, fstat64, lstat64, stat64 and mmap2.
Remove ugetrlimit.
* sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c: New file.
* sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h
(XSTAT_IS_XSTAT64): Define.
* sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Add
__libc_lseek64, __libc_pread, __libc_pread64, __libc_pwrite
and __libc_pwrite64.
Remove oldgetrlimit and oldsetrlimit.
* sysdeps/unix/sysv/linux/sparc/sparc64/fxstat64.c: New file.
* sysdeps/unix/sysv/linux/sparc/sparc64/lxstat64.c: New file.
* sysdeps/unix/sysv/linux/sparc/sparc64/xstat64.c: New file.

* sysdeps/unix/sysv/linux/fxstat64.c (__fxstat64): Pass the buf
pointer to the syscall, not address of that pointer.
* sysdeps/unix/sysv/linux/lxstat64.c (__lxstat64): Likewise.
* sysdeps/unix/sysv/linux/xstat64.c (__xstat64): Likewise.
(__syscall_stat64): Provide proper prototype.

* sysdeps/unix/sysv/linux/ftruncate64.c (ftruncate64): Share
has_no_truncate64 between truncate64 and ftruncate64.
* sysdeps/unix/sysv/linux/truncate64.c (truncate64): Likewise.

* sysdeps/unix/sysv/linux/kernel-features.h
(__ASSUME_TRUNCATE64_SYSCALL, __ASSUME_MMAP2_SYSCALL,
__ASSUME_STAT64_SYSCALL): Define on Sparc for kernels >= 2.3.35.

1999-12-22  Andreas Jaeger  <aj@suse.de>

* sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __libc_lseek64,
__libc_pread, __libc_pread64, __libc_pwrite and __libc_pwrite64.

24 years agoUpdate.
Ulrich Drepper [Fri, 24 Dec 1999 05:42:34 +0000 (05:42 +0000)]
Update.

1999-12-23  Ulrich Drepper  <drepper@cygnus.com>

* locale/en_BW: New file.
* locale/en_ZW: New file.
Contributed by Schalk W. Cronjé <schalkc@ntaba.co.za>.

Contributed by Schalk W. Cronjé <schalkc@ntaba.co.za>.

24 years agoUpdate.
Ulrich Drepper [Tue, 21 Dec 1999 23:50:51 +0000 (23:50 +0000)]
Update.

1999-12-21  Ulrich Drepper  <drepper@cygnus.com>

* manager.c (pthread_handle_create): Set p_pid of new thread
before calling the callback function to report a new thread.

24 years agoUpdate.
Ulrich Drepper [Tue, 21 Dec 1999 17:50:57 +0000 (17:50 +0000)]
Update.

1999-12-21  Shinya Hanataka  <hanataka@abyss.rim.or.jp>

* locale/lc-time.c: Extend structure era_entry.
* locale/localeinfo.h: Likewise.
* locale/lc-time.c: Handle '-' direction used in locale's era part
properly.
* time/strptime.c: Likewise.
* time/strftime.c: Likewise.
* locale/programs/ld-time.c: Consider negative values in era part
of locale as B.C..
* time/strptime.c (strptime_internal): Merged Yoshiyama's
%E[CyY] implementation.

1999-12-21  Akira Yoshiyama  <yosshy@debian.or.jp>

* time/strptime.c (strptime_internal): Fix segV bugs of a couple
of recursive() call.
* time/strptime.c (strptime_internal): Implement `%EC',`%Ey',`%EY'
parsing.

1999-12-21  Ulrich Drepper  <drepper@cygnus.com>

* sysdeps/arm/dl-machine.c (CLEAR_CACHE): Fix a2 value.
Patch by Scott Bambrough <scottb@netwinder.org>.

24 years agoUpdate.
Ulrich Drepper [Tue, 21 Dec 1999 16:33:57 +0000 (16:33 +0000)]
Update.

* sysdeps/unix/sysv/linux/pread.c: Fix typo.

24 years agoUpdate.
Ulrich Drepper [Tue, 21 Dec 1999 16:25:25 +0000 (16:25 +0000)]
Update.

1999-12-21  Andreas Schwab  <schwab@suse.de>

* include/unistd.h: Declare __libc_lseek.

1999-12-21  Andreas Jaeger  <aj@suse.de>

* stdlib/longlong.h: Remove __P.

24 years agoUpdate.
Ulrich Drepper [Tue, 21 Dec 1999 16:15:04 +0000 (16:15 +0000)]
Update.

1999-12-21  Andreas Jaeger  <aj@suse.de>

* sysdeps/powerpc/fpu/libm-ulps: New file.

24 years agoUpdate.
Ulrich Drepper [Tue, 21 Dec 1999 16:09:56 +0000 (16:09 +0000)]
Update.

1999-12-21  Ulrich Drepper  <drepper@cygnus.com>

* sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Include sys/ucontext.h
and remove definitions for NREGS, greg_t, gregset_t, and fpregset_t.

24 years agoUpdate.
Ulrich Drepper [Tue, 21 Dec 1999 16:03:22 +0000 (16:03 +0000)]
Update.

1999-12-21  Andreas Jaeger  <aj@suse.de>

* sysdeps/unix/sysv/linux/m68k/putpmsg.c: Add missing #.
* sysdeps/unix/sysv/linux/mips/putpmsg.c: Likewise.
* sysdeps/unix/sysv/linux/powerpc/putpmsg.c: Likewise.
* sysdeps/unix/sysv/linux/mips/getmsg.c: Add missing #.
* sysdeps/unix/sysv/linux/mips/putmsg.c: Likewise.
* sysdeps/unix/sysv/linux/m68k/getmsg.c: Likewise.
* sysdeps/unix/sysv/linux/m68k/putmsg.c: Likewise.
* sysdeps/unix/sysv/linux/powerpc/getmsg.c: Likewise.
* sysdeps/unix/sysv/linux/powerpc/putmsg.c: Likewise.
* sysdeps/unix/sysv/linux/m68k/getpmsg.c: Add missing #.
* sysdeps/unix/sysv/linux/mips/getpmsg.c: Likewise.
* sysdeps/unix/sysv/linux/powerpc/getpmsg.c: Likewise.

24 years agoUpdate.
Ulrich Drepper [Tue, 21 Dec 1999 08:10:06 +0000 (08:10 +0000)]
Update.

1999-12-21  Ulrich Drepper  <drepper@cygnus.com>

* sysdeps/unix/sysv/linux/i386/getmsg.c: New file.
* sysdeps/unix/sysv/linux/i386/getpmsg.c: New file.
* sysdeps/unix/sysv/linux/i386/putmsg.c: New file.
* sysdeps/unix/sysv/linux/i386/putpmsg.c: New file.
* sysdeps/unix/sysv/linux/m68k/getmsg.c: New file.
* sysdeps/unix/sysv/linux/m68k/getpmsg.c: New file.
* sysdeps/unix/sysv/linux/m68k/putmsg.c: New file.
* sysdeps/unix/sysv/linux/m68k/putpmsg.c: New file.
* sysdeps/unix/sysv/linux/mips/getmsg.c: New file.
* sysdeps/unix/sysv/linux/mips/getpmsg.c: New file.
* sysdeps/unix/sysv/linux/mips/putmsg.c: New file.
* sysdeps/unix/sysv/linux/mips/putpmsg.c: New file.
* sysdeps/unix/sysv/linux/powerpc/getmsg.c: New file.
* sysdeps/unix/sysv/linux/powerpc/getpmsg.c: New file.
* sysdeps/unix/sysv/linux/powerpc/putmsg.c: New file.
* sysdeps/unix/sysv/linux/powerpc/putpmsg.c: New file.
* sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add getpmsg and
putpmsg.

1999-12-20  Ulrich Drepper  <drepper@cygnus.com>

* sysdeps/unix/sysv/linux/lxstat64.c: Include "kernel-features.h"
before testing for __ASSUME_STAT64_SYSCALL.
* sysdeps/unix/sysv/linux/fxstat64.c: Likewise.
* sysdeps/unix/sysv/linux/xstat64.c: Likewise.

1999-12-20  Andreas Schwab  <schwab@suse.de>

* manual/install.texi (Running make install): Clearify that
install_root should be an absolute file name.

* iconv/gconv.c (__gconv): Deal with outbuf being NULL.

* iconv/iconv.c (iconv): Allow omitting output buffer if no input
buffer is given to place conversion descriptor in initial state.
* iconvdata/gconv-modules: Correct aliases CSPC850MULTILINGUAL and
CSPC862LATINHEBREW.
* iconvdata/gconv-modules: Add aliases GB2312 and csGB2312
(according to IANA registry).
Reported by Bruno Haible <haible@ilog.fr>.

* iconvdata/johab.c: Correct completely broken conversion to JOHAB.

24 years agoUpdate.
Ulrich Drepper [Tue, 21 Dec 1999 00:55:57 +0000 (00:55 +0000)]
Update.

1999-12-20  Ulrich Drepper  <drepper@cygnus.com>

* locales/af_ZA: New file.

24 years agoUpdate.
Ulrich Drepper [Mon, 20 Dec 1999 22:08:01 +0000 (22:08 +0000)]
Update.

1999-12-20  Ulrich Drepper  <drepper@cygnus.com>

* locale/categories.def: Remove most of the collate definitions.
* locale/langinfo.h: Comment out corresponding definitions.
* locale/programs/locale-spec.c (locale_special): Don't recognize the
collate names yet.
* locale/programs/ld-collate.c: Correct and optimize computation of
weights.  Set up list of all definitions correctly.  Start writing
function to generate output file.

* locale/programs/ld-ctype.c (allocate_arrays): Increment counter in
loop to compute default mapping.

24 years agoUpdate.
Ulrich Drepper [Sun, 19 Dec 1999 21:47:42 +0000 (21:47 +0000)]
Update.

1999-12-19  Ulrich Drepper  <drepper@cygnus.com>

* sysdeps/unix/sysv/linux/powerpc/pread.c: Define __libc_* variant for
cancelation wrapper.
* sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise.
* sysdeps/unix/sysv/linux/powerpc/pwrite.c: Likewise.
* sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.

24 years agoUpdate.
Ulrich Drepper [Sun, 19 Dec 1999 19:51:55 +0000 (19:51 +0000)]
Update.

1999-12-19  Andreas Jaeger  <aj@suse.de>

* sysdeps/generic/libc-start.c: Remove declaration of
__libc_open.  Move declaration of __libc_fcntl to ...
* include/fcntl.h: ...here.

* include/unistd.h: Move __libc_open and __libc_open64 to ...
* include/fcntl.h: ...here.

* malloc/malloc.h (__attribute_malloc__): Only define if hasn't
happened yet.

* malloc/Versions: __libc_freeres was exported with glibc 2.1.3,
rename label.

24 years agoUpdate.
Ulrich Drepper [Sun, 19 Dec 1999 19:14:15 +0000 (19:14 +0000)]
Update.

* sysdeps/unix/sysv/linux/bits/resource.h: Remove <asm/resource.h>
inclusion.

1999-12-19  Andreas Jaeger  <aj@suse.de>

* include/string.h: Mark __strndup with __attribute_malloc__.

1999-12-19  Ulrich Drepper  <drepper@cygnus.com>

24 years agoUpdate.
Ulrich Drepper [Sun, 19 Dec 1999 08:44:05 +0000 (08:44 +0000)]
Update.

* malloc/malloc.h: Make malloc, calloc, realloc, valloc, pvalloc,
and __default_morecore with __attribute_malloc__.

24 years agoUpdate.
Ulrich Drepper [Sun, 19 Dec 1999 08:35:44 +0000 (08:35 +0000)]
Update.

* locale/langinfo.h: Always define CODESET.
(CODESET): Define also as macro.

24 years agoUpdate.
Ulrich Drepper [Sun, 19 Dec 1999 08:29:56 +0000 (08:29 +0000)]
Update.

1999-12-19  Ulrich Drepper  <drepper@cygnus.com>

* stdio-common/printf_fp.c (__printf_fp): Allocate buffer to
generate mantissa output in using malloc if it is larger than
20000 characters.
Reported by Jim Meyering <meyering@ascend.com>.

24 years agoUpdate.
Ulrich Drepper [Sun, 19 Dec 1999 08:08:59 +0000 (08:08 +0000)]
Update.

* misc/sys/cdefs.h: Define __attribute_malloc__ according to
available gcc version.
* string/string.h: Mark strdup, __strdup, and strndup with
__attribute_malloc__.
* stdlib/stdlib.h: Make malloc, calloc, realloc, and valloc with
__attribute_malloc__.
* malloc/malloc.h: Make malloc, calloc, realloc, valloc, pvallc,
__morecore, and __default_morecore with __attribute_malloc__.
Provide default definition for __attribute_malloc__.
* libio/stdio.h: Make tempnam with __attribute_malloc__.

24 years agoUpdate.
Ulrich Drepper [Sun, 19 Dec 1999 05:29:07 +0000 (05:29 +0000)]
Update.

1999-12-18  Ulrich Drepper  <drepper@cygnus.com>

* include/unistd.h: Declare __libc_open64, __libc_lseek64,
__libc_pread, __libc_pread64, __libc_pwrite, and __libc_pwrite64.
* io/Versions: Export __libc_open64 and __libc_lseek64.
* posix/Versions: Export __libc_pread, __libc_pread64, __libc_pwrite,
and __libc_pwrite64.
* sysdeps/generic/open64.c: Define __libc_* variant for cancelation
wrapper.
* sysdeps/generic/pread.c: Likewise.
* sysdeps/generic/pread64.c: Likewise.
* sysdeps/generic/pwrite.c: Likewise.
* sysdeps/generic/pwrite64.c: Likewise.
* sysdeps/posix/open64.c: Likewise.
* sysdeps/posix/pread.c: Likewise.
* sysdeps/posix/pread64.c: Likewise.
* sysdeps/posix/pwrite.c: Likewise.
* sysdeps/posix/pwrite64.c: Likewise.
* sysdeps/unix/sysv/linux/llseek.c: Likewise.
* sysdeps/unix/sysv/linux/pread.c: Likewise.
* sysdeps/unix/sysv/linux/pread64.c: Likewise.
* sysdeps/unix/sysv/linux/pwrite.c: Likewise.
* sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
* sysdeps/unix/sysv/linux/i386/pread.c: Likewise.
* sysdeps/unix/sysv/linux/i386/pread64.c: Likewise.
* sysdeps/unix/sysv/linux/i386/pwrite.c: Likewise.
* sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.

* sysdeps/posix/open64.c: Help gcc generating better code.

* sysdeps/generic/libc-start.c (check_one_fd): Use __libc_open
instead of __open.

24 years agoUpdate.
Ulrich Drepper [Sun, 19 Dec 1999 02:59:06 +0000 (02:59 +0000)]
Update.

1999-12-11  H.J. Lu  <hjl@gnu.org>

* sysdeps/generic/libc-start.c (check_one_fd): Use __libc_fcntl
instead of __fcntl.

24 years agoUpdate.
Ulrich Drepper [Sun, 19 Dec 1999 01:51:10 +0000 (01:51 +0000)]
Update.

* iconvdata/isiri-3342.c: New file.
* iconvdata/Makefile (modules): Add ISIRI-3342.
(distribute): Add isiri-3342.c.
(gen-8bit-gap-modules): Add isiri-3342.
* iconvdata/gconv-modules: Add entries for ISIRI-3342.

24 years agoUpdate.
Ulrich Drepper [Sun, 19 Dec 1999 00:32:58 +0000 (00:32 +0000)]
Update.

* malloc/Versions: Export __libc_freeres for GLIBC_2.1.

24 years agoUpdate.
Ulrich Drepper [Sun, 19 Dec 1999 00:04:05 +0000 (00:04 +0000)]
Update.

1999-12-18  Ulrich Drepper  <drepper@cygnus.com>

* sysdeps/unix/sysv/linux/i386/setrlimit.c: Declare local variable
result if necessary.

* sysdeps/unix/sysv/linux/i386/bits/resource.h: Don't depend on the
unreliable kernel headers.
* sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
* sysdeps/unix/sysv/linux/alpha/bits/resource.h: New file.
* sysdeps/unix/sysv/linux/mips/bits/resource.h: New file.

1999-12-18  Andreas Jaeger  <aj@suse.de>

* config.make.in (datadir): Added.
Closes PR libc/1491. Patch by dervishd@jazzfree.com.

1999-12-18  Andreas Jaeger  <aj@suse.de>

* sysdeps/unix/sysv/linux/ftruncate64.c (ftruncate64): Save and
set errno.
* sysdeps/unix/sysv/linux/truncate64.c (truncate64): Likewise.

1999-12-18  Andreas Jaeger  <aj@suse.de>

* sysdeps/unix/sysv/linux/fxstat64.c: Rewrite to use fstat64
syscall if available.
* sysdeps/unix/sysv/linux/lxstat64.c: Likewise for lstat64.
* sysdeps/unix/sysv/linux/xstat64.c: Likewise for stat64.

* sysdeps/unix/sysv/linux/kernel-features.h
(__ASSUME_STAT64_SYSCALL): New.

1999-12-17  Scott Bambrough  <scottb@netwinder.org>

* sysdeps/arm/dl-machine.h (CLEAR_CACHE): New macro to force a
cache flush.
* elf/dl-reloc.c (_dl_relocate_object): Add call to flush cache
after .text segment fixups.

1999-12-16  Andreas Jaeger  <aj@suse.de>

* rt/aio.h: Remove erroneous __restrict declarations.

1999-12-18  Ulrich Drepper  <drepper@cygnus.com>

* scripts/rellns-sh: Find pwd program also in /usr/bin and let shell
do the job if it is there neither.
Patch by David R. Conrad <drc@adni.net> (PR libc/1485).

1999-12-16  Andreas Jaeger  <aj@suse.de>

* sysdeps/ieee754/bits/nan.h (NAN): Rename union to avoid
duplicate definition with function __nan.
Closes PR libc/1487 reported by <diana@kai.com>.

* string/bits/string2.h (__strsep): Help gcc optimizing string access.

24 years agoUpdate.
Ulrich Drepper [Sat, 18 Dec 1999 19:45:25 +0000 (19:45 +0000)]
Update.

1999-12-17  Ulrich Drepper  <drepper@cygnus.com>

* string/bits/string2.h (__strtok_r_1c): Help gcc optimizing string
access.

* locale/programs/ld-collate.c: Implement handling of absolute
ellipsis.  Parsing of file and constructing the internal data
structures should now be complete.
(collate_finish): Start adding support to generate the data
structures which are written out to the file.

* intl/dcgettext.c: Rewrite to handle caching of previous results here
instead of in the dcgettext macro.
* intl/libintl.h (dcgettext): Don't define for systems using this
glibc or systems with tsearch.

* sysdeps/generic/mathdef.h: Protect definitions for math.h
against double inclusion.
* sysdeps/alpha/fpu/bits/mathdef.h: Likewise.
* sysdeps/i386/fpu/bits/mathdef.h: Likewise.
* sysdeps/m68k/fpu/bits/mathdef.h: Likewise.
* sysdeps/powerpc/fpu/bits/mathdef.h: Likewise.

* sysdeps/i386/fpu/libm-test-ulps: Add more deltas (are mobile PIIs
that different?).

1999-12-17  Andreas Jaeger  <aj@suse.de>

* rt/aio.h (struct aiocb64): Add member __next_prio to sync the
struct with aiocb.

* rt/Makefile (tests): Added tst-aio64.
Added dependency rules for tst-aio64.

* rt/tst-aio64.c: New file, copied from tst-aio.c and changed for
64bit tests.

1999-12-15  Thorsten Kukuk  <kukuk@suse.de>

* sysdeps/unix/sysv/linux/alpha/oldgetrlimit64.c: Removed.
* sysdeps/unix/sysv/linux/alpha/oldsetrlimit64.c: Removed.
* sysdeps/unix/sysv/linux/bits/resource.h: Change RLIM_INFINITY back to
old value (signed long).
* sysdeps/unix/sysv/linux/i386/bits/resource.h: New, with unsigned
long RLIM_INFINITY.
* sysdeps/unix/sysv/linux/getrlimit.c: Moved from here to ...
* sysdeps/unix/sysv/linux/i386/getrlimit.c: ... here.
* sysdeps/unix/sysv/linux/getrlimit64.c: Moved from here to ...
* sysdeps/unix/sysv/linux/i386/getrlimit64.c: ... here.
* sysdeps/unix/sysv/linux/oldgetrlimit64.c: Moved from here to ...
* sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: ... here.
* sysdeps/unix/sysv/linux/oldsetrlimit64.c: Moved from here to ...
* sysdeps/unix/sysv/linux/i386/oldsetrlimit64.c: ... here.
* sysdeps/unix/sysv/linux/setrlimit.c: Moved from here to ...
* sysdeps/unix/sysv/linux/i386/setrlimit.c: ... here.
* sysdeps/unix/sysv/linux/setrlimit64.c: Moved from here to ...
* sysdeps/unix/sysv/linux/i386/setrlimit64.c: ... here.
* sysdeps/unix/sysv/linux/sparc/bits/resource.h: New.
* sysdeps/unix/sysv/linux/sparc/sparc64/oldgetrlimit64.c: Removed.
* sysdeps/unix/sysv/linux/sparc/sparc64/oldsetrlimit64.c: Removed.

1999-12-17  Andreas Jaeger  <aj@suse.de>

* elf/ldconfig.c: Add new option -l to manualy link shared
libraries.
(options): Added option.
(parse_opt): Set option.
(main): Handle option.
(manual_link): New function.

1999-12-17  Thorsten Kukuk  <kukuk@suse.de>

* string/bits/string2.h: Fix patch from 1999-12-07.

1999-12-16  Ulrich Drepper  <drepper@cygnus.com>

* sysdeps/generic/strsep.c: If delim string has only one character
don't run over end of string.

* locale/programs/ld-collate.c (insert_weights): Also update next
pointer of last cursor element.
(insert_value): Return nonzero value if nothing got inserted.
(handle_ellipsis): Don't do anything if to-value cannot be inserted.

1999-12-10  Jakub Jelinek  <jakub@redhat.com>

* stdlib/longlong.h (__sparc_v9__): Use %rDIGIT instead of %DIGIT
where appropriate.

1999-12-10  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (__sigaction):
Copy sa_flags into kernel sigaction structure.

1999-12-14  Andreas Jaeger  <aj@suse.de>

* string/tester.c (test_strsep): More tests for access beyond
the final NUL.  The first two tests come from PR libc/1486 by
martinea@iro.umontreal.ca.

1999-12-14  Thorsten Kukuk  <kukuk@suse.de>

* nis/ypclnt.c: Correct handling of cached client handles.
(__xdr_ypresp_all): Call callback function for errors, too,
like Solaris does.
* nis/nss_compat/compat-grp.c: Make sure errno is always set correct.
* nis/nss_compat/compat-initgroups.c: Likewise.
* nis/nss_compat/compat-spwd.c: Likewise.
* nis/nss_nis/nis-alias.c: Likewise.
* nis/nss_nis/nis-ethers.c: Likewise.
* nis/nss_nis/nis-grp.c: Likewise.
* nis/nss_nis/nis-hosts.c: Likewise.
* nis/nss_nis/nis-netgrp.c: Likewise.
* nis/nss_nis/nis-publickey.c: Likewise.
* nis/nss_nis/nis-service.c: Likewise. Also use services.byservicename
Map if available, optimize query if name/port and protocol is known.

24 years agoUpdate.
Ulrich Drepper [Mon, 13 Dec 1999 07:40:47 +0000 (07:40 +0000)]
Update.

1999-12-12  Ulrich Drepper  <drepper@cygnus.com>

* locale/programs/ld-collate.c (collate_read): Make symbolic
ellipsis work.  Remove old and unused code.

24 years agoUpdate.
Ulrich Drepper [Sat, 11 Dec 1999 20:22:01 +0000 (20:22 +0000)]
Update.

1999-12-11  Ulrich Drepper  <drepper@cygnus.com>

* locale/programs/ld-collate.c (collate_read): Implement
reorder-section handling.

24 years agoUpdate.
Ulrich Drepper [Sat, 11 Dec 1999 07:25:44 +0000 (07:25 +0000)]
Update.

* locale/programs/ld-collate.c: Implement "copy" in LC_COLLATE.

24 years agoUpdate.
Ulrich Drepper [Sat, 11 Dec 1999 05:15:37 +0000 (05:15 +0000)]
Update.

* locale/programs/ld-collate.c (collate_read): Add handling of
reorder-after.