external/glibc.git
24 years agoUpdate.
Ulrich Drepper [Fri, 3 Nov 2000 00:30:48 +0000 (00:30 +0000)]
Update.

* sysdeps/i386/i486/bits/string.h (strcmp): Cast arguments to
__strcmp_cc, __strcmp_cg, and __strcmp_gc to unsigned char *.
(__strcmp_cc, __strcmp_cg, __strcmp_gc): Remove casts of values here.
Reported by Denis Zaitsev <zzz@cd-club.ru>.

24 years agoUpdate.
Ulrich Drepper [Thu, 2 Nov 2000 22:16:22 +0000 (22:16 +0000)]
Update.

2000-11-02  Ulrich Drepper  <drepper@redhat.com>

* iconvdata/utf-16.c (PREPARE_LOOP): Correct typo preventing BOM from
being written.

* manual/socket.texi (Local Namespace Concepts): Don't mention what
permissions are necessary to connect to a socket.
Reported by Peter Eisentraut <peter_e@gmx.net>.

* sysdeps/generic/backtracesyms.c (__backtrace_symbols): Fix
computation of total for 64-bit machines.
Patch by Byron Stanoszek <gandalf@winds.org>.

* manual/arith.texi (Rounding): Correct description of fesetround
return value.  Patch by Conrado Badenas <Conrado.Badenas@uv.es>.

24 years ago(Rounding): Correct description of fesetround return value.
Ulrich Drepper [Thu, 2 Nov 2000 21:52:42 +0000 (21:52 +0000)]
(Rounding): Correct description of fesetround return value.

24 years agoUpdate.
Andreas Jaeger [Thu, 2 Nov 2000 09:32:58 +0000 (09:32 +0000)]
Update.

2000-10-30  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>

* sysdeps/mips/dl-machine.h (elf_machine_rel): Add the symbol's
value plus the run-time displacement to the relocation for non-GOT
symbols.  Set the relocation to the GOT entry for GOT symbols.

24 years ago(elf_machine_rel): Add the symbol's value plus the run-time displacement to the reloc...
Andreas Jaeger [Thu, 2 Nov 2000 09:32:30 +0000 (09:32 +0000)]
(elf_machine_rel): Add the symbol's value plus the run-time displacement to the relocation for non-GOT symbols.  Set the relocation to the GOT entry for GOT symbols.

24 years agoUpdate.
Ulrich Drepper [Thu, 2 Nov 2000 09:19:50 +0000 (09:19 +0000)]
Update.

2000-11-02  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/s390/bits/time.h: Removed.

of unary ~ to size_t.
skip the entire translit section, not only one line.  Remove dead test
for tok_translit_end.  Enqueue include statements into a list.
* intl/Makefile: Add rules to build, run and, distribute tst-gettext2.

24 years agoUpdate.
Ulrich Drepper [Thu, 2 Nov 2000 07:51:38 +0000 (07:51 +0000)]
Update.

* iconvdata/TESTS: Add entries for IBM856, IBM930, IBM933, IBM935,
IBM937, IBM939, and IBM1046.
* iconvdata/testdata/IBM1046: New file.
* iconvdata/testdata/IBM930..UTF8: New file.
* iconvdata/testdata/IBM1046..UTF8: New file.
* iconvdata/testdata/IBM933: New file.
* iconvdata/testdata/IBM935: New file.
* iconvdata/testdata/IBM937: New file.
* iconvdata/testdata/IBM856..UTF8: New file.
* iconvdata/testdata/IBM939: New file.
* iconvdata/testdata/IBM933..UTF8: New file.
* iconvdata/testdata/IBM935..UTF8: New file.
* iconvdata/testdata/IBM930: New file.
* iconvdata/testdata/IBM856: New file.
* iconvdata/testdata/IBM937..UTF8: New file.
* iconvdata/testdata/IBM939..UTF8: New file.
Contributed by Masahide Washizawa <washi@yamato.ibm.co.jp>.

2000-11-01  Martin Buchholz  <martin@xemacs.org>

* manual/memory.texi (Hooks for Malloc): Fix `caller' arg docs to
agree with implementation.

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

24 years agoUpdate.
Ulrich Drepper [Wed, 1 Nov 2000 21:01:34 +0000 (21:01 +0000)]
Update.

* sysdeps/unix/sysv/linux/bits/time.h (CLK_TCK): Cast sysconf result
to __clock_t.
* sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
* sysdeps/unix/sysv/linux/i386/bits/time.h: Likewise.
* sysdeps/unix/sysv/linux/ia64/bits/time.h: Likewise.
* sysdeps/unix/sysv/linux/s390/bits/time.h: Likewise.

24 years agoUpdate.
Ulrich Drepper [Wed, 1 Nov 2000 19:31:30 +0000 (19:31 +0000)]
Update.

of unary ~ to size_t.Update.

24 years agoUpdate.
Ulrich Drepper [Wed, 1 Nov 2000 19:15:39 +0000 (19:15 +0000)]
Update.

* sysdeps/unix/sysv/linux/bits/socket.h (CMSG_ALIGN): Cast result
of unary ~ to size_t.

* stdlib/strtod.c: Make gcc shut up about SWAP use.

24 years agoUpdate.
Ulrich Drepper [Wed, 1 Nov 2000 17:55:36 +0000 (17:55 +0000)]
Update.

* sysdeps/i386/fpu/bits/mathinline.h: Add support for builtin
unordered compare functions to gcc 2.97 and up.

24 years agoUpdate.
Ulrich Drepper [Wed, 1 Nov 2000 16:39:15 +0000 (16:39 +0000)]
Update.

* string/bits/string2.h: Disable strstr optimizations for newer
gcc versions.  Patch by Joseph S. Myers <jsm28@cam.ac.uk>.

24 years agoUpdate.
Ulrich Drepper [Wed, 1 Nov 2000 16:33:25 +0000 (16:33 +0000)]
Update.

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

* configure.in (with_cvs): Test for pserver access.

24 years agoUpdate.
Ulrich Drepper [Wed, 1 Nov 2000 09:06:22 +0000 (09:06 +0000)]
Update.

* sunrpc/clnt_tcp.c (clnt_call): Don't use timeout in tests with zero,
use ct->ct_wait.
* sunrpc/clnt_unix.c (clnt_call): Likewise.

24 years agoUpdate.
Ulrich Drepper [Wed, 1 Nov 2000 08:10:10 +0000 (08:10 +0000)]
Update.

* elf/Versions [ld] (GLIBC_2.2): Export _dl_clktck and _dl_pagesize.
* elf/dl-load.c: Define _dl_clktck.
* elf/elf.h: Define AT_CLKTCK.
* include/time.h: Declare __getclktck.
* misc/Makefile (routines): Add getclktck.
* sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Handle AT_CLKTCK.
(_dl_show_auxv): Show AT_CLKTCK value.
* sysdeps/generic/getclktck.c: New file.
* sysdeps/unix/sysv/linux/getclktck.c: New file.
* sysdeps/unix/sysv/linux/alpha/getclktck.c: New file.
* sysdeps/unix/sysv/linux/ia64/getclktck.c: New file.
* sysdeps/posix/sysconf.c: Use __getclktck to handle _SC_CLK_TCK.
* sysdeps/unix/sysv/linux/getpagesize.c: New file.
* sysdeps/unix/sysv/linux/bits/time.h: Use __sysconf to for CLK_TCK.
* sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
* sysdeps/unix/sysv/linux/i386/bits/time.h: Likewise.
* sysdeps/unix/sysv/linux/ia64/bits/time.h: Likewise.
* sysdeps/unix/sysv/linux/s390/bits/time.h: Likewise.

24 years agoUpdate.
Ulrich Drepper [Wed, 1 Nov 2000 04:28:16 +0000 (04:28 +0000)]
Update.

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

* sunrpc/clnt_gen.c (clnt_create): Don't set timeout with
clnt_control for any protocol.  This would make it impossible for
the user to provide one in clnt_call().
Reported by Hitoshi Guutara Maruyama <maruyama@sh.rim.or.jp>.

24 years agoUpdate.
Ulrich Drepper [Wed, 1 Nov 2000 02:59:43 +0000 (02:59 +0000)]
Update.

2000-10-31  Jes Sorensen  <jes@linuxcare.com>

* sysdeps/ia64/fpu/s_isinfl.S: New file,  - assembly based
implementation based on suggestion by Richard Henderson.
* sysdeps/ia64/fpu/s_isinfl.c: Removed.

2000-10-30  Jes Sorensen  <jes@linuxcare.com>

* sysdeps/ia64/fpu/s_isnanl.S: New file - assembly based
implementation based on suggestion by Richard Henderson.
* sysdeps/ia64/fpu/s_isnanl.c: Removed.

24 years agoUpdate.
Ulrich Drepper [Tue, 31 Oct 2000 17:44:49 +0000 (17:44 +0000)]
Update.

* locale/programs/locale.c (print_item): Fix one more problem with
string lists.  Patch by Chen Xiangyang <chenxy@opencjk.org>.

* locale/categories.def: Add number of arguments to ctype-map-names
and ctype-class-names entries.  Mark era as stringlist.

24 years agoUpdate.
Ulrich Drepper [Tue, 31 Oct 2000 08:27:15 +0000 (08:27 +0000)]
Update.

* iconvdata/ibm1046.c: New file.
* iconvdata/ibm1046.h: New file.
* iconvdata/ibm856.c: New file.
* iconvdata/ibm856.h: New file.
* iconvdata/ibm930.c: New file.
* iconvdata/ibm930.h: New file.
* iconvdata/ibm933.c: New file.
* iconvdata/ibm933.h: New file.
* iconvdata/ibm935.c: New file.
* iconvdata/ibm935.h: New file.
* iconvdata/ibm937.c: New file.
* iconvdata/ibm937.h: New file.
* iconvdata/ibm939.c: New file.
* iconvdata/ibm939.h: New file.

24 years agoUpdate.
Ulrich Drepper [Tue, 31 Oct 2000 08:24:06 +0000 (08:24 +0000)]
Update.

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

* iconvdata/Makefile (modules): Add IBM856, IBM930, IBM933, IBM935,
IBM937, IBM939, and IBM1046.
(distribute): Add ibm856.c, ibm930.c, ibm933.c, ibm935.c, ibm937.c,
ibm939.c, ibm1046.c, ibm856.h, ibm930.h, ibm933.h, ibm935.h, ibm937.h,
ibm939.h, and ibm1046.h.
* iconvdata/gconv-modules: Add entries for IBM856, IBM930, IBM933,
IBM935, IBM937, IBM939, and IBM1046.
Patches by Masahide Washizawa <washi@yamato.ibm.co.jp>.

24 years agoUpdate.
Ulrich Drepper [Tue, 31 Oct 2000 06:06:35 +0000 (06:06 +0000)]
Update.

* locale/localeinfo.h (enum value_type): Add wstring, wstringarray,
and wstringlist.
* locale/categories.def: Mark wide char strings as wstring or
stringarray.
* locale/programs/locale.c (show_info): Handle wstring, wstringarray,
and wstringlist.  Print keywords only if there is real output.
Reported by Chen Xiangyang <chenxy@opencjk.org>.

* sysdeps/sparc/fpu/bits/mathinline.h: Add __THROW where necessary.
Patch by Ben Collins <bcollins@debian.org>.

24 years agoUpdate.
Ulrich Drepper [Tue, 31 Oct 2000 05:20:53 +0000 (05:20 +0000)]
Update.

* stdio-common/Makefile (tests): Add tst-fmemopen.
* stdio-common/tst-fmemopen.c: New file.
Test case by Ben Collins <bcollins@debian.org>.

* libio/iofopncook.c (_IO_cookie_seek): Correct test for error.

* libio/fmemopen.c (fmemopen_read): Return 0 at end of buffer.
(fmemopen_write): Set errno at end of buffer.

24 years agoUpdate.
Ulrich Drepper [Tue, 31 Oct 2000 04:38:55 +0000 (04:38 +0000)]
Update.

* posix/runtests.c (main): Don't use exit() to avoid warning with
broken compilers.

* string/bug-strncat1.c: Undefine __USE_STRING_INLINES before
defining it again to avoid warning.
* string/bug-strpbrk1.c: Likewise.
* string/bug-strspn1.c: Likewise.

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

* locale/C-translit.h.in: Include more rules from translit_neutral.
Remove a few German and Danish specific rules.
* locale/gen-translit.pl: Avoid an error when printing a string
containing a '%' character.
* locale/C-translit.h: Regenerated.
* intl/translit.po: Choose different translations.
* intl/tst-translit.c: Update.

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

* locale/programs/ld-ctype.c (translit_include_t): New type.
(locale_ctype_t): Remove translit_copy_locale, translit_copy_repertoire
fields, add translit_include field.
(ctype_read): After seeing "translit_start" in ignore_content mode,
skip the entire translit section, not only one line. Remove dead test
for tok_translit_end. Enqueue include statements into a list.
Signal error if tok_eof seen before tok_translit_end.
(translit_flatten): New function.
(allocate_arrays): Call translit_flatten.

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

24 years agoUpdate.
Ulrich Drepper [Tue, 31 Oct 2000 03:10:13 +0000 (03:10 +0000)]
Update.

* locale/findlocale.c (free_mem): We can remove NODELETE marked
data, just not the C locale data.

* intl/tst-gettext.c: Use setlocale() in addition to setting envvar.
* intl/tst-gettext.sh: Copy locale data if necessary.
* intl/Makefile (generated-dirs): Add localedir.

* intl/dcigettext.c (guess_category_value): For libc always use
the setlocale() method.

* intl/Makefile: Add rules to build, run and, distribute  tst-gettext2.
* intl/tst-gettext2.c: New file.
* intl/tst-gettext2.sh: New file.
* intl/tstlang1.po: New file.
* intl/tstlang2.po: New file.
Patch by Andreas Jaeger <aj@suse.de>.

2000-10-26  GOTO Masanori  <gotom@debian.or.jp>

* intl/locale.alias: Add ja_JP.ujis alias.

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

24 years agoUpdate.
Ulrich Drepper [Mon, 30 Oct 2000 08:53:51 +0000 (08:53 +0000)]
Update.

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

* locale/findlocale.c (_nl_find_locale): Don't store normalized
name in *NAME.

24 years agoUpdate.
Ulrich Drepper [Mon, 30 Oct 2000 07:39:54 +0000 (07:39 +0000)]
Update.

* attr.c (__pthread_attr_setguardsize): Don't round guardsize
here.  Reported by Bruce <bruce@puremagic.com>.

24 years ago(__pthread_attr_setguardsize): Don't round guardsize here.
Ulrich Drepper [Mon, 30 Oct 2000 07:39:06 +0000 (07:39 +0000)]
(__pthread_attr_setguardsize): Don't round guardsize here.

24 years agoUpdate.
Andreas Jaeger [Mon, 30 Oct 2000 06:48:05 +0000 (06:48 +0000)]
Update.

2000-10-29  Ben Collins  <bcollins@debian.org>

* sysdeps/generic/lockf64.c: In the case of F_TEST, set l_type to
F_RDLCK explicitly.
* sysdeps/unix/sysv/linux/i386/lockf64.c: Likewise.

24 years agoIn the case of F_TEST, set l_type to F_RDLCK explicitly.
Andreas Jaeger [Mon, 30 Oct 2000 06:47:34 +0000 (06:47 +0000)]
In the case of F_TEST, set l_type to F_RDLCK explicitly.

24 years agoUpdate.
Ulrich Drepper [Mon, 30 Oct 2000 05:19:41 +0000 (05:19 +0000)]
Update.

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

* iconvdata/big5.c: Update.
Patch by Tung-Han Hsieh <thhsieh@twcpro.phys.ntu.edu.tw>.

* iconvdata/Makefile (distribute): Add BIG5.irreversible.
* iconvdata/BIG5.irreversible: New file.

24 years agoUpdate.
Ulrich Drepper [Mon, 30 Oct 2000 04:18:33 +0000 (04:18 +0000)]
Update.

2000-10-29  Greg Louis  <glouis@dynamicro.on.ca>

* posix/regex.h (__restrict_arr): Move definition out of #ifndef block.
Required because egcs-2.91.66 (aka 1.1.2) defines __restrict, but
doesn't define __restrict_arr.

* manual/search.texi: Correct description if VISIT values.
Patch by Ben Collins <bcollins@debian.org>.

24 years agoUpdate.
Ulrich Drepper [Mon, 30 Oct 2000 04:08:58 +0000 (04:08 +0000)]
Update.

* string/bits/string2.h (strspn): Evaluate first argument if
second is "".
(strpbrk): Likewise.
* sysdeps/i386/i486/bits/string.h: Likewise.
* string/Makefile (tests): Add bug-strspn1 and bug-strpbrk1.
* string/bug-strspn1.c: New file.
* string/bug-strpbrk1.c: New file.
Test cases by Joseph S. Myers <jsm28@cam.ac.uk>.

* string/bits/string2.h (strncat): Terminate string correctly.
* sysdeps/i386/i486/bits/string.h (strncat): Likewise.
* string/Makefile (tests): Add bug-strncat1.
* string/bug-strncat1.c: New file.
Test case by Joseph S. Myers <jsm28@cam.ac.uk>.

2000-10-27  Ben Collins  <bcollins@debian.org>

* sysdeps/generic/lockf.c (lockf): Set l_type to F_RDLCK before
calling for F_GETLK.

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

24 years agoUpdate.
Ulrich Drepper [Mon, 30 Oct 2000 03:21:39 +0000 (03:21 +0000)]
Update.

* elf/dl-load.c (open_path): Don't exit loop early if we didn't
use a directory at all.

24 years agoUpdate.
Ulrich Drepper [Mon, 30 Oct 2000 00:13:29 +0000 (00:13 +0000)]
Update.

* elf/Makefile: Add rules to build and run tst-pathopt.
* elf/tst-pathopt.c: New file.
* elf/tst-pathopt.sh: New file.
* elf/pathoptobj.c: New file.

24 years agoUpdate.
Ulrich Drepper [Sun, 29 Oct 2000 17:30:30 +0000 (17:30 +0000)]
Update.

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

* elf/elf.h (SHN_XINDEX): Define.

24 years agoUpdate.
Ulrich Drepper [Sun, 29 Oct 2000 02:17:56 +0000 (02:17 +0000)]
Update.

* io/Makefile (tests): Add test-stat2.
(test-stat2-ARS): New variable.
* io/test-stat2.c: New file.

24 years agoUpdate.
Ulrich Drepper [Sat, 28 Oct 2000 20:20:17 +0000 (20:20 +0000)]
Update.

* Makeconfig (ETAGS): Remove -T flag.

24 years agoUpdate.
Ulrich Drepper [Sat, 28 Oct 2000 09:16:32 +0000 (09:16 +0000)]
Update.

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

* elf/dl-load.c (open_verify): Only try to load ET_DYN and ET_EXEC
objects.  Reject all other types.
(_dl_map_object_from_fd): Optimize a bit.

24 years agoUpdate.
Ulrich Drepper [Sat, 28 Oct 2000 06:52:11 +0000 (06:52 +0000)]
Update.

* nscd/gethstbynm2_r.c (__inet_aton): Define as inet_aton since
the former is not exported.

24 years agoUpdate.
Ulrich Drepper [Sat, 28 Oct 2000 05:51:07 +0000 (05:51 +0000)]
Update.

* stdio-common/Makefile (tests): Add tst-fseek.
* stdio-common/tst-fseek.c: New file.

24 years agoUpdate.
Ulrich Drepper [Sat, 28 Oct 2000 00:45:40 +0000 (00:45 +0000)]
Update.

* posix/regex.c (gettext): Use correct translation domain for glibc.

* argp/argp-parse.c: Use __dcgettext instead of dcgettext for glibc.
* argp/argp-help.c: Likewise.
* inet/getnameinfo.c (getnameinfo): Use __snprintf instead of snprintf.
* inet/rexec.c (rexec_af): Use __snprintf instead of snprintf.
* misc/regexp.c (__step): Use __regexec instead of regexec.
(__advance): Likewise.
* nss/digits_dots.c: Use __inet_aton instead of inet_aton.
* misc/daemon.c (daemon): Use __fork instead of fork.

24 years agoUpdate.
Ulrich Drepper [Fri, 27 Oct 2000 23:37:52 +0000 (23:37 +0000)]
Update.

* stdlib/fmtmsg.c (fmtmsg): Change output format slightly to make
it look better and bring it closer to SysV behavior.
* stdlib/Makefile (distribute): Add tst-fmtmsg.sh.
(test-srcs): Add tst-fmtmsg.
(tests): Add $(objpfx)tst-fmtmsg.out.  Add rule to generate it.
* stdlib/tst-fmtmsg.sh: New file.
* stdlib/tst-fmtmsg.c: New file.

24 years agoUpdate.
Ulrich Drepper [Fri, 27 Oct 2000 21:07:08 +0000 (21:07 +0000)]
Update.

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

* iconvdata/Makefile (modules): Add VISCII.
(gen-8bit-modules): Add viscii.
* iconvdata/viscii.c: New file.
* iconvdata/gconv-modules: Add entries for VISCII.
* iconvdata/tst-tables.sh: Add VISCII.

24 years agoUpdate.
Ulrich Drepper [Fri, 27 Oct 2000 19:35:07 +0000 (19:35 +0000)]
Update.

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

* locales/sr_YU@cyrillic: New file. Based on a locale file by
Anton Zinoviev <anton@lml.bas.bg>.
* SUPPORTED: Add sr_YU@cyrillic.

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

* locales/ar_SA: Use Unicode aware LC_CTYPE information from "i18n".
* locales/be_BY: Likewise.
* locales/bg_BG: Likewise.
* locales/el_GR: Likewise.
* locales/ja_JP: Likewise.
* locales/ko_KR: Likewise.
* locales/mk_MK: Likewise.
* locales/ru_RU: Likewise.
* locales/ru_UA: Likewise.
* locales/th_TH: Likewise.
* locales/tr_TR: Likewise.
* locales/uk_UA: Likewise.
* locales/zh_CN: Likewise.
* tests-mbwc/dat_iswalnum.c: Update for changed character properties
in the ja_JP.EUC-JP locale.
* tests-mbwc/dat_iswalpha.c: Likewise.
* tests-mbwc/dat_iswctype.c: Likewise.
* tests-mbwc/dat_iswgraph.c: Likewise.
* tests-mbwc/dat_iswprint.c: Likewise.
* tests-mbwc/dat_iswpunct.c: Likewise.

24 years agoUse Unicode aware LC_CTYPE information from "i18n".
Ulrich Drepper [Fri, 27 Oct 2000 19:31:45 +0000 (19:31 +0000)]
Use Unicode aware LC_CTYPE information from "i18n".

24 years ago* sysdeps/m68k/fpu/libm-test-ulps: Add some more ulps.
Andreas Schwab [Fri, 27 Oct 2000 16:23:12 +0000 (16:23 +0000)]
* sysdeps/m68k/fpu/libm-test-ulps: Add some more ulps.

24 years agoAdd some more ulps.
Andreas Schwab [Fri, 27 Oct 2000 16:22:44 +0000 (16:22 +0000)]
Add some more ulps.

24 years agoUpdate.
Ulrich Drepper [Fri, 27 Oct 2000 06:51:12 +0000 (06:51 +0000)]
Update.

* inet/getipnodebyad.c: Removed.
* inet/getipnodebynm.c: Removed.
* inet/tst-ipnode.c: Removed.
* inet/freehostent.c: Removed.

* sysdeps/unix/bsd/osf/=dirstream.h: Removed.

* sysdeps/unix/sysv/linux/Dist: Add bits/initspin.h.

* elf/Makefile (distribute): Add neededobj4.c.

* iconvdata/Makefile (distribute): Add BIG5HKSCS.irreversible.

* sysdeps/hppa/Dist: New file.
* sysdeps/unix/sysv/linux/hppa/Dist: New file.

24 years agoUpdate.
Ulrich Drepper [Fri, 27 Oct 2000 06:01:32 +0000 (06:01 +0000)]
Update.

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

24 years agoUpdate.
Ulrich Drepper [Fri, 27 Oct 2000 02:55:22 +0000 (02:55 +0000)]
Update.

* posix/tst-chmod.c (do_test): Account for people running the
tests as root.

24 years agoUpdate.
Ulrich Drepper [Fri, 27 Oct 2000 00:02:26 +0000 (00:02 +0000)]
Update.

* locale/langinfo.h (THOUSEP): Define this and don't duplicate
definition of THOUSANDS_SEP.

24 years agoUpdate.
Ulrich Drepper [Thu, 26 Oct 2000 23:41:17 +0000 (23:41 +0000)]
Update.

* locale/C-monetary.c: Set mon_decimal to empty string.
Add missing entry _NL_MONETARY_CRNCYSTR.
* stdio-common/printf_fp.c: If MON_DECIAL_POINT is not provided use
DECIMAL_POINT information.
* locale/C-numeric.c: Set mon_grouping entry to empty string.
* locale/C-time.c: Add date_fmt entries.  Remove two wrong entries.
Correct value for number of entries.
* locale/localeconv.c: Normalize result passed back in .grouping.
Fix assignment to .int_* entries.

* locale/Makefile (tests): Add tst-C-locale.
* locale/tst-C-locale.c: New file.

* locale/setlocale.c: Use LOCALEDIR and not LOCALE_PATH to locate
locale files.
* locale/newlocale.c: Likewise.

2000-10-26  GOTO Masanori  <gotom@debian.or.jp>

* locale/langinfo.h: Define _DATE_FMT and _NL_W_DATE_FMT.
* locale/categories.def: New support for date_fmt.
* locale/programs/ld-time.c: Likewise.
* locale/programs/locfile-kw.gperf: Likewise.
* locale/programs/locfile-kw.h: Likewise.
* locale/programs/locfile-token.h: Likewise.

2000-10-26  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/ieee754/ldbl-128/e_hypotl.c: New.

* math/libm-test.inc (cabs_test, cexp_test, csqrt_test, hypot_test):
Increase precision of constants.
* sysdeps/alpha/fpu/libm-test-ulps: Update.
* sysdeps/arm/libm-test-ulps: Update.
* sysdeps/i386/fpu/libm-test-ulps: Update.
* sysdeps/ia64/fpu/libm-test-ulps: Update.
* sysdeps/m68k/fpu/libm-test-ulps: Update.
* sysdeps/mips/fpu/libm-test-ulps: Update.
* sysdeps/powerpc/fpu/libm-test-ulps: Update.
* sysdeps/sparc/sparc32/fpu/libm-test-ulps: Update.
* sysdeps/sparc/sparc64/fpu/libm-test-ulps: Update.
* sysdeps/sh/sh4/fpu/libm-test-ulps: Update.
* sysdeps/s390/fpu/libm-test-ulps: Update.

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

24 years agoUpdate.
Ulrich Drepper [Thu, 26 Oct 2000 17:17:13 +0000 (17:17 +0000)]
Update.

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

* locales/fa_IR: Fix many problems and change to use UTF-8.
Patch by Roozbeh Pournader <roozbeh@sharif.edu>.
* SUPPORTED: Add fa_IR.UTF-8.

24 years agoUpdate.
Ulrich Drepper [Thu, 26 Oct 2000 09:14:02 +0000 (09:14 +0000)]
Update.

* io/Makefile (tests): Add tst-fcntl.
* io/tst-fcntl.c: New file.

24 years agoUpdate.
Ulrich Drepper [Thu, 26 Oct 2000 08:11:19 +0000 (08:11 +0000)]
Update.

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

* posix/Makefile (tests): Add tst-chmod.
(tst-chmod-ARGS): Define.
* posix/tst-chmod.c: New file.

* test-skeleton.c: Before calling user-defined function remove
parameters from argument list.
* posix/tst-exec.c: Adjust to this change.
* posix/tst-spawn.c: Likewise.

* sysdeps/unix/opendir.c (__opendir): Optimize a bit.  Add
__builtin_expect.

24 years agoUpdate.
Ulrich Drepper [Thu, 26 Oct 2000 02:58:22 +0000 (02:58 +0000)]
Update.

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

* intl/Makefile (tests): Add tst-ngettext.
* intl/tst-ngettext.c: New file.

24 years agoUpdate.
Ulrich Drepper [Thu, 26 Oct 2000 02:37:46 +0000 (02:37 +0000)]
Update.

2000-10-25  Bruno Haible  <haible@clisp.cons.org>

* manual/charset.texi: Fix spelling of __GCONV_FULL_OUTPUT.
* manual/message.texi (Translation with gettext): Remove paragraph
about macros contained in libintl.h.
(bind_textdomain_codeset): Describe codeset argument.
(Using gettextized software): Add setlocale call to sample code.

24 years agoUpdate.
Ulrich Drepper [Thu, 26 Oct 2000 02:34:17 +0000 (02:34 +0000)]
Update.

2000-10-26  Kazumoto Kojima  <kkojima@rr.iij4u.or.jp>
    Yutaka Niibe  <gniibe@chroot.org>

* sysdeps/sh/dl-machine.h (elf_machine_rela): Handle in place
relocation which is generated by new ld.
* sysdeps/sh/elf/initfini.c (_init): Preseted __fpscr_values.
(_fini): Delete an obsolete register prefix.
* sysdeps/unix/sysv/linux/sh/Versions: Add __xstat64, __fxstat64,
__lxstat64, alphasort64, glob64, readdir64, readdir64_r, scandir64
and versionsort64 as the 2.2-versioned symbols.
* sysdeps/unix/sysv/linux/sh/bits/fcntl.h: New file.
* sysdeps/unix/sysv/linux/sh/brk.c: Changes for the new system call
calling convention of the kernel.
* sysdeps/unix/sysv/linux/sh/pipe.S: Likewise.
* sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
* sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
* sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
* sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
* sysdeps/unix/sysv/linux/sh/fcntl.c: New file.
* sysdeps/unix/sysv/linux/sh/lockf64.c: New file.
* sysdeps/unix/sysv/linux/sh/sys/user.h: Include the kernel header
file and delete the definitions of struct user and user_fp.
* sysdeps/unix/sysv/linux/sh/syscall.S: New file.
* sysdeps/unix/sysv/linux/sh/syscalls.list: Remove entries for
s_ioctl, s_ipc, s_llseek, s_chown, s_fchown, s_lchown, s_execve,
rt_sigaction, rt_sigpending, rt_sigprocmask, rt_sigqueueinfo,
rt_sigsuspend, rt_sigtimedwait, s_getcwd, s_getdents, s_getgroups,
s_getpriority, s_getegid, s_geteuid, s_getuid, getresgid, getresuid,
s_getrlimit, s_poll, s_pread64, s_ptrace, s_pwrite64, s_reboot,
s_setrlimit, s_sigaction, s_sigpending, s_sigprocmask, s_sigsuspend,
s_setfsgid, s_setfsuid, s_setgid, s_setgroups, s_setregid,
s_setresgid, s_setresuid, s_setreuid, s_setuid, s_sysctl,
s_ugetrlimit, s_ustat, sys_fstat, sys_lstat, sys_mknod, sys_readv,
sys_stat, sys_writev and syscall.

24 years agoUpdate.
Ulrich Drepper [Thu, 26 Oct 2000 02:24:09 +0000 (02:24 +0000)]
Update.

* io/test-lfs.c (do_prepare): Rewrite so it doesn't fail on systems
without LFS support.

24 years agoUpdate.
Ulrich Drepper [Wed, 25 Oct 2000 22:17:16 +0000 (22:17 +0000)]
Update.

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

* sysdeps/ieee754/dbl-64/e_jn.c: Use __ieee754_sqrt instead of __sqrt.
* sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
* sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
* sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
* sysdeps/ieee754/flt-32/e_j0f.c: Likewise.

24 years agoUpdate.
Ulrich Drepper [Wed, 25 Oct 2000 20:29:30 +0000 (20:29 +0000)]
Update.

2000-10-25  David Mosberger  <davidm@hpl.hp.com>

* sysdeps/unix/sysv/linux/ia64/profil-counter.h: Multiply slot
number by four to use bins of width 4 to get accurate
instruction-level profiling.

24 years agoUpdate.
Ulrich Drepper [Wed, 25 Oct 2000 17:54:46 +0000 (17:54 +0000)]
Update.

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

* sysdeps/generic/dl-cache.h (CACHEMAGIC_VERSION_NEW): Correct string.

24 years ago(CACHEMAGIC_VERSION_NEW): Correct cut and paste error.
Ulrich Drepper [Wed, 25 Oct 2000 17:52:54 +0000 (17:52 +0000)]
(CACHEMAGIC_VERSION_NEW): Correct cut and paste error.

24 years agoRegenerated.
Andreas Jaeger [Wed, 25 Oct 2000 17:31:00 +0000 (17:31 +0000)]
Regenerated.

24 years agoMention that gcc -traditional is not supported.
Andreas Jaeger [Wed, 25 Oct 2000 17:30:55 +0000 (17:30 +0000)]
Mention that gcc -traditional is not supported.

24 years agoUpdate.
Ulrich Drepper [Wed, 25 Oct 2000 17:19:53 +0000 (17:19 +0000)]
Update.

2000-10-25  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): When
converting struct flock64 to struct flock and back, use fcntl commands
which work on struct flock.

2000-10-25  Jakub Jelinek  <jakub@redhat.com>

* math/test-misc.c (main): Only check modfl if NO_LONG_DOUBLE is not
defined.
* sysdeps/sparc/sparc32/fpu/libm-test-ulps: Update.
* sysdeps/sparc/sparc64/fpu/libm-test-ulps: Update.

24 years agoUpdate.
Ulrich Drepper [Wed, 25 Oct 2000 16:58:14 +0000 (16:58 +0000)]
Update.

* sysdeps/arm/libm-test-ulps: Updated.

24 years agoUpdate.
Ulrich Drepper [Wed, 25 Oct 2000 16:16:23 +0000 (16:16 +0000)]
Update.

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

* sysdeps/generic/dl-cache.h (CACHEMAGIC_VERSION_NEW): New value.

24 years ago(CACHEMAGIC_VERSION_NEW): New value.
Ulrich Drepper [Wed, 25 Oct 2000 16:05:16 +0000 (16:05 +0000)]
(CACHEMAGIC_VERSION_NEW): New value.

24 years agoUpdate.
Andreas Jaeger [Wed, 25 Oct 2000 14:12:14 +0000 (14:12 +0000)]
Update.

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

* elf/dl-load.c (_dl_map_object_from_fd): Remove unused variable.
(_dl_map_object): Likewise.

24 years ago(_dl_map_object_from_fd): Remove unused variable. (_dl_map_object): Likewise.
Andreas Jaeger [Wed, 25 Oct 2000 14:11:27 +0000 (14:11 +0000)]
(_dl_map_object_from_fd): Remove unused variable. (_dl_map_object): Likewise.

24 years agoUpdate.
Ulrich Drepper [Wed, 25 Oct 2000 08:23:00 +0000 (08:23 +0000)]
Update.

2000-10-24  Paul Eggert  <eggert@twinsun.com>

* time/strftime.c (my_strftime macro)
[!defined _LIBC && HAVE_TZNAME && HAVE_TZSET]:
When redefining, do it without args, so that it works even if
emacs is defined and an extra argument is passed to my_stftime.
(my_strftime function): When evaluating a subformat, pass
ut_argument as well.

2000-10-24  Andreas Schwab  <schwab@suse.de>

* sysdeps/unix/sysv/linux/ia64/Versions: Add pciconfig_read and
pciconfig_write.

* sysdeps/generic/dl-cache.c (_dl_cache_verify_ptr): Correct test
for files with new cache format.
(_dl_load_cache_lookup): Add variable cache_data_size for size of the
data.  Correctly report error if neither old not new signature is
found. Little optimizations.
Mostly based on a patch by Denis Zaitsev <zzz@cd-club.ru>.

24 years agoUpdate.
Ulrich Drepper [Wed, 25 Oct 2000 07:06:03 +0000 (07:06 +0000)]
Update.

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

* elf/dl-close.c (_dl_close): Optimize a bit by optimizing out the
nsearchlist variable.

24 years agoUpdate.
Ulrich Drepper [Wed, 25 Oct 2000 04:00:08 +0000 (04:00 +0000)]
Update.

* elf/dl-lookup.c (add_dependency): Fix test to check whether
dependency already exists.
* elf/Makefile: Add testobj1 and testobj2 as dependencies of testobj6.
* elf/loadtest.c (main): Add test at the end that everything is
unloaded.

* elf/dl-open.c (dl_open_worker): Fix typo in comment.

24 years agoUpdate.
Ulrich Drepper [Wed, 25 Oct 2000 00:19:27 +0000 (00:19 +0000)]
Update.

2000-10-24  Ulrich Drepper  <drepper@redhat.com>

* elf/elf.h: Add even more IA-64 relocations.

24 years agoAdd even more IA-64 relocations.
Ulrich Drepper [Wed, 25 Oct 2000 00:16:25 +0000 (00:16 +0000)]
Add even more IA-64 relocations.

24 years ago* io/test-lfs.c (do_prepare): Call setrlimit64, in case the user
Geoff Keating [Tue, 24 Oct 2000 21:12:01 +0000 (21:12 +0000)]
* io/test-lfs.c (do_prepare): Call setrlimit64, in case the user

has a limit set---for instance, a limit of 2^31 bytes, which can't
easily be reset by non-LFS-aware shells.
2000-10-24  Geoffrey Keating  <geoffk@cygnus.com>

* io/test-lfs.c (do_prepare): Call setrlimit64, in case the user
has a limit set---for instance, a limit of 2^31 bytes, which can't
easily be reset by non-LFS-aware shells.

24 years ago* sysdeps/unix/sysv/linux/powerpc/mmap64.c: Define PAGE_SHIFT
Geoff Keating [Tue, 24 Oct 2000 21:09:50 +0000 (21:09 +0000)]
* sysdeps/unix/sysv/linux/powerpc/mmap64.c: Define PAGE_SHIFT

explicitly rather than getting it from <asm/page.h>.
2000-10-21  Geoffrey Keating  <geoffk@cygnus.com>

* sysdeps/unix/sysv/linux/powerpc/mmap64.c: Define PAGE_SHIFT
explicitly rather than getting it from <asm/page.h>.

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

* elf/dl-close.c (_dl_close): Handle relocation dependencies of
the dependencies of the object currently unloaded.

24 years agoUpdate.
Ulrich Drepper [Tue, 24 Oct 2000 19:31:51 +0000 (19:31 +0000)]
Update.

* elf/dl-close.c (_dl_close): Don't free memory for global scope
list immediately when empty.  Move code to...
(free_mem): ...here.  Called as part of __libc_subfreeres list.

24 years agoUpdate.
Ulrich Drepper [Tue, 24 Oct 2000 19:18:25 +0000 (19:18 +0000)]
Update.

* elf/dl-deps.c (_dl_map_object_deps): Put l_initfini array before
r_list array in allocated memory.
* elf/dl-close.c (_dl_close): Optimize access to l_initfini list
and remove use of r_list.

24 years agoUpdate.
Ulrich Drepper [Tue, 24 Oct 2000 17:04:14 +0000 (17:04 +0000)]
Update.

2000-10-24  Ulrich Drepper  <drepper@redhat.com>

* elf/dl-close.c (_dl_close): Use correct list (l_initfini) when
computing new opencounts.
* elf/Makefile: Add rules to build and run neededtest3.
* neededtest3.c: New file.
* neededobj4.c: New file.

* elf/neededtest.c (main): Correct tests for failing dlopen.

24 years agoObject for unload testing.
Ulrich Drepper [Tue, 24 Oct 2000 16:59:10 +0000 (16:59 +0000)]
Object for unload testing.

24 years agoRegenerated.
Andreas Jaeger [Tue, 24 Oct 2000 15:42:04 +0000 (15:42 +0000)]
Regenerated.

24 years agoMention glibc 2.2 caveats.
Andreas Jaeger [Tue, 24 Oct 2000 15:36:52 +0000 (15:36 +0000)]
Mention glibc 2.2 caveats.

24 years ago(main): Correct tests for failing dlopen.
Ulrich Drepper [Tue, 24 Oct 2000 15:25:53 +0000 (15:25 +0000)]
(main): Correct tests  for failing dlopen.

24 years agoUpdate.
Andreas Jaeger [Tue, 24 Oct 2000 11:17:58 +0000 (11:17 +0000)]
Update.

2000-10-24  Andreas Jaeger  <aj@suse.de>

* elf/dl-lookup.c (add_dependency): Remove unused variable j.

24 years ago(add_dependency): Remove unused variable j.
Andreas Jaeger [Tue, 24 Oct 2000 11:17:45 +0000 (11:17 +0000)]
(add_dependency): Remove unused variable j.

24 years ago(main): Run tests for different alignments.
Ulrich Drepper [Tue, 24 Oct 2000 08:30:36 +0000 (08:30 +0000)]
(main): Run tests for different alignments.

24 years agoUpdate.
Ulrich Drepper [Tue, 24 Oct 2000 08:25:05 +0000 (08:25 +0000)]
Update.

* malloc/Makefile (tests): Add tst-obstack.

24 years agoUpdate.
Ulrich Drepper [Tue, 24 Oct 2000 08:23:06 +0000 (08:23 +0000)]
Update.

* malloc/obstack.c (_obstack_newchunk): Correctly align first returned
block.
* malloc/tst-obstack.c: New file.
Patch and test case by Alexandre Duret-Lutz <duret_g@epita.fr>.

24 years agoUpdate.
Ulrich Drepper [Tue, 24 Oct 2000 07:36:55 +0000 (07:36 +0000)]
Update.

2000-10-24  Ulrich Drepper  <drepper@redhat.com>

Complete revamp of the reference counter handling.
* include/link.h (struct link_map): Add l_idx field.
* elf/dl-close.c: Handle decrementing of reference counters more
correctly. If necessary decrement reference counters of dependencies
of dependencies.
* elf/dl-lookup.c (add_dependency): Only increment reference counter
of the object itself and not also its dependencies.
* elf/dl-open.c: Increment reference counters here.
* elf/dl-deps.c: Remove reference counter handling here.
* elf/dl-load.c: Likewise.
* elf/rtld.c: Adjust for _dl_map_deps not handling reference counters.

* elf/loadtest.c: Print loaded objects at the beginning.

24 years ago(struct link_map): Add l_idx field.
Ulrich Drepper [Tue, 24 Oct 2000 07:24:28 +0000 (07:24 +0000)]
(struct link_map): Add l_idx field.

24 years agoUpdate.
Andreas Jaeger [Tue, 24 Oct 2000 07:02:35 +0000 (07:02 +0000)]
Update.

2000-10-24  Andreas Jaeger  <aj@suse.de>

* sysdeps/mips/dl-machine.h: Partly revert patch from 2000-10-18.

24 years agoPartly revert patch from 2000-10-18.
Andreas Jaeger [Tue, 24 Oct 2000 07:01:37 +0000 (07:01 +0000)]
Partly revert patch from 2000-10-18.

24 years agoUpdate.
Ulrich Drepper [Tue, 24 Oct 2000 01:02:15 +0000 (01:02 +0000)]
Update.

* include/link.h (struct link_map): New bit field l_faked.
* elf/dl-deps.c: Use l_faked field in struct link_map instead of
the magic l_opencount==0.
* elf/dl-load.c: Likewise.
* elf/dl-version.c: Likewise.
* elf/rtld.c: Likewise.

24 years agoUpdate.
Ulrich Drepper [Tue, 24 Oct 2000 00:03:37 +0000 (00:03 +0000)]
Update.

2000-10-23  Ulrich Drepper  <drepper@redhat.com>

* elf/dl-close.c (_dl_close): Add a few more __builtin_expect.

24 years agoUpdate.
Ulrich Drepper [Mon, 23 Oct 2000 23:19:40 +0000 (23:19 +0000)]
Update.

2000-10-23  Jim Meyering  <meyering@ascend.com>

Allow this code to be used outside of glibc.
* sysdeps/generic/memrchr.c: Undef __memrchr, too.
[!weak_alias]: Define __memrchr to memrchr.
Guard weak_alias use with `#ifdef weak_alias'.

24 years agoUpdate.
Ulrich Drepper [Mon, 23 Oct 2000 22:58:40 +0000 (22:58 +0000)]
Update.

* elf/unload.c: Generate more debugging output.

* elf/neededtest.c: Make it more complicated.
* elf/neededtest2.c: New file.
* elf/Makefile: Add rules to build and run neededtest2.

24 years agoUpdate.
Ulrich Drepper [Mon, 23 Oct 2000 21:40:57 +0000 (21:40 +0000)]
Update.

* elf/dl-sym.c (_dl_sym): Use exact check for caller PC in range
of DSO address space.
(_dl_vsym): Likewise.