external/glibc.git
24 years agoUpdate.
Andreas Jaeger [Tue, 5 Sep 2000 05:07:42 +0000 (05:07 +0000)]
Update.

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

* scripts/config.guess: New upstream version.
* scripts/config.sub: Likewise.
* manual/texinfo.tex: Likewise.

24 years agoNew upstream versions.
Andreas Jaeger [Tue, 5 Sep 2000 05:05:51 +0000 (05:05 +0000)]
New upstream versions.

24 years agoUpdate.
Ulrich Drepper [Tue, 5 Sep 2000 02:51:27 +0000 (02:51 +0000)]
Update.

2000-09-04  Andreas Schwab  <schwab@suse.de>

* elf/Makefile (all-dl-routines): New variable.
(elide-routines.os): Use it instead of $(dl-routines).
(all-rtld-routines): New variable.
(extra-objs): Use it instead of $(rtld-routines).
($(objpfx)dl-allobjs.os): Likewise.
* sysdeps/ia64/Makefile [$(subdir) = elf]: Modify
sysdep-dl-routines and sysdep_routines instead of rtld-routines
and dl-routines.

2000-09-03  Bruno Haible  <haible@clisp.cons.org>

* iconv/gconv_trans.c (__gconv_translit_find): Update open_count.
Set fname to NULL if the module wasn't found.

2000-09-03  Bruno Haible  <haible@clisp.cons.org>

* iconv/gconv_trans.c (__gconv_translit_find): Don't set need_so to
true if trans->name already ends in ".so".

2000-09-03  Bruno Haible  <haible@clisp.cons.org>

* iconv/gconv_int.h (__gconv_release_shlib): Change return type to
void.
* iconv/gconv_dl.c (do_release_shlib): Don't decrement the counter
below -TRIES_BEFORE_UNLOAD-1, to avoid wraparound.
(__gconv_release_shlib): Change return type to void.
* iconv/gconv_builtin.c (__gconv_get_builtin_trans): Don't set
step->__counter here.
* iconv/gconv_db.c (free_derivation): Don't call a step's destructor
if the reference is zero.
(release_step): New function.
(gen_steps): Always initialize the __counter to 1. Use release_step.
Don't call the destructor on the step whose initializer failed.
(increment_counter): Use release_step. Don't normally run destructors
here.
(__gconv_close_transform): Use release_step.

2000-09-03  Bruno Haible  <haible@clisp.cons.org>

* iconv/gconv_simple.c (encoding_mask, encoding_byte): Remove.
(__gconv_transform_internal_utf8) [BODY]: Use simple shifts instead.

2000-09-03  Bruno Haible  <haible@clisp.cons.org>

* iconvdata/euc-tw.c (BODY for FROM_LOOP): Initialize ch2 correctly.
If the first byte is 0x8E, don't ask for 4 bytes until it has been
verified that the second byte is valid. Leave it to cns11643_to_ucs4
to check for incomplete input.
* iconvdata/cns11643.h (cns11643_to_ucs4): The plane number is
ch - 0x20 - offset, not ch - 0x21 - offset. Upper bound for
__cns11643l1_to_ucs4_tab is 0x21f2, not 0x2196.
(ucs4_to_cns11643): Fix mapping for ranges 0x3105..0x3129 and
0x9f9d..0x9fa5.
* iconvdata/cns11643l1.h (cns11643l1_to_ucs4): Upper bound for
__cns11643l1_to_ucs4_tab is 0x21f2, not 0x2196.
(ucs4_to_cns11643l1): Fix mapping for range 0x3105..0x3129.
* iconvdata/cns11643l1.c (__cns11643l1_from_ucs4_tab6): Extend
upto index 0x0052.

2000-09-03  Bruno Haible  <haible@clisp.cons.org>

* iconv/gconv_db.c (find_derivation): Always use the least-cost
solution.

2000-09-03  Bruno Haible  <haible@clisp.cons.org>

* iconvdata/big5.c (BODY for FROM_LOOP): Bytes 0x81..0xA0, 0xFA..0xFF
are invalid.

2000-09-03  Bruno Haible  <haible@clisp.cons.org>

* iconvdata/jis0208.c (__jis0208_to_ucs): Map EUC-JP 0xA1C0 to U+005C.
* iconvdata/jis0212.c (__jisx0212_to_ucs): Map EUC-JP 0x8FA2B7 to
U+007E.

2000-09-03  Bruno Haible  <haible@clisp.cons.org>

* iconvdata/sjis.c (cjk_block1): Map 0x815F to U+005C.

2000-09-03  Bruno Haible  <haible@clisp.cons.org>

* iconvdata/iso_6937-2.c (to_ucs4): Map 0xB4 to U+00D7.

2000-09-03  Bruno Haible  <haible@clisp.cons.org>

* iconvdata/tst-tables.sh: New file.
* iconvdata/tst-table.sh: New file.
* iconvdata/tst-table-from.c: New file.
* iconvdata/tst-table-to.c: New file.
* iconvdata/tst-table-charmap.sh: New file.
* iconvdata/Makefile (test-srcs): Set to tst-table-from tst-table-to.
(distribute): Add tst-tables.sh, tst-table.sh, tst-table-charmap.sh,
tst-table-from.c, tst-table-to.c, EUC-JP.irreversible,
ISIRI-3342.irreversible, SJIS.irreversible.
(tests): Add dependency on tst-tables.out.
(tst-tables.out, tst-tables-clean): New rules.
(do-tests-clean, common-mostlyclean): Require tst-tables-clean.
* iconvdata/ISIRI-3342.irreversible: New file.
* iconvdata/EUC-JP.irreversible: New file.
* iconvdata/SJIS.irreversible: New file.

2000-09-04  Ulrich Drepper  <drepper@redhat.com>

* manual/locale.texi (General Numeric): Update description of
representation of the grouping information in the locale data.
Patch by Gaute B. Strokkenes <gs234@cam.ac.uk>.

Reported by Rob Levin <lilo@transvirtual.com>.

24 years agoUpdate.
Ulrich Drepper [Tue, 5 Sep 2000 02:41:25 +0000 (02:41 +0000)]
Update.

2000-09-03  Bruno Haible  <haible@clisp.cons.org>

* charmaps/EUC-TW: Add commented non-reversible mappings.

2000-09-03  Bruno Haible  <haible@clisp.cons.org>

* charmaps/CP949: New file.

2000-09-03  Bruno Haible  <haible@clisp.cons.org>

* charmaps/GB2312: Remove 0x80..0xA0, 0xAA..0xAF, 0xF8..FF.

2000-09-03  Bruno Haible  <haible@clisp.cons.org>

* charmaps/EUC-JP: Nonreversibly map 0xA1C0 to U+005C and 0x8FA2B7 to
U+007E.

24 years ago(General Numeric): Update information about grouping representation in locale data...
Ulrich Drepper [Mon, 4 Sep 2000 21:12:19 +0000 (21:12 +0000)]
(General Numeric): Update information about grouping representation in locale data. Describe new members in lconv introduced in C99.

24 years agoUpdate.
Andreas Jaeger [Mon, 4 Sep 2000 09:40:57 +0000 (09:40 +0000)]
Update.

* locale/programs/ld-monetary.c (monetary_read): Fix typo.
* iconv/iconv_prog.c (options): Fix typo.
Reported by dyky@kondara.org, closes PR libc/1885.

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

24 years agoUpdate
Andreas Jaeger [Mon, 4 Sep 2000 08:37:08 +0000 (08:37 +0000)]
Update

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

* sysdeps/generic/fegetenv.c: It's __fegetenv.
        Reported by Rob Levin <lilo@transvirtual.com>.

24 years agoIt's __fegetenv.
Andreas Jaeger [Mon, 4 Sep 2000 08:36:27 +0000 (08:36 +0000)]
It's __fegetenv.

24 years agoUpdate.
Ulrich Drepper [Sun, 3 Sep 2000 17:10:35 +0000 (17:10 +0000)]
Update.

2000-09-03  Ulrich Drepper  <drepper@redhat.com>

* time/sys/time.h (gettimeofday): Move restrict for tz parameter
to the typedefs of __timezone_ptr_t.
Reported by MATSUMURA Hiromitsu <coji2@mb.infoweb.ne.jp>.

2000-09-02  Jakub Jelinek  <jakub@redhat.com>

* nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Increment counter in
the loop.

2000-09-01  H.J. Lu  <hjl@gnu.org>

* Makeconfig (built-program-cmd): Don't use the dynamic linker
to run a binary if it is in $(tests-static).

* Rules (binaries-static): Add $(tests-static).

24 years agoUpdate.
Ulrich Drepper [Sun, 3 Sep 2000 16:55:13 +0000 (16:55 +0000)]
Update.

2000-09-03  Ulrich Drepper  <drepper@redhat.com>

* spinlock.h (testandset): Add cast to avoid warning.
Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.

24 years ago(built-program-cmd): Don't use the dynamic linker to run a binary if it is in $(tests...
Ulrich Drepper [Sun, 3 Sep 2000 16:49:49 +0000 (16:49 +0000)]
(built-program-cmd): Don't use the dynamic linker to run a binary if it is in $(tests-static).

24 years ago* sysdeps/pthread/timer_routines.c: Include stdlib.h for abort
Andreas Jaeger [Sat, 2 Sep 2000 17:42:10 +0000 (17:42 +0000)]
* sysdeps/pthread/timer_routines.c: Include stdlib.h for abort

prototype.
2000-09-02  Andreas Jaeger  <aj@suse.de>

* sysdeps/pthread/timer_routines.c: Include stdlib.h for abort
prototype.

24 years agoUpdate.
Andreas Jaeger [Sat, 2 Sep 2000 15:05:15 +0000 (15:05 +0000)]
Update.

2000-09-02  Andreas Jaeger  <aj@suse.de>

* sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Fixes for fcntl64.

* libio/fmemopen.c (fmemopen_close): Revert one part of last
patch.

24 years agoFixes for fcntl64.
Andreas Jaeger [Sat, 2 Sep 2000 15:03:41 +0000 (15:03 +0000)]
Fixes for fcntl64.

24 years agoUpdate.
Ulrich Drepper [Sat, 2 Sep 2000 04:45:14 +0000 (04:45 +0000)]
Update.

* iconvdata/big5hkscs.c: Regenerated from charmap.
* iconvdata/testdata/BIG5HKSCS: Regenerated.
* iconvdata/testdata/BIG5HKSCS..UTF8: Regenerated.

24 years agoUpdate.
Ulrich Drepper [Fri, 1 Sep 2000 21:16:28 +0000 (21:16 +0000)]
Update.

2000-09-01  Ulrich Drepper  <drepper@redhat.com>

* libio/fmemopen.c (fmemopen_seek): Add default case in switch
statement.  General cleanup.

24 years agoUpdate.
Ulrich Drepper [Fri, 1 Sep 2000 19:36:44 +0000 (19:36 +0000)]
Update.

2000-08-31  Bruno Haible  <haible@clisp.cons.org>

* wctype/wcfuncs.c (iswblank): New function.
* wctype/wcfuncs_l.c (__iswblank_l): New function.
* wctype/wcextra.c: Remove file.
* wctype/wcextra_l.c: Remove file.
* wctype/Makefile (distribute): Remove wcextra and wcextra_l.

2000-08-31  Bruno Haible  <haible@clisp.cons.org>

* locale/programs/ld-collate.c (collate_output): Remove redundant
assert call.
* string/strcoll.c: Likewise.
* string/strxfrm.c: Include assert.h.  Add assert calls like in
string/strcoll.c.

2000-08-31  Bruno Haible  <haible@clisp.cons.org>

* locale/categories.def (_NL_COLLATE_HASH_SIZE,
_NL_COLLATE_HASH_LAYERS, _NL_COLLATE_NAMES, _NL_CTYPE_NAMES,
_NL_CTYPE_HASH_SIZE, _NL_CTYPE_HASH_LAYERS): Remove definitions.
* locale/langinfo.h (_NL_COLLATE_HASH_SIZE, _NL_COLLATE_HASH_LAYERS,
_NL_COLLATE_NAMES): Rename to _NL_COLLATE_GAP1/2/3 respectively.
(_NL_CTYPE_NAMES): Rename to _NL_CTYPE_GAP3.
(_NL_CTYPE_GAP3): Rename to _NL_CTYPE_GAP4.
(_NL_CTYPE_HASH_SIZE, _NL_CTYPE_HASH_LAYERS): Rename to
_NL_CTYPE_GAP5/6 respectively.

* locale/C-ctype.c (_nl_C_LC_CTYPE): Update.
* ctype/ctype-info.c (__ctype_names, __ctype_width): Remove variables.
* locale/lc-ctype.c (_nl_postload_ctype): Assume new locale format.
Don't initialize __ctype_names and __ctype_width.
* wctype/cname-lookup.h: Remove file.
* wctype/Makefile (distribute): Remove cname-lookup.h.
* wctype/wchar-lookup.h: Include stdint.h.
* wctype/wctype.c (__wctype): Assume new locale format.
* wctype/wctype_l.c (__wctype_l): Likewise.
* wctype/iswctype.c: Don't include cname-lookup.h.
(__iswctype): Assume new locale format.
* wctype/iswctype_l.c: Don't include cname-lookup.h.
(__iswctype_l): Assume new locale format.
* wctype/wctrans.c: Don't include ctype.h.
(wctrans): Assume new locale format.
* wctype/wctrans_l.c (__wctrans_l): Likewise.
* wctype/towctrans.c: Don't include cname-lookup.h.
(__towctrans): Assume new locale format.
* wctype/towctrans_l.c: Don't include cname-lookup.h.
(__towctrans_l): Assume new locale format.
* wctype/wcfuncs.c: Don't include ctype.h and cname-lookup.h. Include
localeinfo.h instead.
(__NO_WCTYPE): Remove unused macro.
(__ctype32_b, __ctype32_toupper, __ctype32_tolower): Remove
declarations.
(iswalnum, iswalpha, iswcntrl, iswdigit, iswlower, iswgraph, iswprint,
iswpunct, iswspace, iswupper, iswxdigit): Assume new locale format.
(towlower, towupper): Likewise.
* wctype/wcfuncs_l.c: Don't include cname-lookup.h. Include
localeinfo.h instead.
(__NO_WCTYPE): Remove unused macro.
(__iswalnum_l, __iswalpha_l, __iswcntrl_l, __iswdigit_l, __iswlower_l,
__iswgraph_l, __iswprint_l, __iswpunct_l, __iswspace_l, __iswupper_l,
__iswxdigit_l): Assume new locale format.
(__towlower_l, __towupper_l): Likewise.
* wcsmbs/wcwidth.h: Don't include cname-lookup.h.
(__ctype32_b): Remove declaration.
(internal_wcwidth): Assume new locale format.
* locale/programs/ld-ctype.c (struct locale_ctype_t): Remove fields
plane_size, plane_cnt, names, width. Rename map to map_b, rename map32
to map32_b, rename width_3level to width.
(ctype_output): Always create new locale format. Don't emit
_NL_CTYPE_NAMES, _NL_CTYPE_HASH_SIZE, _NL_CTYPE_HASH_LAYERS any more.
(allocate_arrays): Always create new locale format.

* locale/C-collate.c (_nl_C_LC_COLLATE): Update.
* locale/weightwc.h (findidx): Assume new locale format.
* string/strcoll.c (wcscoll): Remove local variables size, layers,
names.
* string/strxfrm.c (wcsxfrm): Likewise.
* posix/fnmatch_loop.c (internal_fnwmatch): Likewise. Change type of
local variable collseq to 'const char *'.
(SUFFIX): Don't use, don't undefine.
* posix/fnmatch.c: Remove SUFFIX definition.
* locale/programs/ld-collate.c (struct locale_collate_t): Remove
fields plane_size, plane_cnt, wcheads, wcseqorder. Rename
wcheads_3level to wcheads, rename wcseqorder_3level to wcseqorder.
(collate_finish): Always create new locale format. Remove local
variables min_total, act_size.
(collate_output): Always create new locale format. Remove local
variables table_size, names, tablewc. Rename tablewc_3level to
tablewc.

2000-08-31  Bruno Haible  <haible@clisp.cons.org>

* locale/programs/ld-collate.c (obstack_int32_grow,
obstack_int32_grow_fast): New inline functions.
(output_weightwc, collate_output): Use them where possible.

24 years agoUpdate.
Ulrich Drepper [Fri, 1 Sep 2000 17:49:19 +0000 (17:49 +0000)]
Update.

* libio/libio.h (_IO_flockfile, _IO_funlockfile): Fix typo in last
patch (_mode -> _flags).

24 years agoUpdate.
Ulrich Drepper [Fri, 1 Sep 2000 09:09:56 +0000 (09:09 +0000)]
Update.

[_IO_MTSAFE_IO] (_IO_flockfile, _IO_funlockfile): Add macros which
test _IO_USER_LOCK flag first.

24 years agoUpdate.
Ulrich Drepper [Fri, 1 Sep 2000 08:56:06 +0000 (08:56 +0000)]
Update.

* libio/Makefile (headers): Add stdio_ext.h.
(routines): Add __fbufsize, __freading, __fwriting, __freadable,
__fwritable, __flbf, __fpurge, __fpending, and __fsetlocking.
* libio/Versions [libc] (GLIBC_2.2): Add __fbufsize, __freading,
__fwriting, __freadable, __fwritable, __flbf, __fpurge, __fpending,
__fsetlocking, and _flushlbf.
* libio/__fbufsize.c: New file.
* libio/__flbf.c: New file.
* libio/__fpending.c: New file.
* libio/__fpurge.c: New file.
* libio/__freadable.c: New file.
* libio/__freading.c: New file.
* libio/__fsetlocking.c: New file.
* libio/__fwritable.c: New file.
* libio/__fwriting.c: New file.
* libio/stdio_ext.h: New file.
* libio/genops.c (_IO_flush_all_linebuffered): Add alias _flushlbf.
* libio/libio.h (_IO_USER_LOCK): Define.

24 years agoUpdate.
Ulrich Drepper [Fri, 1 Sep 2000 08:43:17 +0000 (08:43 +0000)]
Update.

2000-09-01  Ulrich Drepper  <drepper@redhat.com>

* lockfile.c (__flockfile): If _IO_USER_LOCK bit is set don't do
anything.
(__funlockfile): Likewise.
(__ftrylockfile): If _IO_USER_LOCK bit is set return always 0.

24 years agoUpdate.
Ulrich Drepper [Fri, 1 Sep 2000 07:30:38 +0000 (07:30 +0000)]
Update.

2000-09-01  Ulrich Drepper  <drepper@redhat.com>

* iconv/gconv_open.c (__gconv_open): Set res to __GCONV_NOMEM is
malloc fails.

24 years ago(__gconv_open): Set res to __GCONV_NOMEM is malloc fails.
Ulrich Drepper [Fri, 1 Sep 2000 07:29:10 +0000 (07:29 +0000)]
(__gconv_open): Set res to __GCONV_NOMEM is malloc fails.

24 years agoUpdate.
Andreas Jaeger [Fri, 1 Sep 2000 07:14:30 +0000 (07:14 +0000)]
Update.

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

* sysdeps/unix/sysv/linux/bits/fcntl.h: Always fail.

* sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: New file.

24 years agoLinux/PPC specific version.
Andreas Jaeger [Fri, 1 Sep 2000 07:13:37 +0000 (07:13 +0000)]
Linux/PPC specific version.

24 years agoUpdate.
Ulrich Drepper [Fri, 1 Sep 2000 07:00:07 +0000 (07:00 +0000)]
Update.

* math/Makefile (tests): Add tst-defintions.
* math/tst-definitions.c: New file.

24 years agoUpdate.
Ulrich Drepper [Fri, 1 Sep 2000 06:39:10 +0000 (06:39 +0000)]
Update.

* stdlib/Makefile (headers): Add bits/wchar.h.
* sysdeps/unix/sysv/linux/i386/bits/wchar.h: New file.
* sysdeps/generic/bits/wchar.h: New file.
* sysdeps/generic/stdint.h: Include <bits/wchar.h>.  Use values in this
file to define WCHAR_MIN and WCHAR_MAX.
Change UINT*8_MAX and UIN*16_MAX value to type int.
* wcsmbs/wchar.h: Include <bits/wchar.h>.  Use values in this
file to define WCHAR_MIN and WCHAR_MAX.
* sysdeps/alpha/fpu/bits/mathdef.h: Make FP_ILOGB0 and FP_ILOGBNAN
int values.
* sysdeps/arm/fpu/bits/mathdef.h: Likewise.
* sysdeps/generic/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/sparc/fpu/bits/mathdef.h: Likewise.
* locale/locale.h (struct lconv): Add __ prefix to the new members
if not C99.
* sysdeps/generic/inttypes.h: Remove unnecessary imaxabs and
imaxdiv optimizations.
* sysdeps/wordsize-32/lldiv.c: Add hack to make alias work.
* sysdeps/wordsize-64/ldiv.c: Likewise.
* sysdeps/alpha/fpu/bits/fenv.h: Change type of FE_*_ENV macros to
const fenv_t*.
* sysdeps/generic/bits/fenv.h: Likewise.
* sysdeps/i386/fpu/bits/fenv.h: Likewise.
* sysdeps/ia64/bits/fenv.h: Likewise.
* sysdeps/m68k/fpu/bits/fenv.h: Likewise.
* sysdeps/mips/bits/fenv.h: Likewise.
* sysdeps/s390/fpu/bits/fenv.h: Likewise.
* sysdeps/sparc/fpu/bits/fenv.h: Likewise.
Reported by Joseph S. Myers <jsm28@cam.ac.uk>.

* catgets/open_catalog.c: Likewise.

24 years agoUpdate.
Ulrich Drepper [Fri, 1 Sep 2000 04:25:51 +0000 (04:25 +0000)]
Update.

24 years agoUpdate.
Ulrich Drepper [Fri, 1 Sep 2000 04:14:40 +0000 (04:14 +0000)]
Update.

* SUPPORTED: Add zh_HK.BIG5HKSCS.

* locales/zh_HK: Correct d_t_fmt and t_fmt_ampm.
Changes by Roger So <spacehunt@e-fever.org>.

24 years agoUpdate.
Ulrich Drepper [Fri, 1 Sep 2000 02:26:05 +0000 (02:26 +0000)]
Update.

* inet/rcmd.c: Use *stat64 instead of *stat internally.
* inet/ruserpass.c: Likewise.
* intl/loadmsgcat.c: Likewise.
* io/getdirname.c: Likewise.
* locale/loadlocale.c: Likewise.
* misc/getusershell.c: Likewise.
* stdlib/canonicalize.c: Likewise.
* sysdeps/posix/euidaccess.c: Likewise.
* sysdeps/posix/isfdtype.c: Likewise.
* sysdeps/posix/posix_fallocate.c: Likewise.
* sysdeps/posix/tempname.c: Likewise.
* sysdeps/unix/grantpt.c: Likewise.
* sysdeps/unix/opendir.c: Likewise.
* sysdeps/unix/sysv/linux/fstatvfs.c: Likewise.
* sysdeps/unix/sysv/linux/internal_statvfs.c: Likewise.
* sysdeps/unix/sysv/linux/ptsname.c: Likewise.
* sysdeps/unix/sysv/linux/statvfs.c: Likewise.
* sysdeps/unix/sysv/linux/ttyname.c: Likewise.
* sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
* sysvipc/ftok.c: Likewise.
* time/getdate.c: Likewise.

* time/getdate.c: Add extra access test.

2000-08-31  Ulrich Drepper  <drepper@redhat.com>

24 years agoUpdate.
Ulrich Drepper [Thu, 31 Aug 2000 23:34:32 +0000 (23:34 +0000)]
Update.

* sysdeps/unix/sysv/linux/powerpc/Dist: Add fe_nomask.c.
* sysdeps/unix/sysv/linux/i386/Dist: Add olddirent.h.

24 years agoUpdate.
Ulrich Drepper [Thu, 31 Aug 2000 21:42:39 +0000 (21:42 +0000)]
Update.

* version.h (VERSION): Bump to 2.1.93.

* intl/locale.alias: Add aliases for bokmal and nynorsk.

24 years agoUpdate.
Ulrich Drepper [Thu, 31 Aug 2000 21:05:59 +0000 (21:05 +0000)]
Update.

* intl/Makefile (tests): Depend in mtrace-tst-gettext.
Make this a new rule depending on tst-gettext.out and run mtrace.
* intl/tst-gettext.c: Call mtrace.
* intl/tst-gettext.sh: Put MALLOC_TRACE in environment of tst-gettext.

* elf/dl-reloc.c: Add a few more __builtin_expect.

* configure.in: Remove --with-gettext option.

* intl/dcigettext.c (free_mem): Correct freeing of
_nl_domain_bindings list.

24 years agoUpdate.
Ulrich Drepper [Thu, 31 Aug 2000 20:30:50 +0000 (20:30 +0000)]
Update.

* sysdeps/generic/setenv.c (free_mem): New function.  Free all
allocated memory.

24 years agoUpdate.
Ulrich Drepper [Thu, 31 Aug 2000 18:37:58 +0000 (18:37 +0000)]
Update.

* intl/locale.alias: Add aliases for bomal and nynorsk.

* locale/iso-639.def: Fix 639-1 code for Bokmal.

24 years agoUpdate.
Ulrich Drepper [Thu, 31 Aug 2000 08:50:08 +0000 (08:50 +0000)]
Update.

* stdio-common/itoa-digits.c: Move upper digits to...
* stdio-common/itoa-udigits.c: ...here.  New file.
* stdio-common/Makefile (routines): Add itoa-udigits.

24 years agoUpdate.
Ulrich Drepper [Thu, 31 Aug 2000 08:28:44 +0000 (08:28 +0000)]
Update.

* sysdeps/i386/dl-machine.h (elf_machine_rel): For the version to
relocate ld.so don't add supprt for relocations which should not
appear in ld.so.

24 years agoUpdate.
Ulrich Drepper [Thu, 31 Aug 2000 07:34:24 +0000 (07:34 +0000)]
Update.

2000-08-31  Ulrich Drepper  <drepper@redhat.com>

* malloc/malloc.c (ptmalloc_init): Optimize a bit by not calling
__secure_getenv.  Instead test __libc_enable_secure once.

* io/pwd.c (main): Provide a good example, use *_unlocked function.

24 years agoUpdate.
Ulrich Drepper [Thu, 31 Aug 2000 06:37:47 +0000 (06:37 +0000)]
Update.

* iconv/gconv_conf.c (insert_module): Take extra parameter to decide
whether the new record should be freed if it's a duplicate.
(add_module): Adjust insert_module call.
(__gconv_read_conf): Likewise.
* iconvdata/Makefile (generated): Add tst-loading.mtrace and
mtrace-tst-loading.
(tests): Make $(objpfx)mtrace-tst-loading a dependency.  Add rule.

24 years agoUpdate.
Ulrich Drepper [Thu, 31 Aug 2000 02:27:07 +0000 (02:27 +0000)]
Update.

* sysdeps/generic/ldsodefs.h: Add declaration for _dl_all_dirs and
_dl_all_init_dirs.
* include/link.h (struct r_search_path_struct): New.
(struct link_map): Use it for l_rpath_dirs and l_runpath_dirs.
* elf/Versions [ld] (GLIBC_2.2): Add _dl_all_dirs and
_dl_all_init_dirs.
* elf/dl-close.c (_dl_close): Free l_rpath_dirs and l_runpath_dirs.
* elf/dl-libc.c (free_mem): Free _dl_all_dirs list except elements
added at startup time.
* elf/dl-load.c: Fix memory handling.  r_search_path_struct
contains element to remember fact that we can free memory.
(all_dirs): Renamed to _dl_all_dirs.  Made global.
(_dl_init_all_dirs): New variable.
(fillin_rpath): Save one malloc call.
(decompose_rpath): Change interface.  New first parameter points to
r_search_path_struct.
(_dl_init_paths): Adjust for changes.  Mark all memory as not
deletable.  Set _dl_init_all_paths value.
(open_path): Remove may_free_dirs parameter.  r_search_path_elem ***
parameter replaced with r_search_path_struct *.  Information about
freeing now contained in r_search_path_struct.
(_dl_map_object): Adjust for above changes.

* elf/dl-open.c (dl_open_worker): Change format of debug info a bit.

24 years agoUpdate.
Ulrich Drepper [Thu, 31 Aug 2000 00:20:09 +0000 (00:20 +0000)]
Update.

* elf/dl-load.c (fillin_rpath): Only check for trusted directories
when adding new entries.

24 years agoUpdate.
Ulrich Drepper [Wed, 30 Aug 2000 23:42:45 +0000 (23:42 +0000)]
Update.

* elf/dl-load.c (fillin_rpath): Make local copy of where string
since the object being loaded can be unloaded.

24 years agoUpdate.
Ulrich Drepper [Wed, 30 Aug 2000 22:40:09 +0000 (22:40 +0000)]
Update.

2000-08-30  Ulrich Drepper  <drepper@redhat.com>

* iconvdata/Makefile (tests): Add tst-loading.
* iconvdata/tst-loading.c: New file.

24 years agoUpdate.
Ulrich Drepper [Wed, 30 Aug 2000 20:06:01 +0000 (20:06 +0000)]
Update.

2000-08-29  Bruno Haible  <haible@clisp.cons.org>

* stdio-common/vfscanf.c (_IO_vfscanf): Back out last ungetc change.
When comparing a char with an int, always cast the char to
'unsigned char'. New macro ungetc_not_eof, to avoid warnings when
compiling with -funsigned-char. Use UCHAR_MAX+1 instead of UCHAR_MAX.

24 years agoUpdate.
Ulrich Drepper [Wed, 30 Aug 2000 18:31:38 +0000 (18:31 +0000)]
Update.

* time/strftime.c (my_strftime): Add compatibility code for use
outside glibc.  Patch by Jim Meyering <meyering@ascend.com>.

24 years agoUpdate.
Ulrich Drepper [Wed, 30 Aug 2000 18:28:16 +0000 (18:28 +0000)]
Update.

* sysdeps/posix/getaddrinfo.c (gaih_local): uname does not everywhere
return 0 for success but always < 0 on failure.

24 years agoUpdate.
Ulrich Drepper [Wed, 30 Aug 2000 18:20:14 +0000 (18:20 +0000)]
Update.

2000-08-30  Ulrich Drepper  <drepper@redhat.com>

* nss/getXXbyYY_r.c: Define result to *result before including
digits_dots.c.

24 years agoDefine result to *result before including digits_dots.c.
Ulrich Drepper [Wed, 30 Aug 2000 18:13:52 +0000 (18:13 +0000)]
Define result to *result before including digits_dots.c.

24 years agoUpdate.
Andreas Jaeger [Wed, 30 Aug 2000 16:32:44 +0000 (16:32 +0000)]
Update.

2000-08-30  Andreas Jaeger  <aj@suse.de>

* math/gen-libm-test.pl (parse_ulps): Remove extra \.

24 years ago(parse_ulps): Remove extra \.
Andreas Jaeger [Wed, 30 Aug 2000 16:32:14 +0000 (16:32 +0000)]
(parse_ulps): Remove extra \.

24 years agoUpdate.
Ulrich Drepper [Wed, 30 Aug 2000 07:38:10 +0000 (07:38 +0000)]
Update.

* iconvdata/big5hkscs.c: Rewritten.  Regenerate data from the
official file.
* iconvdata/TESTS: Add BIG5HKSCS entry.
* iconvdata/testdata/BIG5HKSCS: New file.
* iconvdata/testdata/BIG5HKSCS..UTF8: New file.

* iconvdata/big5.c (BODY for FROM_LOOP): Remove condition which is
always true.

24 years agoUpdate.
Ulrich Drepper [Wed, 30 Aug 2000 02:34:17 +0000 (02:34 +0000)]
Update.

* locales/ja_JP: Add yesstr and nostr information.

24 years agoUpdate.
Ulrich Drepper [Wed, 30 Aug 2000 00:02:38 +0000 (00:02 +0000)]
Update.

2000-08-29  Ulrich Drepper  <drepper@redhat.com>

* charmaps/GB18030: Add entries from GBK not present here.

* SUPPORTED: Add zh_TW.EUC-JP and zh_CN.GB18030.

* locales/iso14651_t1: Use hexadecimal ellipsis in <HAN> script.

24 years agoUpdate.
Ulrich Drepper [Tue, 29 Aug 2000 22:41:42 +0000 (22:41 +0000)]
Update.

2000-08-29  Ulrich Drepper  <drepper@redhat.com>

* libio/iogetline.c: Set mode before the loop in case n==0.
* libio/iogetwline.c: Likewise.

2000-08-29  H.J. Lu  <hjl@gnu.org>

* libio/fileops.c (new_do_write): Check fp->_mode <= 0 instead
of fp->_mode < 0.
(_IO_new_file_overflow): Likewise.
* libio/genops.c (_IO_flush_all): Likewise.
* libio/ioftell.c (_IO_ftell): Likewise.

24 years agoUpdate.
Ulrich Drepper [Tue, 29 Aug 2000 21:14:05 +0000 (21:14 +0000)]
Update.

2000-08-29  Akira Higuchi  <a@kondara.org>

* iconv/gconv_db.c (increment_counter): Reset __init_fct, __fct,
and __end_fct fields of struct __gconv_step.
* iconv/Makefile (tests): Add iconv-bug2.
* iconv/iconv-bug2.c: New file.

* iconvdata/euc-kr.c (BODY for FROM_LOOP): Pass 'inend - inptr'
instead of 'inptr - inend' to ksc5601_to_ucs4.

* iconvdata/sjis.c (BODY for FROM_LOOP): Allow 0x7f character.

* iconvdata/iso-2022-cn.c (BODY for FROM_LOOP): If an incomplete
character or shift sequence is found at the end of the input
string, return__GCONV_INCOMPLETE_INPUT instead of
__GCONV_EMPTY_INPUT.
* iconvdata/iso-2022-jp.c (BODY for FROM_LOOP): Likewise.
* iconvdata/iso-2022-kr.c (BODY for FROM_LOOP): Likewise.

* iconvdata/iso-2022-jp.c (BODY for FROM_LOOP): Return
__GCONV_ILLEGAL_INPUT for 8bit characters.

24 years agoUpdate.
Ulrich Drepper [Tue, 29 Aug 2000 20:17:40 +0000 (20:17 +0000)]
Update.

* signal/signal.h (sigpause): Move __THROW before __asm__.

24 years agoUpdate.
Ulrich Drepper [Tue, 29 Aug 2000 18:12:01 +0000 (18:12 +0000)]
Update.

2000-08-29  Ulrich Drepper  <drepper@redhat.com>

* inet/rcmd.c (__checkhost_sa): If getnameinfo succeeds but the
names don't match don't return.
Patch by Olaf Kirch <okir@flash.lst.de>.

24 years agoUpdate.
Ulrich Drepper [Tue, 29 Aug 2000 04:18:58 +0000 (04:18 +0000)]
Update.

2000-08-28  Ulrich Drepper  <drepper@redhat.com>

* time/strftime.c (my_strftime): Handle # flag for %b as well.

24 years agoUpdate.
Ulrich Drepper [Tue, 29 Aug 2000 03:44:11 +0000 (03:44 +0000)]
Update.

2000-08-27  H.J. Lu  <hjl@gnu.org>

* posix/Makefile (otherlibs): Add for building with static-nss
for "make check".

* malloc/Makefile (tests): Likewise.

24 years agoUpdate.
Ulrich Drepper [Tue, 29 Aug 2000 02:54:55 +0000 (02:54 +0000)]
Update.

* libio/stdio.h: Add fmemopen prototype.

2000-08-25  Andreas Jaeger  <aj@suse.de>

* libio/Makefile (routines): Add fmemopen.
(tests): Add test-fmemopen.
* libio/Versions: Add fmemopen with version GLIBC_2.2.
* libio/test-fmemopen.c: New file.
* libio/fmemopen.c: New file.
Patches by Hanno Mueller <kontakt@hanno.de>.

2000-08-28  Ulrich Drepper  <drepper@redhat.com>

24 years agoUpdate.
Ulrich Drepper [Tue, 29 Aug 2000 02:37:20 +0000 (02:37 +0000)]
Update.

* sysdeps/unix/sysv/linux/ia64/bits/sigstack.h: Prevent double
inclusion.  Patch by Jes Sorensen <jes@linuxcare.com>.

24 years agoUpdate.
Ulrich Drepper [Tue, 29 Aug 2000 01:22:46 +0000 (01:22 +0000)]
Update.

2000-08-28  Ulrich Drepper  <drepper@redhat.com>

* locale/localeinfo.h (LIMAGIC): Change base number to 0x20000828
to avoid crashing statically linked applications.

24 years agoUpdate.
Ulrich Drepper [Tue, 29 Aug 2000 01:20:23 +0000 (01:20 +0000)]
Update.

2000-08-27  Bruno Haible  <haible@clisp.cons.org>

* string/strxfrm.c (strxfrm, wcsxfrm): Include <sys/param.h>.
If nrules == 0 and srclen < n, copy only srclen + 1 characters.

* sysdeps/generic/getdomain.c (getdomainname): Include <sys/param.h>.
If the result is fits in the buffer, copy only as many bytes as needed.

* sysdeps/generic/_strerror.c (__strerror_r): Don't zero-fill the
buffer after copying numbuf into it.
* sysdeps/mach/_strerror.c (__strerror_r): Likewise.

2000-08-27  Bruno Haible  <haible@clisp.cons.org>

* posix/confstr.c (confstr): When string_len > len, NUL-terminate
the result.  When string_len < len, don't clear the rest of the buffer.

2000-08-27  Bruno Haible  <haible@clisp.cons.org>

Support for new LC_COLLATE format.
* locale/coll-lookup.h: New file.
* locale/weightwc.h (findidx): When size == 0, call
collidx_table_lookup.
* wcsmbs/wcscoll.c: Include coll-lookup.h.
* wcsmbs/wcsxfrm.c: Likewise.
* posix/fnmatch.c: Likewise.
* posix/fnmatch_loop.c (internal_fnwmatch): When size == 0, call
collseq_table_lookup.
* locale/programs/3level.h: New file.
* locale/programs/ld-ctype.c: (wcwidth_table, wctrans_table): Define
by including "3level.h".
* locale/programs/ld-collate.c (wchead_table, collidx_table,
collseq_table): New types, defined by including "3level.h".
(locale_collate_t): New wcheads_3level, wcseqorder_3level fields.
(encoding_mask, encoding_byte): Remove.
(utf8_encode): Use simple shifts instead.
(collate_finish): When !oldstyle_tables, set plane_size and plane_cnt
to 0, and initialize and fill wcheads_3level and wcseqorder_3level.
(collate_output): New local variable tablewc_3level. When
!oldstyle_tables, set table_size to 0 and names to NULL and fill
tablewc_3level instead of tablewc. Change format of TABLEWC and
COLLSEQWC entries written to the file.
* locale/C-collate.c (collseqwc): Change format.
(_nl_C_LC_COLLATE): Set HASH_SIZE and HASH_LAYERS to 0, change format
of COLLSEQWC.
* locale/Makefile (distribute): Add coll-lookup.h, programs/3level.h.

2000-08-27  Bruno Haible  <haible@clisp.cons.org>

* locale/programs/ld-ctype.c (MAX_CHARNAMES_IDX): New macro.
(locale_ctype_t): New charnames_idx field.
(ctype_startup): Initialize charnames_idx field.
(find_idx): Speed up dramatically by using charnames_idx inverse table.

2000-08-27  Bruno Haible  <haible@clisp.cons.org>

* locale/C-ctype.c: Switch to new locale format.
(_nl_C_LC_CTYPE_names): Remove array.
(STRUCT_CTYPE_CLASS): New macro.
(_nl_C_LC_CTYPE_class_{upper,lower,alpha,digit,xdigit,space,print,
graph,blank,cntrl,punct,alnum}, _nl_C_LC_CTYPE_map_{toupper,tolower}):
New three-level tables.
(_nl_C_LC_CTYPE_width): Change from array to three-level table.
(_nl_C_LC_CTYPE): Fix nstrings value. Set HASH_SIZE and HASH_LAYERS
to 0. Change WIDTH format. Set CLASS_OFFSET and MAP_OFFSET. Add
12 class tables and 2 map tables at the end.
* ctype/ctype-info.c (_nl_C_LC_CTYPE_names): Remove declaration.
(_nl_C_LC_CTYPE_class_{upper,lower,alpha,digit,xdigit,space,print,
graph,blank,cntrl,punct,alnum}, _nl_C_LC_CTYPE_map_{toupper,tolower}):
New declarations.
(b): Remove trailing semicolon.
(__ctype_names, __ctype_width): Don't initialize.
(__ctype32_wctype, __ctype32_wctrans, __ctype32_width): Initialize.

2000-08-27  Bruno Haible  <haible@clisp.cons.org>

* elf/dl-load.c (open_path): Add a argument telling whether *dirsp
is guaranteed to be allocated with the same malloc() and may be
passed to free().
(_dl_map_object): Update open_path calls. If rtld_search_dirs has
been set to empty by an earlier open_path call, don't pass it again.

24 years agoUpdate.
Ulrich Drepper [Mon, 28 Aug 2000 23:52:21 +0000 (23:52 +0000)]
Update.

* include/libintl.h: Include <locale.h> since libintl.h doesn't if
we are not optimizing.

24 years agoUpdate.
Ulrich Drepper [Mon, 28 Aug 2000 23:36:01 +0000 (23:36 +0000)]
Update.

* sysdeps/unix/sysv/linux/powerpc/sysdep.h: Protect against double
inclusion.

24 years agoUpdate.
Ulrich Drepper [Mon, 28 Aug 2000 22:31:02 +0000 (22:31 +0000)]
Update.

2000-08-28  Ulrich Drepper  <drepper@redhat.com>

* stdio-common/vfscanf.c (ungetc): Cast c to signed char first to
really match EOF.
Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.

24 years ago(ungetc): Cast c to signed char first to really match EOF.
Ulrich Drepper [Mon, 28 Aug 2000 22:29:36 +0000 (22:29 +0000)]
(ungetc): Cast c to signed char first to really match EOF.

24 years agoUpdate.
Andreas Jaeger [Mon, 28 Aug 2000 15:24:13 +0000 (15:24 +0000)]
Update.

2000-08-28  Andreas Jaeger  <aj@suse.de>

* sysdeps/i386/fpu/libm-test-ulps: Tweaks for AMD Athlon.

24 years agoTweaks for AMD Athlon.
Andreas Jaeger [Mon, 28 Aug 2000 15:15:32 +0000 (15:15 +0000)]
Tweaks for AMD Athlon.

24 years ago* sysdeps/mach/hurd/getpeername.c (__getpeername): Renamed from getpeername. Use...
Mark Kettenis [Mon, 28 Aug 2000 14:05:55 +0000 (14:05 +0000)]
* sysdeps/mach/hurd/getpeername.c (__getpeername): Renamed from getpeername.  Use ISO C style function definition. (getpeername): Provide weak alias. * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Renamed from setrlimit.  Use ISO C style function definition. (setrlimit): Provide weak alias.

2000-08-28  Mark Kettenis  <kettenis@gnu.org>

* sysdeps/mach/hurd/getpeername.c (__getpeername): Renamed from
getpeername.  Use ISO C style function definition.
(getpeername): Provide weak alias.
* sysdeps/mach/hurd/setrlimit.c (__setrlimit): Renamed from
setrlimit.  Use ISO C style function definition.
(setrlimit): Provide weak alias.

24 years agoUpdate.
Andreas Jaeger [Mon, 28 Aug 2000 11:17:03 +0000 (11:17 +0000)]
Update.

2000-08-28  Martin Schwidefsky  <schwidefsky@de.ibm.com>

* shlib-versions: Add a rule for S/390 to the libm version list.
* sysdeps/s390/Versions: New file.
* sysdeps/unix/sysv/linux/s390/Dist: Add oldgetrlimit64.c.
* sysdeps/unix/sysv/linux/s390/Makefile: Add oldgetrlimit64.
* sysdeps/unix/sysv/linux/s390/Versions: New file.
* sysdeps/unix/sysv/linux/s390/alphasort64.c: New file.
* sysdeps/unix/sysv/linux/s390/chown.c: New file.
* sysdeps/unix/sysv/linux/s390/fxstat.c: New file.
* sysdeps/unix/sysv/linux/s390/getdents64.c: New file.
* sysdeps/unix/sysv/linux/s390/getrlimit.c: New file.
* sysdeps/unix/sysv/linux/s390/getrlimit64.c: New file.
* sysdeps/unix/sysv/linux/s390/lxstat.c: New file.
* sysdeps/unix/sysv/linux/s390/oldgetrlimit64.c: New file.
* sysdeps/unix/sysv/linux/s390/readdir64.c: New file.
* sysdeps/unix/sysv/linux/s390/readdir64_r.c: New file.
* sysdeps/unix/sysv/linux/s390/scandir64.c: New file.
* sysdeps/unix/sysv/linux/s390/setrlimit.c: New file.
* sysdeps/unix/sysv/linux/s390/syscalls.list: New file.
* sysdeps/unix/sysv/linux/s390/versionsort64.c: New file.
* sysdeps/unix/sysv/linux/s390/xstat.c: New file.

24 years agoAdd a rule for S/390 to the libm version list.
Andreas Jaeger [Mon, 28 Aug 2000 11:09:29 +0000 (11:09 +0000)]
Add a rule for S/390 to the libm version list.

24 years agoUpdate.
Ulrich Drepper [Mon, 28 Aug 2000 08:39:15 +0000 (08:39 +0000)]
Update.

* sysdeps/unix/sysv/linux/powerpc/Makefile [$(subdir)==csu]
(CFLAGS-initfini.s): Add -DWEAK_GMON_START.

24 years agoUpdate.
Ulrich Drepper [Mon, 28 Aug 2000 08:32:23 +0000 (08:32 +0000)]
Update.

* elf/Versions [ld] (GLIBC_2.2): Export _dl_debug_files.
* elf/dl-close.c (_dl_close): Print debug message if object is not
unloaded.
* elf/dl-open.c (dl_open_worked): Print message about opencount before
returning to caller.

24 years agoUpdate.
Ulrich Drepper [Mon, 28 Aug 2000 08:00:42 +0000 (08:00 +0000)]
Update.

2000-08-28  Ulrich Drepper  <drepper@redhat.com>

* po/zh.po: Renamed to...
* po/zh_TW.po: ...this.

24 years agoRenamed to zh_TW.
Ulrich Drepper [Mon, 28 Aug 2000 07:55:48 +0000 (07:55 +0000)]
Renamed to zh_TW.

24 years ago* sysdeps/powerpc/fpu/feenablxcpt.c: Correct bogus checkin.
Geoff Keating [Mon, 28 Aug 2000 06:20:43 +0000 (06:20 +0000)]
* sysdeps/powerpc/fpu/feenablxcpt.c: Correct bogus checkin.

* sysdeps/powerpc/fpu/feenablxcpt.c: Correct bogus checkin.

24 years ago* sysdeps/powerpc/fpu/fedisblxcpt.c: New file.
Geoff Keating [Mon, 28 Aug 2000 05:59:48 +0000 (05:59 +0000)]
* sysdeps/powerpc/fpu/fedisblxcpt.c: New file.

* sysdeps/powerpc/fpu/feenablxcpt.c: New file.
* sysdeps/powerpc/fpu/fegetexcept.c: New file.
* sysdeps/unix/sysv/linux/powerpc/fe_nomask.c: New file.
2000-08-27  Geoff Keating  <geoffk@cygnus.com>

* sysdeps/powerpc/fpu/fedisblxcpt.c: New file.
* sysdeps/powerpc/fpu/feenablxcpt.c: New file.
* sysdeps/powerpc/fpu/fegetexcept.c: New file.
* sysdeps/unix/sysv/linux/powerpc/fe_nomask.c: New file.

24 years agoMention broken LC_COLLATE specification.
Ulrich Drepper [Mon, 28 Aug 2000 04:08:02 +0000 (04:08 +0000)]
Mention broken LC_COLLATE specification.

24 years agoUpdate.
Ulrich Drepper [Mon, 28 Aug 2000 03:51:40 +0000 (03:51 +0000)]
Update.

* locale/programs/ld-collate.c (insert_weights): Also update
backpointer of next element.
(collate_read): Allow definition of new collation symbols in stage 2.
Symbol after reorder-after can be UCS4 value.
Allow reordering of collation symbols and elements.
Do not only move reorder entry in new position.  Instead call
insert_weight to do this and read the weights.

24 years agoUpdate.
Ulrich Drepper [Sun, 27 Aug 2000 19:05:19 +0000 (19:05 +0000)]
Update.

* locale/findlocale.c (free_mem): Add cast to avoid warning.

24 years agoUpdate.
Ulrich Drepper [Sun, 27 Aug 2000 18:45:00 +0000 (18:45 +0000)]
Update.

* intl/dcigettext.c (DCIGETTEXT): Remove _nl_find_language in code
to determine invalid locale name.
* locale/findlocale.c (_nl_find_locale): Likewise.

24 years agoUpdate.
Ulrich Drepper [Sun, 27 Aug 2000 18:28:09 +0000 (18:28 +0000)]
Update.

* posix/annexc.c: Correct test for unavailable feature.

24 years agoUpdate.
Ulrich Drepper [Sun, 27 Aug 2000 16:54:09 +0000 (16:54 +0000)]
Update.

2000-08-27  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/i386/sys/io.h (outw): Fix __INLINE ->
__inline.

24 years agoUpdate.
Ulrich Drepper [Sun, 27 Aug 2000 03:28:06 +0000 (03:28 +0000)]
Update.

* sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add getdents64
syscall.

24 years agoUpdate.
Ulrich Drepper [Sun, 27 Aug 2000 01:02:34 +0000 (01:02 +0000)]
Update.

* sysdeps/unix/sysv/linux/arm/Makefile [$(subdir)==resource]
(sysdep_routines): Add oldgetrlimit64.

24 years agoUpdate.
Ulrich Drepper [Sat, 26 Aug 2000 23:41:19 +0000 (23:41 +0000)]
Update.

2000-08-26  Ulrich Drepper  <drepper@redhat.com>

* elf/Makefile (distribute): Add unloadmod.c, reldepmod1.c,
reldepmod2.c, reldepmod3.c, and reldepmod4.c.
(tests): Add unload, reldep, reldep2, and reldep3.
(modules-names): Add unloadmod, reldepmod1, reldepmod2, reldepmod3,
and reldepmod4.
Add rules to build and run unload, reldep, reldep2, and reldep3.
* elf/dl-lookup.c (_dl_lookup_symbol): Add new parameter explicit.
Don't create relocation dependency if it is nonzero.
(_dl_lookup_symbol_skip): Remove relocation dependency stuff.  This
can never happen here.
(_dl_lookup_versioned_symbol): Add new parameter explicit.
Don't create relocation dependency if it is nonzero.
(_dl_lookup_versioned_symbol_skip): Remove relocation dependency
stuff.  This can never happen here.
* sysdeps/generic/ldsodefs.h: Change prototypes.
* elf/dl-reloc.c (RESOLVE_MAP): Pass 0 in explicit parameter to
_dl_lookup_up and _dl_lookup_versioned_symbol.
(RESOLV): Likewise.
* elf/dl-runtime.c (fixup): Likewise.
(profile_fixup): Likewise.
* elf/dl-libc.c (do_dlsym): Pass 1 in explicit parameter to
_dl_lookup_symbol.
* elf/dl-symbol.c (_dl_symbol_value): Likewise.
* elf/rtld.c (dl_main): Likewise.
* elf/dl-sym.c (_dl_sym): Pass 1 in explicit parameter to
_dl_lookup_symbol if handle is not RTLD_DEFAULT.  Always compute
and pass down the caller map.
(_dl_vsym): Likewise.
* elf/reldep.c: New file.
* elf/reldep2.c: New file.
* elf/reldep3.c: New file.
* elf/reldepmod1.c: New file.
* elf/reldepmod2.c: New file.
* elf/reldepmod3.c: New file.
* elf/reldepmod4.c: New file.
* elf/unload.c: New file.
* elf/unloadmod.c: New file.

* elf/do-lookup.h: Remove unused undef_name parameter.
* elf/dl-lookup.c: Adjust callers.

24 years agoUpdate.
Ulrich Drepper [Fri, 25 Aug 2000 22:25:03 +0000 (22:25 +0000)]
Update.

2000-08-25  Ulrich Drepper  <drepper@redhat.com>

* iconv/gconv_trans.c (__gconv_transliterate): Pass NULL instead of
irreversible in recursive call of conversion function to signal that
no error handling is wanted.
* iconv/loop.c (ignore_errors_p): irreversible must be != NULL, too.
(STANDARD_ERR_HANDLER): Don't do anything if irreversible == NULL.
* iconv/skeleton.c (lirreversiblep): New variable.  Set to NULL is
recursive error handling call, otherwise to &lirreversible.  Use it
for calls to conversion functions.
* iconv/gconv_simple.c (ucs4_internal_loop): Don't handle errors when
transliterating.
(ucs4_internal_loop_unaligned): Likewise.
(ucs4le_internal_loop): Likewise.
(ucs4le_internal_loop_unaligned): Likewise.

24 years agoUpdate.
Ulrich Drepper [Fri, 25 Aug 2000 22:13:09 +0000 (22:13 +0000)]
Update.

2000-08-25  Ulrich Drepper  <drepper@redhat.com>

* locales/i18n (default_missing): Change back to only U003F.

24 years ago(ucs4_internal_loop): Don't handle errors when transliterating. (ucs4_internal_loop_u...
Ulrich Drepper [Fri, 25 Aug 2000 22:06:25 +0000 (22:06 +0000)]
(ucs4_internal_loop): Don't handle errors when transliterating. (ucs4_internal_loop_unaligned): Likewise. (ucs4le_internal_loop): Likewise. (ucs4le_internal_loop_unaligned): Likewise.

24 years agoUpdate.
Greg McGary [Fri, 25 Aug 2000 21:10:42 +0000 (21:10 +0000)]
Update.

2000-08-25  Greg McGary  <greg@mcgary.org>

* sysdeps/i386/memchr.S: Check high bound against chars
actually scanned.
* sysdeps/i386/memcmp.S: Likewise.
* sysdeps/i386/stpncpy.S: Adjust high-bound check to
account for pointers that lie one beyond end-of-buffer.

24 years ago* sysdeps/i386/memchr.S: Check high bound against
Greg McGary [Fri, 25 Aug 2000 21:09:43 +0000 (21:09 +0000)]
* sysdeps/i386/memchr.S: Check high bound against

chars actually scanned.
* sysdeps/i386/memcmp.S: Likewise.
* sysdeps/i386/stpncpy.S: Adjust high-bound check to
account for pointers that lie one beyond end-of-buffer.

24 years agoUpdate.
Ulrich Drepper [Fri, 25 Aug 2000 19:33:19 +0000 (19:33 +0000)]
Update.

2000-08-25  Ulrich Drepper  <drepper@redhat.com>

* elf/Makefile (LDFLAGS-nodelete): Add -rdynamic.
* elf/nodelete.c (fini_ran): New global variable.
(do_test): Before every dlclose call clear fini_ran and test
afterwards that it is not set by the destructors.
* elf/nodelmod1.c: Add destructor which sets fini_ran.
* elf/nodelmod2.c: Likewise.
* elf/nodelmod4.c: Likewise.

24 years agoUpdate.
Ulrich Drepper [Fri, 25 Aug 2000 19:02:14 +0000 (19:02 +0000)]
Update.

2000-08-21  Jes Sorensen  <jes@linuxcare.com>

* sysdeps/unix/sysv/linux/ia64/syscalls.list: Add getrlimit and
getrlimit to the list.

2000-08-18  Jes Sorensen  <jes@linuxcare.com>

* sysdeps/ia64/Implies: gcc now has support for the Intel 80 bit
long double format so use ldbl-96 instead of ldbl-128.

24 years agoUpdate.
Ulrich Drepper [Fri, 25 Aug 2000 18:23:57 +0000 (18:23 +0000)]
Update.

* sysdeps/unix/sysv/linux/i386/mmap.S (__mmap): Return -EINVAL
even if bits 10 a 11 are non-zero.
* sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64): Likewise.

24 years agoUpdate.
Ulrich Drepper [Fri, 25 Aug 2000 18:07:41 +0000 (18:07 +0000)]
Update.

* Makeconfig: Ensures the soversions.mk part of Makefile gets
included before building gnu/lib-names.h
Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.

24 years agoUpdate.
Ulrich Drepper [Fri, 25 Aug 2000 16:48:42 +0000 (16:48 +0000)]
Update.

* elf/dl-close.c (_dl_close): Don't run destructors of objects
marked DF_1_NODELETE.

24 years agoUpdate.
Ulrich Drepper [Fri, 25 Aug 2000 16:37:20 +0000 (16:37 +0000)]
Update.

2000-08-25  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/posix/system.c (__libc_system): We cannot use vfork here
since we call sigaction in the child.

24 years ago(PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP): Defined. (PTHREAD_ERRORCHECK_MUTEX_INITIALIZ...
Ulrich Drepper [Fri, 25 Aug 2000 16:04:57 +0000 (16:04 +0000)]
(PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP): Defined. (PTHREAD_ERRORCHECK_MUTEX_INITIALIZER_NP: Defined.

24 years agoUpdate.
Andreas Jaeger [Fri, 25 Aug 2000 12:48:58 +0000 (12:48 +0000)]
Update.

* iconvdata/Makefile ($(objpfx)bug-iconv1.out): Depend on
gconv-modules.

2000-08-25  Andreas Jaeger  <aj@suse.de>