external/glibc.git
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.

24 years agoUpdate.
Ulrich Drepper [Sat, 11 Dec 1999 02:51:13 +0000 (02:51 +0000)]
Update.

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

* locale/programs/ld-collate.c: Many changes to implement parsing
of collation definition (still not complete).

24 years agoUpdate.
Ulrich Drepper [Fri, 10 Dec 1999 04:37:40 +0000 (04:37 +0000)]
Update.

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

* nis/nss_compat/compat-pwd.c (internal_getpwuid_r): Always set
errno to ENOENT when returning NSS_STATUS_NOTFOUND.
Reported by Christian Starkjohann <cs@obdev.at>.

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

* sysdeps/i386/fpu/libm-test-ulps: Added some ulps.

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

* stdlib/longlong.h: Update from latest egcs version.

* sysdeps/sparc/fpu/fegetenv.c: Add semicolons.

* sysdeps/unix/sysv/linux/bits/errno.h (__errno_location): __THROW
has to preceede __attribute__, otherwise g++ barfs.

* sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Make things compile
on sparc64-*-linux.

* sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Changed to
use sigcontext.
* sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.

1999-12-05  Wolfram Gloger  <wg@malloc.de>

* malloc/malloc.c (arena_get2): If generating a new arena fails,
try to generate a minimal one and hope for mmap_chunk() to succeed
later.

1999-11-07  Wolfram Gloger  <wg@malloc.de>

* malloc/thread-m.h [NO_THREADS]: The mutex_* macros now let
mutex_t work as an `in-use' flag even without threads.
* malloc/malloc.c (USE_ARENAS): New feature flag, controls support
for multiple arenas separately from NO_THREADS.
(mALLOc, chunk_realloc, mEMALIGn, cALLOc) [USE_ARENAS]: try to
fall back to an mmap()ed arena when sbrk() has failed.

24 years agoUpdate.
Ulrich Drepper [Thu, 9 Dec 1999 19:07:23 +0000 (19:07 +0000)]
Update.

* sysdeps/unix/sysv/linux/Versions: Add getrlimit, setrlimit,
getrlimit64, setrlimit64 for GLIBC_2.1.3.
* sysdeps/unix/sysv/linux/i386/Versions: Add getrlimit, setrlimit,
getrlimit64, setrlimit64 for GLIBC_2.1.3.

24 years agoUpdate.
Ulrich Drepper [Thu, 9 Dec 1999 18:54:38 +0000 (18:54 +0000)]
Update.

* sysdeps/unix/sysv/linux/i386/Makefile: Add rules for
oldgetrlimit and oldsetrlimit.
* sysdeps/unix/sysv/linux/i386/syscalls.list: Add oldgetrlimit and
oldsetrlimit.
* sysdeps/unix/sysv/linux/Makefile: Move oldgetrlimit and
oldsetrlimit rules into 32-bit arch subdirs.
* sysdeps/unix/sysv/linux/syscalls.list: Likewise.

24 years agoUpdate.
Ulrich Drepper [Thu, 9 Dec 1999 08:21:40 +0000 (08:21 +0000)]
Update.

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

* locale/programs/ld-collate.c (insert_value): If this is the
first symbol the cursor can be the same as the next pointer.

24 years agoUpdate.
Ulrich Drepper [Thu, 9 Dec 1999 07:52:58 +0000 (07:52 +0000)]
Update.

* locale/programs/ld-ctype.c (ctype_output): Correct sizes of mapping
arrays.
(allocate_arrays): Allocate memory for map32.  Correctly install
default values in it and install defined mappings.

* locale/programs/ld-monetary.c (monetary_finish): Provide default
value for mon_grouping.

24 years agoUpdate.
Ulrich Drepper [Thu, 9 Dec 1999 01:39:16 +0000 (01:39 +0000)]
Update.

* elf/readlib.c: Include a.out.h last since the Linux/Alpha
headers are not clean enough.

24 years agoUpdate.
Ulrich Drepper [Wed, 8 Dec 1999 23:48:24 +0000 (23:48 +0000)]
Update.

* sysdeps/unix/sysv/linux/getrlimit.c: Remove K&R compatibility.

* sysdeps/unix/sysv/linux/kernel-features.h: Define
__ASSUME_TRUNCATE64_SYSCALL and __ASSUME_MMAP2_SYSCALL for 2.3.31
on x86.
* sysdeps/unix/sysv/linux/ftruncate64.c: New file.
* sysdeps/unix/sysv/linux/truncate64.c: New file.
* sysdeps/unix/sysv/linux/i386/mmap.S: Allow using mmap2.
* sysdeps/unix/sysv/linux/i386/mmap64.S: New file.

24 years agoUpdate.
Ulrich Drepper [Wed, 8 Dec 1999 19:53:27 +0000 (19:53 +0000)]
Update.

* ctype/Versions: Add __ctype32_tolower and __ctype32_toupper.
* ctype/ctype-info.c: Define __ctype32_tolower and __ctype32_toupper.
* locale/C-ctype.c: Add _nl_C_LC_CTYPE_toupper32 and
_nl_C_LC_CTYPE_tolower32 tables.
Don't compile it names of 14652 classes and maps.
* locale/langinfo.h: Define _NL_CTYPE_TOUPPER32 and
_NL_CTYPE_TOLOWER32.
* locale/lc-ctype.c (_nl_postload_ctype): Initialize __ctype32_toupper
and __ctype32_tolower.
* locale/programs/ld-ctype.c (struct locale_ctype_t): Add map32.
(ctype_output): Write out map32 values.
(allocate_arrays): Compute mapping tables correctly.
* wctype/wcfuncs.c (towlower): Use __ctype32_tolower.
(towupper): Use __ctype32_toupper.
* wctype/wctype.h: Optimize towupper and towlower for values < 256.

24 years agoUpdate.
Ulrich Drepper [Wed, 8 Dec 1999 18:54:19 +0000 (18:54 +0000)]
Update.

* locale/programs/ld-ctype.c (set_class_defaults): Correctly
determine tolower mapping for 8bit table if the tolower keyword is
not given.

24 years agoUpdate.
Ulrich Drepper [Wed, 8 Dec 1999 09:15:00 +0000 (09:15 +0000)]
Update.

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

* sysdeps/posix/getaddrinfo.c (gaih_inet): Don't fail if host has
only IPv6 address.  Reported by Artur Frysiak <wiget@pld.org.pl>.

24 years agoUpdate.
Ulrich Drepper [Wed, 8 Dec 1999 08:41:33 +0000 (08:41 +0000)]
Update.

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

* string/bits/string2.h (__memset_gc, __mempcpy_small, __strcpy_small,
__stpcpy_small): Cast switch expressions to int to shut up compiler
warnings.

24 years agoUpdate.
Ulrich Drepper [Wed, 8 Dec 1999 07:38:14 +0000 (07:38 +0000)]
Update.

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

* sysdeps/arm/dl-machine.h (elf_machine_rel): Fixup R_ARM_PC24
relocs if possible.

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

* sysdeps/unix/sysv/linux/setrlimit.c: First find out wether the
ugetrlimit syscall exists.

* sysdeps/unix/sysv/linux/getrlimit.c: Only put versions on
exported symbols.
* sysdeps/unix/sysv/linux/setrlimit.c: Likewise.

24 years agoUpdate.
Ulrich Drepper [Wed, 8 Dec 1999 04:56:09 +0000 (04:56 +0000)]
Update.

* iconvdata/ansi_x3.110.c (from_ansi_x3_110): Don't increment
pointers if character is illegal.
Reported by Bruno Haible <haible@ilog.fr>.

Reported by Bruno Haible <haible@ilog.fr>.

24 years agoUpdate.
Ulrich Drepper [Wed, 8 Dec 1999 04:02:45 +0000 (04:02 +0000)]
Update.

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

* iconv/gconv_db.c (gen_steps): Set __counter initialy to 1.
(increment_counter): New function.  Broken out of find_derivation.
(find_derivation): No need for a lock.  Increment counter only when
the derivation was already available.
* iconv/gconv_dl.c: Add debugging functions.
(known_compare): We have to use strcmp.

24 years agoUpdate.
Ulrich Drepper [Tue, 7 Dec 1999 05:57:27 +0000 (05:57 +0000)]
Update.

* iconvdata/sami-ws2.c (CHARSET_NAME): Fix typo.
* iconvdata/iso_2033.c (CHARSET_NAME): Fix typo.
* iconvdata/ecma-cyrillic.c (CHARSET_NAME): Fix typo.
* iconvdata/gconv-modules: Correct ISO646-PT2 alias.  Add
SHIFT_JIS alias.
Reported by Bruno Haible <haible@ilog.fr>.

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

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

* locale/programs/xstrdup.c: It's _LIBC, not __LIBC.

24 years agoUpdate.
Ulrich Drepper [Sat, 4 Dec 1999 18:05:55 +0000 (18:05 +0000)]
Update.

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

* nss/getXXbyYY.c: Include <resolv.h>
(FUNCTION_NAME): Use res_ninit instead of res_init.

* nss/getXXbyYY_r.c [NEED__RES]: Include <resolv.h> for _res
declaration and prototypes.
Remove extra _res declaration.
(INTERNAL): Use thread aware res_ninit function.

* inet/gethstbyad_r.c: Include <resolv.h>.

* resolv/res_data.c: Update from Bind 8.2.2-P5.  Moved res_init to
res_libc.c.  Disabled unneeded functions.

* resolv/res_libc.c: New file.

* Versions.def: Add version GLIBC_2.2 for libpthread.
Add versions GLIBC_2.1 and GLIBC_2.2 for libresolv.

* include/resolv.h: Add internal interfaces.

* resolv/Makefile (routines): Add new files.
(libresolv-routines): Likewise.
(distribute): Likewise.

* resolv/gethnamaddr.c: Use thread safe resolver functions.
* resolv/nss_dns/dns-host.c: Likewise.
* resolv/nss_dns/dns-network.c: Likewise.

* resolv/arpa/nameser.h: Update from Bind 8.2.2-P5.
* resolv/nsap_addr.c: Likewise.
* resolv/res_comp.c: Likewise.
* resolv/res_debug.c: Likewise.
* resolv/res_init.c: Likewise.
* resolv/res_mkquery.c: Likewise.
* resolv/res_query.c: Likewise.
* resolv/res_send.c: Likewise.
* resolv/resolv.h: Likewise.

* resolv/Versions: Add __res_state and __res_ninit with version
GLIBC_2.2 to libc.
Add new interfaces with version GLIBC_2.2 to libresolv.

* resolv/Banner: Update.

* include/arpa/nameser_compat.h: New file.

* resolv/ns_name.c: New file from Bind 8.2.2-P5.
* resolv/ns_netint.c: Likewise.
* resolv/ns_parse.c: Likewise.
* resolv/ns_print.c: Likewise.
* resolv/ns_samedomain.c: Likewise.
* resolv/ns_ttl.c: Likewise.
* resolv/arpa/nameser_compat.h: Likewise.
* resolv/res_debug.h: Likewise.

Some patches are based on work done by Adam D. Bradley
<artdodge@cs.bu.edu>.

* sysdeps/unix/sysv/linux/configure.in: Remove check for ldconfig,
set always use_ldconfig instead.

24 years agoUpdate.
Ulrich Drepper [Sat, 4 Dec 1999 08:00:00 +0000 (08:00 +0000)]
Update.

1999-11-30  Andreas Jaeger  <aj@suse.de>

Add ldconfig:
* elf/Makefile (extra-objs): Added ldconfig-modules.
(ldconfig-modules): New.
Added vpath for xstrdup and xmalloc.
Check for use-ldconfig instead of has-ldconfig.
($(objpfx)ldconfig): New rule with dependencies.
(distribute): Add new files.

* sysdeps/unix/sysv/linux/sparc/readelflib.c: New file,
developed together with Jakub Jelinek <jakub@redhat.com>.
* sysdeps/generic/readelflib.c: Likewise.

* elf/cache.c: New file.
* elf/ldconfig.c: New file.
* elf/ldconfig.h: New file.
* elf/readlib.c: New file.

* Makefile (install): Remove flag -d in ldconfig call.

* configure.in: Rename has_ldconfig to use_ldconfig, set it to no
by default.

* config.make.in (has-ldconfig): Renamed to use-ldconfig, changed
comment.

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

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

* sysdeps/generic/bits/stropts.h: Update with LiS types and
values.  Patch by David Grothe <dave@gcom.com>.

* sysdeps/unix/sysv/linux/bits/types.h (__t_scalar_t, __t_uscalar_t):
Make long types.
* sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
* sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.

24 years agoUpdate.
Ulrich Drepper [Sat, 4 Dec 1999 05:54:36 +0000 (05:54 +0000)]
Update.

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

* locale/lc-time.c (_nl_get_era_entry): Separate eras
initialization as _nl_init_era_entry().
* locale/lc-time.c (_nl_get_era_nf_entry): New function.
* locale/lc-time.c (_nl_get_era_year_offset): New function.
* locale/lc-time.c (_nl_get_era_year_start): New function.
* locale/localeinfo.h: Declare new functions.
Define ERA_NAME_FORMAT_MEMBERS, ERA_M_NAME, ERA_M_FORMAT, ERA_W_NAME,
and ERA_W_FORMAT.

* hurd/hurdsig.c (_hurdsig_init): If __hurd_threadvar_stack_mask is
nonzero, use cthread_fork to create the signal thread.
* hurd/msgportdemux.c (_hurd_msgport_receive): Initialize
_hurd_msgport_thread here (to self).
* sysdeps/mach/hurd/fork.c (__fork): When __hurd_sigthread_stack_end
is zero, instead compute child signal thread's starting SP from parent
signal thread's current SP and the threadvar_stack variables.
* hurd/Versions (GLIBC_2.1.3): Add cthread_fork, cthread_detach.
These are now referenced weakly by _hurdsig_init.
* hurd/report-wait.c (_S_msg_report_wait): Fix typo:
&_hurd_itimer_thread not &_hurd_msgport_thread.
* hurd/hurdfchdir.c (_hurd_change_directory_port_from_fd): Rewrite
without HURD_DPORT_USE to clean up warnings.
* hurd/dtable.c (get_dtable_port): Likewise.

* hurd/hurdioctl.c (rectty_dtable): Renamed to install_ctty.
(install_ctty): Do the changing of the cttyid port cell here, inside
the critical section while we holding the dtable lock.
(_hurd_setcttyid, tiocsctty, tiocnotty): Use that instead of changing
the port cell and calling rectty_dtable.
(_hurd_locked_install_cttyid): New function, split out of install_ctty.
(install_ctty): Use it inside a critical section, with the lock held.
* sysdeps/mach/hurd/setsid.c (__setsid): Use
_hurd_locked_install_cttyid to effect the cttyid and dtable changes
after proc_setsid, having held the dtable lock throughout.
* hurd/dtable.c (ctty_new_pgrp): With the dtable lock held, check the
cttyid port for null and bail out early if so.  The dtable lock
serializes us after any cttyid change and its associated dtable update.

24 years agoUpdate.
Ulrich Drepper [Fri, 3 Dec 1999 08:32:19 +0000 (08:32 +0000)]
Update.

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

* posix/regex.c (SYNTAX): Make more portable.
Patch by Aharon Robbins <arnold@skeeve.com>.

24 years ago(SYNTAX): Add braces for correct evaluation.
Ulrich Drepper [Fri, 3 Dec 1999 08:28:03 +0000 (08:28 +0000)]
(SYNTAX): Add braces for correct evaluation.

24 years ago1999-11-18 Roland McGrath <roland@baalperazim.frob.com>
Roland McGrath [Fri, 3 Dec 1999 05:01:23 +0000 (05:01 +0000)]
1999-11-18  Roland McGrath  <roland@baalperazim.frob.com>

        * hurd/hurdsig.c (_hurdsig_init): If __hurd_threadvar_stack_mask is
        nonzero, use cthread_fork to create the signal thread.
        * hurd/msgportdemux.c (_hurd_msgport_receive): Initialize
        _hurd_msgport_thread here (to self).
        * sysdeps/mach/hurd/fork.c (__fork): When __hurd_sigthread_stack_end
        is zero, instead compute child signal thread's starting SP from parent
        signal thread's current SP and the threadvar_stack variables.
        * hurd/Versions (GLIBC_2.1.3): Add cthread_fork, cthread_detach.
        These are now referenced weakly by _hurdsig_init.

        * hurd/report-wait.c (_S_msg_report_wait): Fix typo:
        &_hurd_itimer_thread not &_hurd_msgport_thread.

1999-10-01  Roland McGrath  <roland@baalperazim.frob.com>

        * hurd/hurdfchdir.c (_hurd_change_directory_port_from_fd): Rewrite
        without HURD_DPORT_USE to clean up warnings.
        * hurd/dtable.c (get_dtable_port): Likewise.

        * hurd/hurdioctl.c (rectty_dtable): Renamed to install_ctty.
        (install_ctty): Do the changing of the cttyid port cell here, inside
        the critical section while we holding the dtable lock.
        (_hurd_setcttyid, tiocsctty, tiocnotty): Use that instead of changing
        the port cell and calling rectty_dtable.
        (_hurd_locked_install_cttyid): New function, split out of install_ctty.
        (install_ctty): Use it inside a critical section, with the lock held.
        * sysdeps/mach/hurd/setsid.c (__setsid): Use
        _hurd_locked_install_cttyid to effect the cttyid and dtable changes
        after proc_setsid, having held the dtable lock throughout.
        * hurd/dtable.c (ctty_new_pgrp): With the dtable lock held, check the
        cttyid port for null and bail out early if so.  The dtable lock
        serializes us after any cttyid change and its associated dtable update.

24 years ago1999-11-14 Roland McGrath <roland@baalperazim.frob.com>
Roland McGrath [Thu, 2 Dec 1999 19:51:24 +0000 (19:51 +0000)]
1999-11-14  Roland McGrath  <roland@baalperazim.frob.com>

* sysdeps/mach/hurd/nfs/nfs.h: New file, empty but for comments.
Its presence lets librpcsvc compile ok.  This from Mark Kettenis.
We don't install this file for users.
* sysdeps/mach/hurd/Dist: Add it.
* sysdeps/mach/hurd/Makefile [$(subdir) = sunrpc] (sysdep_headers):
Append nfs/nfs.h here.

24 years ago1999-11-14 Roland McGrath <roland@baalperazim.frob.com>
Roland McGrath [Thu, 2 Dec 1999 19:50:42 +0000 (19:50 +0000)]
1999-11-14  Roland McGrath  <roland@baalperazim.frob.com>

* sysdeps/mach/hurd/nfs/nfs.h: New file, empty but for comments.
Its presence lets librpcsvc compile ok.  This from Mark Kettenis.
We don't install this file for users.
* sysdeps/mach/hurd/Dist: Add it.
* sysdeps/mach/hurd/Makefile [$(subdir) = sunrpc] (sysdep_headers):
Append nfs/nfs.h here.

24 years ago(SYNTAX): Make more portable.
Ulrich Drepper [Thu, 2 Dec 1999 18:36:57 +0000 (18:36 +0000)]
(SYNTAX): Make more portable.

24 years agoUpdate.
Ulrich Drepper [Thu, 2 Dec 1999 08:21:38 +0000 (08:21 +0000)]
Update.

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

* sysdeps/generic/if_index.c (__protocol_available): Add missing
int for parameter.

* stdio/stdio.h: Fix typo.
Patches by Marcus G. Daniels <mgd@santafe.edu>.

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

* scripts/test-installation.pl (installation_problem): Filter out
libpthread_db.

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

* sysdeps/unix/sysv/linux/alpha/bits/types.h: Fix signedness of
__rlim_t and __rlim64_t.
* sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.

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

* sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
oldgetrlimit64 and oldsetrlimit64 for subdir = resource.
* sysdeps/unix/sysv/linux/Versions: Add getrlimit, setrlimit,
getrlimit64 and setrlimit64 to version GLIBC_2.1.3.
* sysdeps/unix/sysv/linux/setrlimit.c: Correct handling of old and
new kernel version.  Add symbol versions.
* sysdeps/unix/sysv/linux/syscalls.list: Add oldsetrlimit and
oldgetrlimit.
* sysdeps/unix/sysv/linux/alpha/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add s_getrlimit
and s_ugetrlimit.
* sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/getrlimit.c: New file.
* sysdeps/unix/sysv/linux/getrlimit64.c: New file.
* sysdeps/unix/sysv/linux/oldgetrlimit64.c: New file.
* sysdeps/unix/sysv/linux/oldsetrlimit64.c: New file.
* sysdeps/unix/sysv/linux/setrlimit64.c: New file.
* sysdeps/unix/sysv/linux/alpha/oldgetrlimit64.c: New file.
* sysdeps/unix/sysv/linux/alpha/oldsetrlimit64.c: New file.
* sysdeps/unix/sysv/linux/sparc/sparc64/oldgetrlimit64.c: New
file.
* sysdeps/unix/sysv/linux/sparc/sparc64/oldsetrlimit64.c: New
file.

24 years agoUpdate.
Ulrich Drepper [Thu, 2 Dec 1999 00:14:25 +0000 (00:14 +0000)]
Update.

* sysdeps/generic/sys/ptrace.h: Remove K&R compatibility.

24 years agoUpdate.
Ulrich Drepper [Thu, 2 Dec 1999 00:12:41 +0000 (00:12 +0000)]
Update.

* sysdeps/generic/usleep.c: Fix typo.

24 years agoUpdate.
Ulrich Drepper [Wed, 1 Dec 1999 23:16:28 +0000 (23:16 +0000)]
Update.

* sysdeps/unix/Makefile (param.h.dep): Filter out sys/param.h
itself.