platform/upstream/glibc.git
22 years agoUpdate.
Ulrich Drepper [Thu, 11 Jul 2002 15:46:17 +0000 (15:46 +0000)]
Update.

2002-07-06  Bruno Haible  <bruno@clisp.org>

* malloc/hooks.c (public_gET_STATe): Access max_total_mem in mp_.

22 years agoUpdate.
Ulrich Drepper [Thu, 11 Jul 2002 09:19:25 +0000 (09:19 +0000)]
Update.

* resolv/res_hconf.c (_res_hconf_init): Move code into new
function do_init.  Use __libc_once.
(do_init): New function.

22 years agoUpdate.
Ulrich Drepper [Thu, 11 Jul 2002 08:56:09 +0000 (08:56 +0000)]
Update.

* iconvdata/iso8859-11.h: Removed.
* iconvdata/Makefile (gen-8bit-gap-modules): Add iso8859-11.
(distribute): Remove iso8859-11.h.
* iconvdata/tst-tables.sh: Add ISO-8859-11.

22 years agoUpdate.
Ulrich Drepper [Thu, 11 Jul 2002 08:33:33 +0000 (08:33 +0000)]
Update.

2002-07-11  Ulrich Drepper  <drepper@redhat.com>

* stdio-common/vfscanf.c (inchar): Restore errno from previous
underflow operation if c == (W)EOF.

22 years agoUpdate.
Ulrich Drepper [Thu, 11 Jul 2002 05:55:13 +0000 (05:55 +0000)]
Update.

2002-07-03  Jakub Jelinek  <jakub@redhat.com>

* stdio-common/printf_fp.c (__printf_fp.c): If _FPIO_CONST_SHIFT is
non-zero, adjust exponent.
* sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl, erfl, __erfcl, erfcl):
Remove NO_LONG_DOUBLE aliases.
* sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l, expm1l): Likewise.
* sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl, log1pl): Likewise.
(__log1pl): Raise divide by zero and invalid exceptions when needed.
* sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Special case
1**y and -1**+-Inf.
* sysdeps/ieee754/ldbl-128/ldbl2mpn.c (__mpn_extract_long_double):
Fix BITS_PER_MP_LIMB 32 extraction.
* sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Don't raise
exceptions for qNaNs.
* sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
* sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgamma_r):
Raise exceptions when needed.  Don't recurse unnecessarily.
Special case 1.0L and 2.0L arguments to avoid -0.0L as result.
* sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Don't raise
exceptions for qNaNs.
* sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Make qs 64-bit
to fix *quo return value sign.
* sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gamma_r): Special
case -Inf argument.
* soft-fp/op-4.h (_FP_FRAC_CLZ_4): Fix a pasto.

2002-07-01  Jakub Jelinek  <jakub@redhat.com>

* libio/tst-eof.c (do_test): Remove unused ch and tm variables.
* iconvdata/iso-2022-jp-3.c (EMIT_SHIFT_TO_INIT): Kill warnings if
-DNDEBUG.

22 years agoUpdate.
Ulrich Drepper [Thu, 11 Jul 2002 02:59:49 +0000 (02:59 +0000)]
Update.

* malloc/hooks.c (realloc_check): If mremap succeeds actually use
the result.

* sysdeps/i386/i486/bits/string.h: Add early clobber for "a"
output parameter.  Reported by Denis Zaitsev <zzz@cd-club.ru>.

* Versions.def (libthread_db): Add GLIBC_2.3.

2002-07-09  Jakub Jelinek  <jakub@redhat.com>

* libio/freopen.c (freopen): Reset jump tables, use mmap stdio for the
new stream if possible.
* libio/freopen64.c (freopen64): Likewise.
* libio/Makefile (tests): Add tst-freopen.
* libio/tst-freopen.c: New file.

2002-07-03  Jakub Jelinek  <jakub@redhat.com>

* libio/stdio.h (obstack_printf): Add format attribute.
(obstack_vprintf): Likewise.

2002-07-04  Jakub Jelinek  <jakub@redhat.com>

* posix/regex_internal.h (re_token_t): Shrink the structure to 8
resp. 16 bytes on 32-bit resp. 64-bit platforms.
(re_charset_t, re_string_t): Reorder structure members for 64-bit
architectures.

2002-07-04  Jakub Jelinek  <jakub@redhat.com>

* posix/regcomp.c (re_compile_internal): Move clearing of dfa...
(init_dfa): ...here.

2002-07-05  Isamu Hasegawa  <isamu@yamato.ibm.com>

* posix/regcomp.c (parse_sub_exp): Add nodes OP_OPEN_SUBEXP and
OP_CLOSE_SUBEXP at both ends of sub expressions instead of SUBEXP
nodes in parse trees.
(calc_first): Fix the Definition of `firsts' of OP_OPEN_SUBEXP
and OP_CLOSE_SUBEXP, and remove the definition of SUBEXP.
(calc_epsdest): Treat OP_OPEN_SUBEXP and OP_CLOSE_SUBEXP as the
nodes which can epsilon transit.
* posix/regex_internal.h: Add OP_OPEN_SUBEXP and OP_CLOSE_SUBEXP
to IS_EPSILON_NODE macro.
* posix/regexec.c (update_regs): New function to update registers
by refering OP_OPEN_SUBEXP and OP_CLOSE_SUBEXP nodes.
(proceed_next_node): Use the entities of the nodes to determine
whether the node can transit to.
(set_regs): Use update_regs function to update registers.

2002-07-03  Jakub Jelinek  <jakub@redhat.com>

* posix/bug-regex4.c (main): Remove duplicate setlocale.
* posix/bug-regex6.c: New file.
* posix/Makefile (tests): Add bug-regex6.
(bug-regex6-ENV): Set LOCPATH.

2002-07-10  Ulrich Drepper  <drepper@redhat.com>

22 years agoUpdate.
Ulrich Drepper [Wed, 10 Jul 2002 23:09:16 +0000 (23:09 +0000)]
Update.

2002-07-10  Ulrich Drepper  <drepper@redhat.com>
* Versions.def [libpthread]: Add GLIBC_2.2.6.
* posix/Versions [libc] (GLIBC_2.2.6): Add __nanosleep.

2002-07-06  Bruno Haible  <bruno@clisp.org>

* sysdeps/unix/sysv/sysv4/bits/sigset.h (__NSSBITS): Correct value.
* sysdeps/unix/sysv/linux/bits/statvfs.h (ST_NODIRATIME): Set to 2048.

22 years agoUpdate.
Ulrich Drepper [Wed, 10 Jul 2002 20:50:46 +0000 (20:50 +0000)]
Update.

* bug-sleep.c: New file.
* Makefile (tests): Add bug-sleep.

22 years agoUpdate.
Ulrich Drepper [Wed, 10 Jul 2002 20:43:48 +0000 (20:43 +0000)]
Update.

2002-07-10  Ulrich Drepper  <drepper@redhat.com>

* wrapsyscall.c: Add __nanosleep alias.
* Versions (GLIBC_2.2.6): Add __nanosleep.

22 years agoWrong approach.
Ulrich Drepper [Wed, 10 Jul 2002 20:22:09 +0000 (20:22 +0000)]
Wrong approach.

22 years agoUpdate.
Andreas Jaeger [Tue, 9 Jul 2002 06:33:59 +0000 (06:33 +0000)]
Update.

2002-07-08  H.J. Lu  <hjl@gnu.org>

* sysdeps/unix/sysv/linux/mips/sys/shm.h: New.

22 years agoUpdate.
Andreas Jaeger [Mon, 8 Jul 2002 17:17:36 +0000 (17:17 +0000)]
Update.

* include/sys/socket.h (__libc_sendto, __libc_recvfrom): New
declarations.

22 years agoUpdate.
Andreas Jaeger [Mon, 8 Jul 2002 17:15:20 +0000 (17:15 +0000)]
Update.

2002-07-06  Bruno Haible  <bruno@clisp.org>

* sysdeps/i386/fpu/libm-test-ulps: Add some ulps for AMD K7.

* rt/Makefile (tests): Don't add tst-aio* in a single-threaded build.

* sysdeps/unix/bsd/sun/sunos4/bits/utsname.h: Test for _SYS_UTSNAME_H,
not _UTSNAME_H.
* sysdeps/unix/bsd/ultrix4/bits/utsname.h: Likewise.

* sysdeps/generic/bits/stropts.h: Protect against direct inclusion.
* sysdeps/generic/bits/ustat.h: Likewise.

* sysdeps/unix/sysv/linux/bits/statvfs.h (ST_NODIRATIME): Set to
2048.

22 years agoUpdate.
Andreas Jaeger [Mon, 8 Jul 2002 13:05:58 +0000 (13:05 +0000)]
Update.

* sysdeps/x86_64/elf/initfini.c (__asm__): Call call_gmon_start.

2002-07-08  Andreas Jaeger  <aj@suse.de>

22 years agoUpdate.
Andreas Jaeger [Mon, 8 Jul 2002 07:42:03 +0000 (07:42 +0000)]
Update.

2002-07-08  Andreas Jaeger  <aj@suse.de>

* sysdeps/x86_64/fpu/s_fdiml.S: Fix wrong register name.

22 years agoUpdate.
Andreas Jaeger [Sat, 6 Jul 2002 15:07:30 +0000 (15:07 +0000)]
Update.

2002-07-06  Andreas Jaeger  <aj@suse.de>

* sysdeps/x86_64/fpu/bits/mathinline.h: New.
* sysdeps/x86_64/fpu/s_copysign.S: New.
* sysdeps/x86_64/fpu/s_copysignf.S: New.
* sysdeps/x86_64/fpu/s_copysignl.S: New.
* sysdeps/x86_64/fpu/s_finitel.S: New.
* sysdeps/x86_64/fpu/s_fmax.S: New.
* sysdeps/x86_64/fpu/s_fmaxf.S: New.
* sysdeps/x86_64/fpu/s_fmaxl.S: New.
* sysdeps/x86_64/fpu/s_fmin.S: New.
* sysdeps/x86_64/fpu/s_fminf.S: New.
* sysdeps/x86_64/fpu/s_fminl.S: New.

22 years agoUpdate.
Andreas Jaeger [Sat, 6 Jul 2002 06:36:39 +0000 (06:36 +0000)]
Update.

2002-06-05  Brian Youmans <3diff@gnu.org>

* sysdeps/ia64/fpu/e_acos.S: Added text of Intel license.
* sysdeps/ia64/fpu/e_acosf.S: Likewise.
* sysdeps/ia64/fpu/e_acosl.S: Likewise.
* sysdeps/ia64/fpu/e_asin.S: Likewise.
* sysdeps/ia64/fpu/e_asinf.S: Likewise.
* sysdeps/ia64/fpu/e_asinl.S: Likewise.
* sysdeps/ia64/fpu/e_atan2.S: Likewise.
* sysdeps/ia64/fpu/e_atan2f.S: Likewise.
* sysdeps/ia64/fpu/e_cosh.S: Likewise.
* sysdeps/ia64/fpu/e_coshf.S: Likewise.
* sysdeps/ia64/fpu/e_coshl.S: Likewise.
* sysdeps/ia64/fpu/e_exp.S: Likewise.
* sysdeps/ia64/fpu/e_expf.S: Likewise.
* sysdeps/ia64/fpu/e_fmod.S: Likewise.
* sysdeps/ia64/fpu/e_fmodf.S: Likewise.
* sysdeps/ia64/fpu/e_fmodl.S: Likewise.
* sysdeps/ia64/fpu/e_hypot.S: Likewise.
* sysdeps/ia64/fpu/e_hypotf.S: Likewise.
* sysdeps/ia64/fpu/e_hypotl.S: Likewise.
* sysdeps/ia64/fpu/e_log.S: Likewise.
* sysdeps/ia64/fpu/e_logf.S: Likewise.
* sysdeps/ia64/fpu/e_pow.S: Likewise.
* sysdeps/ia64/fpu/e_powf.S: Likewise.
* sysdeps/ia64/fpu/e_powl.S: Likewise.
* sysdeps/ia64/fpu/e_remainder.S: Likewise.
* sysdeps/ia64/fpu/e_remainderf.S: Likewise.
* sysdeps/ia64/fpu/e_remainderl.S: Likewise.
* sysdeps/ia64/fpu/e_scalb.S: Likewise.
* sysdeps/ia64/fpu/e_scalbf.S: Likewise.
* sysdeps/ia64/fpu/e_scalbl.S: Likewise.
* sysdeps/ia64/fpu/e_sinh.S: Likewise.
* sysdeps/ia64/fpu/e_sinhf.S: Likewise.
* sysdeps/ia64/fpu/e_sinhl.S: Likewise.
* sysdeps/ia64/fpu/e_sqrt.S: Likewise.
* sysdeps/ia64/fpu/e_sqrtf.S: Likewise.
* sysdeps/ia64/fpu/e_sqrtl.S: Likewise.
* sysdeps/ia64/fpu/libm_atan2_req.S: Likewise.
* sysdeps/ia64/fpu/libm_error.c: Likewise.
* sysdeps/ia64/fpu/libm_frexp4.S: Likewise.
* sysdeps/ia64/fpu/libm_frexp4f.S: Likewise.
* sysdeps/ia64/fpu/s_frexpl.c: Likewise.
* sysdeps/ia64/fpu/s_ilogb.S: Likewise.
* sysdeps/ia64/fpu/s_ilogbf.S: Likewise.
* sysdeps/ia64/fpu/s_ilogbl.S: Likewise.
* sysdeps/ia64/fpu/s_ldexp.S: Likewise.
* sysdeps/ia64/fpu/s_ldexpf.S: Likewise.
* sysdeps/ia64/fpu/s_ldexpl.S: Likewise.
* sysdeps/ia64/fpu/s_log1p.S: Likewise.
* sysdeps/ia64/fpu/s_log1pf.S: Likewise.
* sysdeps/ia64/fpu/s_log1pl.S: Likewise.
* sysdeps/ia64/fpu/s_logb.S: Likewise.
* sysdeps/ia64/fpu/s_logbf.S: Likewise.
* sysdeps/ia64/fpu/s_logbl.S: Likewise.
* sysdeps/ia64/fpu/s_modf.S: Likewise.
* sysdeps/ia64/fpu/s_modff.S: Likewise.
* sysdeps/ia64/fpu/s_modfl.S: Likewise.
* sysdeps/ia64/fpu/s_nearbyint.S: Likewise.
* sysdeps/ia64/fpu/s_nearbyintf.S: Likewise.
* sysdeps/ia64/fpu/s_nearbyintl.S: Likewise.
* sysdeps/ia64/fpu/s_rint.S: Likewise.
* sysdeps/ia64/fpu/s_rintf.S: Likewise.
* sysdeps/ia64/fpu/s_rintl.S: Likewise.
* sysdeps/ia64/fpu/s_round.S: Likewise.
* sysdeps/ia64/fpu/s_roundf.S: Likewise.
* sysdeps/ia64/fpu/s_roundl.S: Likewise.
* sysdeps/ia64/fpu/s_scalbn.S: Likewise.
* sysdeps/ia64/fpu/s_scalbnf.S: Likewise.
* sysdeps/ia64/fpu/s_scalbnl.S: Likewise.
* sysdeps/ia64/fpu/s_significand.S: Likewise.
* sysdeps/ia64/fpu/s_significandf.S: Likewise.
* sysdeps/ia64/fpu/s_significandl.S: Likewise.
* sysdeps/ia64/fpu/s_tan.S: Likewise.
* sysdeps/ia64/fpu/s_tanf.S: Likewise.
* sysdeps/ia64/fpu/s_tanl.S: Likewise.
* sysdeps/ia64/fpu/s_trunc.S: Likewise.
* sysdeps/ia64/fpu/s_truncf.S: Likewise.
* sysdeps/ia64/fpu/s_truncl.S: Likewise.
* sysdeps/ieee754/dbl-64/doasin.c: Changed copyright notice to
reflect IBM donation of math library to FSF
* sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
* sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
* sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
* sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
* sysdeps/ieee754/dbl-64/e_log.c: Likewise.
* sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
* sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
* sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
* sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
* sysdeps/ieee754/dbl-64/mpa.c: Likewise.
* sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
* sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
* sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
* sysdeps/ieee754/dbl-64/mplog.c: Likewise.
* sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
* sysdeps/ieee754/dbl-64/mptan.c: Likewise.
* sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
* sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
* sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
* sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
* sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
* sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
* sysdeps/gnu/netinet/udp.h: Added BSD copying permission notice
* sysdeps/vax/__longjmp.c: Likewise.
* sysdeps/vax/setjmp.c: Likewise.
* libio/filedoalloc.c: Fixed BSD copying permission notice to
remove advertising clause
* sysdeps/vax/htonl.s: Likewise.
* sysdeps/vax/htons.s: Likewise.
* libio/wfiledoalloc.c: Likewise.
* stdlib/random.c: Likewise.
* stdlib/random_r.c: Likewise.
* sysdeps/mach/sys/reboot.h: Likewise.
* inet/getnameinfo.c: Deleted advertising clause from Inner Net License
* sysdeps/posix/getaddrinfo.c: Likewise.
* sunrpc/des_impl.c: Updated license permission notice to Lesser
GPL and corrected pointer to point to the correct license.

22 years agoUpdate.
Andreas Jaeger [Thu, 4 Jul 2002 07:17:16 +0000 (07:17 +0000)]
Update.

2002-07-04  Andreas Jaeger  <aj@suse.de>

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

22 years agoNew upstream version.
Andreas Jaeger [Thu, 4 Jul 2002 07:15:21 +0000 (07:15 +0000)]
New upstream version.

22 years ago* resolv/nss_dns/dns-network.c (getanswer_r): Reduce linebuflen
Andreas Schwab [Tue, 2 Jul 2002 09:37:25 +0000 (09:37 +0000)]
* resolv/nss_dns/dns-network.c (getanswer_r): Reduce linebuflen

in parallel to bumping up the buffer pointer.

22 years ago* resolv/nss_dns/dns-network.c (getanswer_r): Reduce linebuflen
Andreas Schwab [Tue, 2 Jul 2002 09:36:44 +0000 (09:36 +0000)]
* resolv/nss_dns/dns-network.c (getanswer_r): Reduce linebuflen

in parallel to bumping up the buffer pointer.

22 years agoUpdate.
Andreas Jaeger [Tue, 2 Jul 2002 09:33:25 +0000 (09:33 +0000)]
Update.

2002-07-01  Jakub Jelinek  <jakub@redhat.com>

* math/libm-test.inc (acos_test): Add missing L suffix for
expected result.
(cpow_test): Likewise.
* sysdeps/i386/fpu/libm-test-ulps: Adjust errors for cpow, remove
error for acos (0.0625).

22 years ago* math/libm-test.inc (acos_test): Add missing L suffix for
Andreas Jaeger [Tue, 2 Jul 2002 09:33:05 +0000 (09:33 +0000)]
* math/libm-test.inc (acos_test): Add missing L suffix for

expected result.
(cpow_test): Likewise.
* sysdeps/i386/fpu/libm-test-ulps: Adjust errors for cpow, remove
error for acos (0.0625).

22 years agoUpdate.
Ulrich Drepper [Sun, 30 Jun 2002 21:45:51 +0000 (21:45 +0000)]
Update.

* locale/iso-639.def: Add entry for Ganda.
* locale/programs/ld-address.c (DEFINE_LANGUAGE_CODE3): New
definition.
(address_finish): Handle entries with two letter ISO 639 code.

* iconvdata/Makefile: Recreate gconv-modules.cache file in target
expected result.  Reported by Stephen L Moshier <steve@moshier.net>.

22 years agoUpdate.
Ulrich Drepper [Sun, 30 Jun 2002 19:20:39 +0000 (19:20 +0000)]
Update.

2002-06-30  Ulrich Drepper  <drepper@redhat.com>

* locales/iso14651_t1: Fix U0406 handling (MIN -> CAP).
Patch by Alexander Mikhailian <lowry@altern.org> [PR libc/3566].

22 years agoUpdate.
Ulrich Drepper [Sun, 30 Jun 2002 17:15:19 +0000 (17:15 +0000)]
Update.

* iconvdata/Makefile: Recreate gconv-modules.cache file in taret
directory if it existed before.
* iconv/iconvconfig.c: Implement --prefix option.

22 years agoUpdate.
Ulrich Drepper [Sun, 30 Jun 2002 15:49:29 +0000 (15:49 +0000)]
Update.

2002-06-30  Ulrich Drepper  <drepper@redhat.com>

* math/libm-test.inc (cexp_test): Add missing L suffix for
expected result.  Reported by  Stephen L Moshier <steve@moshier.net>.
* sysdeps/i386/fpu/libm-test-ulps: Adjust error for cexp (0.75 +
1.25 i).

22 years agoUpdate.
Ulrich Drepper [Sun, 30 Jun 2002 08:58:21 +0000 (08:58 +0000)]
Update.

2002-05-29  H.J. Lu  <hjl@gnu.org>

* elf/dl-error.c (_dl_signal_cerror): Report error if ld.so debug
is turned on.

22 years agoUpdate.
Ulrich Drepper [Sun, 30 Jun 2002 08:26:20 +0000 (08:26 +0000)]
Update.

2002-05-28  H.J. Lu  <hjl@gnu.org>

* elf/dl-deps.c (_dl_map_object_deps): Don't add objects which
are not dlopened on the dependency list of a dlopened object.

22 years agoUpdate.
Ulrich Drepper [Sun, 30 Jun 2002 07:17:02 +0000 (07:17 +0000)]
Update.

2002-06-30  Ulrich Drepper  <drepper@redhat.com>

* elf/dl-lookup.c (add_dependency): It is not necessary to add
dependencies if they are created between objects which are created
while processing RTLD_NOW for objects loaded as part of the same
dlopen call.

2002-06-14  H.J. Lu  <hjl@gnu.org>

* elf/Makefile (tests): Add circleload1.
(modules-names): Add circlemod1, circlemod2, circlemod3,
circlemod1a, circlemod2a and circlemod3a.
($(objpfx)circleload1): New target.
($(objpfx)circleload1.out): Likewise.
($(objpfx)circlemod1.so): Likewise.
($(objpfx)circlemod2.so): Likewise.
($(objpfx)circlemod1a.so): Likewise.
($(objpfx)circlemod2a.so): Likewise.
* elf/circleload1.c: New file.
* elf/circlemod1.c: New file.
* elf/circlemod1a.c: New file.
* elf/circlemod2.c: New file.
* elf/circlemod2a.c: New file.
* elf/circlemod3.c: New file.
* elf/circlemod3a.c: New file.

22 years agoUpdate.
Ulrich Drepper [Sun, 30 Jun 2002 04:04:20 +0000 (04:04 +0000)]
Update.

2002-06-19  Steven Munroe  <sjmunroe@vnet.ibm.com>

* Examples/ex9.c (main):  Use list of children and join them.
(thread): Do not call exit.

22 years agoUpdate.
Ulrich Drepper [Sat, 29 Jun 2002 23:35:02 +0000 (23:35 +0000)]
Update.

2002-06-18  Amos Waterland  <apw@us.ibm.com>

* sysdeps/pthread/aio_cancel.c (aio_cancel): Add check for invalid
file descriptor.
* sysdeps/pthread/aio_fsync.c (aio_fsync): Add check for invalid fd;
add check for fd not open for writing.

* sysdeps/pthread/aio_suspend.c (aio_suspend): Add check for
completed element(s) and do not suspend thread if so.  Patch
heavily modified by drepper.

* rt/tst-aio7.c: New file.  Regression test for problems which the
above three changes fix.
* rt/Makefile (tests): Add tst-aio7.

* rt/tst-aio6.c: Fix comment.

22 years agoUpdate.
Ulrich Drepper [Sat, 29 Jun 2002 21:08:13 +0000 (21:08 +0000)]
Update.

2002-06-29  Ulrich Drepper  <drepper@redhat.com>

* catgets/gencat.c (read_input_file): Handle more than one slash
at end of line correctly [PR libc/3926].
Based on a patch by Steven Kim <steven.kim@peregrine.com>.

* catgets/sample.SJIS: Add test case for above bug.
* catgets/test-gencat.c: Adjust test code.
* catgets/test-gencat.sh: Adjust expected results.

* elf/do-rel.h (elf_dynamic_do_rel): Avoid overflow in computation
to skip relative relocations.
Patch by Geoff Keating <geoffk@redhat.com>.

22 years agoUpdate.
Ulrich Drepper [Sat, 29 Jun 2002 17:20:10 +0000 (17:20 +0000)]
Update.

2002-06-29  Ulrich Drepper  <drepper@redhat.com>

* locales/en_AU: Add am/pm support.
Patch partly by maffew@cat.org.au [PR libc/3911].

22 years agoUpdate.
Ulrich Drepper [Fri, 28 Jun 2002 21:23:06 +0000 (21:23 +0000)]
Update.

2002-05-26  Bruno Haible  <bruno@clisp.org>
* iconv/loop.c (STANDARD_FROM_LOOP_ERR_HANDLER): New macro.
(STANDARD_TO_LOOP_ERR_HANDLER): Renamed from STANDARD_ERR_HANDLER.
All callers changed.
* iconv/gconv_simple.c (ascii_internal_loop): For error handling use
STANDARD_FROM_LOOP_ERR_HANDLER.
(utf8_internal_loop): Likewise.
(ucs2_internal_loop): Likewise.
(internal_ucs2_loop): Perform error handling like in
STANDARD_FROM_LOOP_ERR_HANDLER.
* iconvdata/unicode.c (BODY for TO_LOOP): Perform error handling like
in STANDARD_FROM_LOOP_ERR_HANDLER.
(BODY for FROM_LOOP): Use STANDARD_FROM_LOOP_ERR_HANDLER for error
handling.
* iconvdata/utf-16.c (BODY for TO_LOOP): Perform error handling like
in STANDARD_FROM_LOOP_ERR_HANDLER.
(BODY for FROM_LOOP): Use STANDARD_FROM_LOOP_ERR_HANDLER for error
handling.
* iconvdata/utf-32.c (BODY for TO_LOOP): Perform error handling like
in STANDARD_FROM_LOOP_ERR_HANDLER.
(BODY for FROM_LOOP): Use STANDARD_FROM_LOOP_ERR_HANDLER for error
handling.
* iconvdata/big5.c (BODY for FROM_LOOP): For error handling use
STANDARD_FROM_LOOP_ERR_HANDLER.
* iconvdata/iso-2022-jp.c (BODY for FROM_LOOP): Likewise.
* iconvdata/8bit-gap.c (BODY for FROM_LOOP): Likewise.
* iconvdata/8bit-generic.c (BODY for FROM_LOOP): Likewise.
* iconvdata/ansi_x3.110.c (BODY for FROM_LOOP): Likewise.
* iconvdata/armscii-8.c (BODY for FROM_LOOP): Likewise.
* iconvdata/cp1255.c (BODY for FROM_LOOP): Likewise.
* iconvdata/cp1258.c (BODY for FROM_LOOP): Likewise.
* iconvdata/euc-cn.c (BODY for FROM_LOOP): Likewise.
* iconvdata/euc-jisx0213.c (BODY for FROM_LOOP): Likewise.
* iconvdata/euc-jp.c (BODY for FROM_LOOP): Likewise.
* iconvdata/euc-kr.c (BODY for FROM_LOOP): Likewise.
* iconvdata/euc-tw.c (BODY for FROM_LOOP): Likewise.
* iconvdata/big5hkscs.c (BODY for FROM_LOOP): Likewise.
* iconvdata/gb18030.c (BODY for FROM_LOOP): Likewise.
* iconvdata/gbk.c (BODY for FROM_LOOP): Likewise.
* iconvdata/iso-2022-cn-ext.c (BODY for FROM_LOOP): Likewise.
* iconvdata/iso-2022-cn.c (BODY for FROM_LOOP): Likewise.
* iconvdata/iso-2022-jp-3.c (BODY for FROM_LOOP): Likewise.
* iconvdata/iso-2022-kr.c (BODY for FROM_LOOP): Likewise.
* iconvdata/iso646.c (BODY for FROM_LOOP): Likewise.
* iconvdata/iso_6937-2.c (BODY for FROM_LOOP): Likewise.
* iconvdata/iso_6937.c (BODY for FROM_LOOP): Likewise.
* iconvdata/johab.c (BODY for FROM_LOOP): Likewise.
* iconvdata/shift_jisx0213.c (BODY for FROM_LOOP): Likewise.
* iconvdata/sjis.c (BODY for FROM_LOOP): Likewise.
* iconvdata/t.61.c (BODY for FROM_LOOP): Likewise.
* iconvdata/uhc.c (BODY for FROM_LOOP): Likewise.
* iconvdata/utf-7.c (BODY for FROM_LOOP): Likewise.
* iconvdata/gbbig5.c (BODY for FROM_LOOP): Likewise.  When ignoring
an error, still set result = __GCONV_ILLEGAL_INPUT.
(BODY for TO_LOOP): Likewise.
* iconvdata/ibm930.c (BODY for FROM_LOOP): For error handling use
STANDARD_FROM_LOOP_ERR_HANDLER.
(BODY for TO_LOOP): Here use STANDARD_TO_LOOP_ERR_HANDLER.
* iconvdata/ibm932.c: Include <dlfcn.h> and <stdint.h>.
(BODY for FROM_LOOP): Use STANDARD_FROM_LOOP_ERR_HANDLER for error
handling.
(BODY for TO_LOOP): Here use STANDARD_TO_LOOP_ERR_HANDLER.
* iconvdata/ibm933.c (BODY for FROM_LOOP): For error handling use
STANDARD_FROM_LOOP_ERR_HANDLER.
(BODY for TO_LOOP): Here use STANDARD_TO_LOOP_ERR_HANDLER.
* iconvdata/ibm935.c (BODY for FROM_LOOP): For error handling use
STANDARD_FROM_LOOP_ERR_HANDLER.
(BODY for TO_LOOP): Here use STANDARD_TO_LOOP_ERR_HANDLER.
* iconvdata/ibm937.c (BODY for FROM_LOOP): For error handling use
STANDARD_FROM_LOOP_ERR_HANDLER.
(BODY for TO_LOOP): Here use STANDARD_TO_LOOP_ERR_HANDLER.
* iconvdata/ibm939.c (BODY for FROM_LOOP): For error handling use
STANDARD_FROM_LOOP_ERR_HANDLER.
(BODY for TO_LOOP): Here use STANDARD_TO_LOOP_ERR_HANDLER.
* iconvdata/ibm943.c: Include <dlfcn.h> and <stdint.h>.
(BODY for FROM_LOOP): Use STANDARD_FROM_LOOP_ERR_HANDLER for error
handling.
(BODY for TO_LOOP): Here use STANDARD_TO_LOOP_ERR_HANDLER.
* iconvdata/gbgbk.c (BODY for FROM_LOOP): Update.
* iconvdata/iso8859-1.c (BODY for TO_LOOP): Update.
* iconvdata/tcvn5712-1.c (BODY for TO_LOOP): Update.

2002-06-28  Kaz Kojima  <kkojima@rr.iij4u.or.jp>

* sysdeps/sh/dl-machine.h (elf_machine_load_address): Use local
labels in assembler instructions.

22 years agoUpdate.
Ulrich Drepper [Wed, 26 Jun 2002 15:31:36 +0000 (15:31 +0000)]
Update.

2002-06-26  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/powerpc/Versions: Export libgcc functions for GLIBC_2.0.
* sysdeps/powerpc/libgcc-compat.c: Fix function names.
Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.

* libio/fileops.c (_IO_file_xsgetn_mmap): Always set EOF flag if

22 years agoUpdate.
Ulrich Drepper [Tue, 25 Jun 2002 19:33:56 +0000 (19:33 +0000)]
Update.

* libio/fileops.c (_IO_file_xsgetn_mmap): Always set EOF flag is
not enough content is available.
* libio/tst-eof.c: New file.
* libio/Makefile (tests): Add tst-eof.

* libio/fileops.c (_IO_file_underflow_mmap): Read a single byte to
update atime.
* libio/tst-atime.c: New file.
* libio/Makefile (tests): Add tst-atime.

22 years agoUpdate.
Ulrich Drepper [Tue, 25 Jun 2002 18:21:11 +0000 (18:21 +0000)]
Update.

2002-06-25  Ulrich Drepper  <drepper@redhat.com>

* argp/argp-fmtstream.c (__argp_fmtstream_update): Avoid crash in
handling of overly long words.

22 years ago(__argp_fmtstream_update): Avoid crash in handling of overly long words.
Ulrich Drepper [Tue, 25 Jun 2002 18:16:11 +0000 (18:16 +0000)]
(__argp_fmtstream_update): Avoid crash in handling of overly long words.

22 years agoUpdate.
Andreas Jaeger [Tue, 25 Jun 2002 12:33:11 +0000 (12:33 +0000)]
Update.

2002-06-25  Andreas Jaeger  <aj@suse.de>

* sysdeps/x86-64/dl-machine.h (elf_machine_load_address): Rewrite
to not use 32-bit pc relative relocations.
(elf_machine_dynamic): Likewise.

22 years ago* sysdeps/x86-64/dl-machine.h (elf_machine_load_address): Rewrite
Andreas Jaeger [Tue, 25 Jun 2002 12:32:52 +0000 (12:32 +0000)]
* sysdeps/x86-64/dl-machine.h (elf_machine_load_address): Rewrite

to not use 32-bit pc relative relocations.
(elf_machine_dynamic): Likewise.

22 years agoUpdate.
Ulrich Drepper [Sat, 22 Jun 2002 05:58:14 +0000 (05:58 +0000)]
Update.

2002-06-21  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/getdents.c [__ASSUME_GETDENTS64_SYSCALL]
(__GETDENTS): Check for failed getdents64 syscall.
* dirent/Makefile (tests): Add bug-readdir1.
* dirent/bug-readdir1.c: New file.

22 years agoUpdate.
Ulrich Drepper [Sat, 22 Jun 2002 05:24:45 +0000 (05:24 +0000)]
Update.

2002-06-17  Jakub Jelinek  <jakub@redhat.com>

* elf/dl-lookup.c (_dl_debug_bindings): Use type_class 4 for TLS
lookups.
* elf/rtld.c (dl_main): Move TLS setup code before LD_TRACE_PRELINKING
code.  Print TLS modid and offset for modules containing PT_TLS
segments.

2002-06-09  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/unix/sysv/linux/i386/dl-brk.c: Move...
* sysdeps/unix/sysv/linux/dl-brk.c: ...here.
* sysdeps/unix/sysv/linux/i386/dl-sbrk.c: Move...
* sysdeps/unix/sysv/linux/dl-sbrk.c: ...here.

2002-06-07  Jakub Jelinek  <jakub@redhat.com>

* nss/getXXbyYY_r.c (NEW, NEW1): Define.
(NEW (REENTRANT_NAME)): Strong alias to INTERNAL (REENTRANT_NAME).
(REENTRANT_NAME@@GLIBC_2.1.2): Use NEW (REENTRANT_NAME).
* nss/getXXent_r.c (NEW, NEW1): Define.
(NEW (REENTRANT_GETNAME)): Strong alias to
INTERNAL (REENTRANT_GETNAME).
(REENTRANT_GETNAME@@GLIBC_2.1.2): Use NEW (REENTRANT_GETNAME).

2002-06-21  Ulrich Drepper  <drepper@redhat.com>

* libio/fileops.c (_IO_file_setbuf_mmap): New function.
(_IO_file_jumps_mmap): Use it.
* libio/iosetvbuf.c: Don't call _IO_WSETBUF.
* libio/libioP.h: Remove _IO_wdefault_setbuf and
_IO_wdefault_setbuf_internal prorotypes.  Add _IO_file_setbuf_mmap
prototype.
* libio/wfileops.c (_IO_wfile_setbuf): Removed.
(_IO_wfile_jumps_mmap): Don't use it anymore.
* libio/wgenops.c (_IO_wdefault_setbuf): Removed.
* libio/memstream.c (_IO_wmem_jumps): Use _IO_default_setbuf not
_IO_wdefault_setbuf.
* libio/vswprintf.c (_IO_wstrn_jumps): Likewise.
* libio/wstrops.c (_IO_wstr_jumps): Likewise.
* stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.

2002-06-05  Jakub Jelinek  <jakub@redhat.com>

* libio/Makefile (tests): Add tst-mmap-setvbuf.
* libio/tst-mmap-setvbuf.c: New test.

22 years ago(td_thr_tls_get_addr): Don't include "tls.h". Return TD_ERR if USE_TLS is not defined.
Ulrich Drepper [Fri, 21 Jun 2002 21:03:30 +0000 (21:03 +0000)]
(td_thr_tls_get_addr): Don't include "tls.h". Return TD_ERR if USE_TLS is not defined.

22 years agoUpdate.
Andreas Jaeger [Fri, 21 Jun 2002 12:13:12 +0000 (12:13 +0000)]
Update.

2002-06-21  Andreas Jaeger  <aj@suse.de>

* sysdeps/i386/fpu/libm-test-ulps: Add some ulps from my P3.

22 years agoAdd some ulps from my P3.
Andreas Jaeger [Fri, 21 Jun 2002 12:12:50 +0000 (12:12 +0000)]
Add some ulps from my P3.

22 years agoUpdate.
Ulrich Drepper [Fri, 21 Jun 2002 05:32:43 +0000 (05:32 +0000)]
Update.

2002-06-20  Ulrich Drepper  <drepper@redhat.com>

* spinlock.c (wait_node_alloc): We cannot use compare-and-exchange.
Unconditionally use the code using spinlock.  Use __pthread_release
to free a spinlock.
(wait_node_free): Likewise.
(__pthread_acquire, __pthread_release): Unconditionally define.

22 years agoUpdate.
Ulrich Drepper [Thu, 20 Jun 2002 22:48:53 +0000 (22:48 +0000)]
Update.

2002-06-18  Jakub Jelinek  <jakub@redhat.com>

* include/unistd.h (__fork_internal): Remove.
(__fork): Don't define to __fork_internal.
* sysdeps/mach/hurd/fork.c (__fork): Remove INTDEF.
* sysdeps/unix/sysv/aix/fork.c (__fork): Likewise.
* sysdeps/unix/sysv/linux/ia64/fork.S (__fork_internal): Remove alias.
* sysdeps/unix/sysv/linux/sparc/fork.S (__fork_internal): Likewise.
* sysdeps/unix/sysv/linux/syscalls.list (__fork_internal): Likewise.

2002-06-20  Ulrich Drepper  <drepper@redhat.com>

* po/hr.po: New file.

2002-06-11  Wolfram Gloger  <wg@malloc.de>

* malloc/malloc.c: Fix error path when new_heap() returns NULL.
Reported by Michael Meissner <meissner@redhat.com>.

2002-06-20  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/ia64/getcontext.S: Fix typo.
Patch by Hans Boehm <hans_boehm@hp.com>.

22 years agoFix typo.
Ulrich Drepper [Thu, 20 Jun 2002 22:14:00 +0000 (22:14 +0000)]
Fix typo.

22 years agoRegenerated.
Andreas Jaeger [Thu, 20 Jun 2002 10:32:13 +0000 (10:32 +0000)]
Regenerated.

22 years agoUpdate.
Andreas Jaeger [Thu, 20 Jun 2002 10:31:53 +0000 (10:31 +0000)]
Update.

* sysdeps/ia64/fpu/libm-test-ulps: Regenerated.

22 years agoUpdate.
Andreas Jaeger [Thu, 20 Jun 2002 08:34:01 +0000 (08:34 +0000)]
Update.

2002-06-20  Andreas Jaeger  <aj@suse.de>

* math/libm-test.inc: Use exact values as input parameters,
compute output parameters with 36 digits for 128-bit long doubles.
* sysdeps/i386/fpu/libm-test-ulps: Regenerated.
* sysdeps/x86-64/fpu/libm-test-ulps: Regenerated.

22 years agoUse exact values as input parameters, compute output parameters with 36 digits for...
Andreas Jaeger [Thu, 20 Jun 2002 08:33:17 +0000 (08:33 +0000)]
Use exact values as input parameters, compute output parameters with 36 digits for 128-bit long doubles.

22 years agoUpdate.
Ulrich Drepper [Thu, 20 Jun 2002 07:23:23 +0000 (07:23 +0000)]
Update.

2002-06-13  Stephen L Moshier  <steve@moshier.net>

* sysdeps/ieee754/ldbl-96/s_scalbnl.c: Fix cases in which
argument or result is subnormal.

2002-06-19  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/i386/fpu/s_remquo.S: Fix three mistakes in computing the
quotient.
* sysdeps/i386/fpu/s_remquof.S: Likewise.
* sysdeps/i386/fpu/s_remquol.S: Likewise.

* sysdeps/hppa/dl-machine.h: Don't use multi-line string literals.

* sysdeps/unix/sysv/linux/alpha/sendfile64.c: New file.
* sysdeps/unix/sysv/linux/ia64/sendfile64.c: New file.
* sysdeps/unix/sysv/linux/sparc/sparc64/sendfile64.c: New file.
* sysdeps/unix/sysv/linux/x86_64/sendfile64.c: New file.

22 years agoDon't use multi-line string literals.
Ulrich Drepper [Thu, 20 Jun 2002 06:23:14 +0000 (06:23 +0000)]
Don't use multi-line string literals.

22 years agoUpdate.
Andreas Jaeger [Wed, 19 Jun 2002 07:22:40 +0000 (07:22 +0000)]
Update.

2002-06-17  David Mosberger  <davidm@hpl.hp.com>

* sysdeps/unix/sysv/linux/ia64/sys/ucontext.h (uc_sigmask): Fix
typo: corresponding sigcontext field is called sc_mask, not sc_sigmask.
Reported by Peter A. Buhr.

22 years ago(uc_sigmask): Fix typo: corresponding sigcontext field is called sc_mask, not sc_sigmask.
Andreas Jaeger [Wed, 19 Jun 2002 07:22:14 +0000 (07:22 +0000)]
(uc_sigmask): Fix typo: corresponding sigcontext field is called sc_mask, not sc_sigmask.

22 years ago* sysdeps/mach/hurd/mmap.c (__mmap): Add a dead case that quiets a
Roland McGrath [Sat, 15 Jun 2002 22:19:53 +0000 (22:19 +0000)]
* sysdeps/mach/hurd/mmap.c (__mmap): Add a dead case that quiets a

warning.

* sysdeps/mach/hurd/getcwd.c
(_hurd_canonicalize_directory_name_internal): unsigned int -> size_t

22 years ago* sysdeps/unix/sysv/linux/bits/ustat.h: Moved to ...
Roland McGrath [Sat, 15 Jun 2002 22:05:19 +0000 (22:05 +0000)]
* sysdeps/unix/sysv/linux/bits/ustat.h: Moved to ...

* sysdeps/generic/bits/ustat.h: ... here (was almost identical).

22 years ago* sysdeps/alpha/divrem.h: Use local label instead of global one for
Roland McGrath [Sat, 15 Jun 2002 20:53:53 +0000 (20:53 +0000)]
* sysdeps/alpha/divrem.h: Use local label instead of global one for

jump to local subroutine.

22 years ago* sysdeps/mach/hurd/i386/Makeconfig: File moved to ...
Roland McGrath [Sat, 15 Jun 2002 20:08:42 +0000 (20:08 +0000)]
* sysdeps/mach/hurd/i386/Makeconfig: File moved to ...

* sysdeps/mach/hurd/Makeconfig: ... here.

22 years ago2002-06-14 Roland McGrath <roland@frob.com>
Roland McGrath [Sat, 15 Jun 2002 20:08:25 +0000 (20:08 +0000)]
2002-06-14  Roland McGrath  <roland@frob.com>

* sysdeps/mach/hurd/i386/Makeconfig: File moved to ...
* sysdeps/mach/hurd/Makeconfig: ... here.

22 years ago/castro/street/H-alpha-linux/bin/bison --yacc --name-prefix=__gettext --output plural...
Richard Henderson [Fri, 14 Jun 2002 23:17:07 +0000 (23:17 +0000)]
/castro/street/H-alpha-linux/bin/bison --yacc --name-prefix=__gettext --output plural.c plural.y

22 years ago* sysdeps/m68k/fpu/s_finite.c: Remove INTDEF.
Andreas Schwab [Thu, 13 Jun 2002 12:39:36 +0000 (12:39 +0000)]
* sysdeps/m68k/fpu/s_finite.c: Remove INTDEF.

* sysdeps/m68k/fpu/s_finitef.c: Likewise.
* sysdeps/m68k/fpu/s_finitel.c: Likewise.

22 years agoRemove INTDEF.
Andreas Schwab [Thu, 13 Jun 2002 12:38:20 +0000 (12:38 +0000)]
Remove INTDEF.

22 years ago* sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start: go): Fix arg type.
Roland McGrath [Thu, 13 Jun 2002 09:02:29 +0000 (09:02 +0000)]
* sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start: go): Fix arg type.

* sysdeps/mach/hurd/if_index.c (if_nameindex): Use size_t for AMOUNT
argument to pfinet_siocgifconf RPC.

22 years ago* hurd/hurdstartup.h (_hurd_startup): int -> intptr_t in MAIN arg type.
Roland McGrath [Thu, 13 Jun 2002 08:57:15 +0000 (08:57 +0000)]
* hurd/hurdstartup.h (_hurd_startup): int -> intptr_t in MAIN arg type.

* hurd/hurdstartup.c (_hurd_startup): Likewise.
Use intptr_t instead of int for argc in stack layout.
* sysdeps/mach/hurd/alpha/init-first.c (init): Fix argument type.
(_dl_init_first): Likewise.
(_hurd_stack_setup): Likewise.
(init1): Add a cast.

22 years ago2002-06-13 Roland McGrath <roland@frob.com>
Roland McGrath [Thu, 13 Jun 2002 08:56:05 +0000 (08:56 +0000)]
2002-06-13  Roland McGrath  <roland@frob.com>

* hurd/hurdstartup.h (_hurd_startup): int -> intptr_t in MAIN arg type.
* hurd/hurdstartup.c (_hurd_startup): Likewise.
Use intptr_t instead of int for argc in stack layout.
* sysdeps/mach/hurd/alpha/init-first.c (init): Fix argument type.
(_dl_init_first): Likewise.
(_hurd_stack_setup): Likewise.
(init1): Add a cast.

22 years ago* sysdeps/m68k/fpu/s_isinf.c (INTDEFX): Define to get correct
Andreas Schwab [Thu, 13 Jun 2002 07:52:55 +0000 (07:52 +0000)]
* sysdeps/m68k/fpu/s_isinf.c (INTDEFX): Define to get correct

expansion order.

22 years ago(INTDEFX): Define to get correct expansion order.
Andreas Schwab [Thu, 13 Jun 2002 07:52:09 +0000 (07:52 +0000)]
(INTDEFX): Define to get correct expansion order.

22 years agoUpdate.
Ulrich Drepper [Wed, 12 Jun 2002 21:02:37 +0000 (21:02 +0000)]
Update.

22 years agoFunction to get address of thread local variable.
Ulrich Drepper [Wed, 12 Jun 2002 21:00:23 +0000 (21:00 +0000)]
Function to get address of thread local variable.

22 years ago* sysdeps/generic/tmpfile.c [USE_IN_LIBIO] (tmpfile): Don't #define
Roland McGrath [Wed, 12 Jun 2002 20:36:22 +0000 (20:36 +0000)]
* sysdeps/generic/tmpfile.c [USE_IN_LIBIO] (tmpfile): Don't #define

if already defined.
[USE_IN_LIBIO]: Conditionalize versioned_symbol use on
[GEN_THIS == __GT_FILE] so that tmpfile64.c's inclusion doesn't get it.

22 years ago* sysdeps/mach/hurd/xstat64.c: Conditionalize entire contents of the
Roland McGrath [Tue, 11 Jun 2002 23:04:51 +0000 (23:04 +0000)]
* sysdeps/mach/hurd/xstat64.c: Conditionalize entire contents of the

file on [!RTLD_STAT64].
* sysdeps/mach/hurd/fxstat64.c: Likewise.

* sysdeps/mach/hurd/tmpfile.c (tmpfile64): Define as alias of tmpfile.
(__fdopen): Use INTUSE.
* sysdeps/mach/hurd/tmpfile64.c: New file, empty placeholder.

* stdio-common/tmpfile64.c: File removed.
* sysdeps/generic/tmpfile64.c: New file.
* sysdeps/generic/tmpfile.c (GEN_THIS): New macro, define to __GT_FILE
if not already defined.
(tmpfile): Use it in place of __GT_FILE.

* include/unistd.h: Declare __chown_internal.

* sysdeps/mach/hurd/sendfile64.c (sendfile64): Do real work here.
* sysdeps/mach/hurd/sendfile.c (sendfile): Call that.

2002-06-09  Roland McGrath  <roland@frob.com>

Update to new Hurd RPC interfaces supporting 64-bit file sizes.
* sysdeps/mach/hurd/configure.in: Check for <hurd/version.h> with
value of HURD_INTERFACE_VERSION >= 20020609.
* sysdeps/mach/hurd/configure: Regenerated.
* shlib-versions (.*-.*-gnu-gnu.*): Set libhurduser=0.3.
* sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Rewritten to
convert a struct stat64 into a struct stat and return 0 or -1
with errno set to EOVERFLOW.
* sysdeps/mach/hurd/statfsconv.c (statfs64_conv): Likewise
for struct statfs64 to struct statfs.
* sysdeps/mach/hurd/xstat.c (__xstat): Use converter and call ...
* sysdeps/mach/hurd/xstat64.c (__xstat64): ... this, real work here.
* sysdeps/mach/hurd/fxstat.c (__fxstat): Likewise.
* sysdeps/mach/hurd/fxstat64.c (__fxstat64): Likewise.
* sysdeps/mach/hurd/lxstat.c (__lxstat): Likewise.
* sysdeps/mach/hurd/lxstat64.c (__lxstat64): Likewise.
* sysdeps/mach/hurd/statfs.c (__statfs): Likewise.
* sysdeps/mach/hurd/statfs64.c (__statfs64): Likewise.
* sysdeps/mach/hurd/fstatfs.c (__fstatfs): Likewise.
* sysdeps/mach/hurd/fstatfs64.c (__fstatfs64): Likewise.
* sysdeps/mach/hurd/pwrite64.c (__libc_pwrite64): Do real work here.
* sysdeps/mach/hurd/pwrite.c (__libc_pwrite): Call that.
* sysdeps/mach/hurd/pread64.c (__libc_pread64): Do real work here.
* sysdeps/mach/hurd/pread.c (__libc_pread): Call that.
* sysdeps/mach/hurd/lseek64.c (__libc_lseek64): Do real work here.
* sysdeps/mach/hurd/lseek.c (__libc_lseek): Call that.
* sysdeps/mach/hurd/readdir64.c (__readdir64): Do real work here.
* sysdeps/mach/hurd/readdir.c (__readdir): Call that.
* sysdeps/mach/hurd/readdir64_r.c (__readdir64_r): Do real work here.
* sysdeps/mach/hurd/readdir_r.c (__readdir64_r): Call that.
* hurd/lookup-retry.c (__hurd_file_name_lookup_retry):
Use struct stat64 for io_stat argument.
* sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
* hurd/fopenport.c (seekio): Remove EOVERFLOW check, pass POS directly
to io_seek.
* hurd/fd-read.c (_hurd_fd_read): Use loff_t for OFFSET argument.
* hurd/fd-write.c (_hurd_fd_write): Likewise.
* hurd/hurd/fd.h: Update decls.
* sysdeps/mach/hurd/getcwd.c
(_hurd_canonicalize_directory_name_internal): Use ino64_t
and struct dirent64.
* sysdeps/mach/hurd/dl-sysdep.c (open_file): Use struct stat64.
(__xstat): Renamed to __xstat64, use struct stat64 for argument.
(__fxstat): Renamed to __fxstat64, use struct stat64 for argument.
(__lseek): Renamed to __libc_lseek64, use off64_t for argument.

2002-06-08  Roland McGrath  <roland@frob.com>

* sysdeps/mach/hurd/dirstream.h (struct __dirstream): Use size_t
instead of unsigned long int for __allocation and __size members.

2002-05-19  Ulrich Drepper  <drepper@redhat.com>

22 years ago2002-06-08 Roland McGrath <roland@frob.com>
Roland McGrath [Tue, 11 Jun 2002 23:03:07 +0000 (23:03 +0000)]
2002-06-08  Roland McGrath  <roland@frob.com>

* sysdeps/mach/hurd/dirstream.h (struct __dirstream): Use size_t
instead of unsigned long int for __allocation and __size members.

22 years agoUpdate.
Andreas Jaeger [Sun, 9 Jun 2002 20:15:14 +0000 (20:15 +0000)]
Update.

2002-06-09  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/unix/sysv/linux/i386/dl-brk.c: Move...
* sysdeps/unix/sysv/linux/dl-brk.c: ...here.
* sysdeps/unix/sysv/linux/i386/dl-sbrk.c: Move...
* sysdeps/unix/sysv/linux/dl-sbrk.c: ...here.

22 years agoUpdate.
Andreas Jaeger [Fri, 7 Jun 2002 20:12:11 +0000 (20:12 +0000)]
Update.

2002-06-07  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/ia64/pt-machine.h (MEMORY_BARRIER): Fix typo.

22 years ago (MEMORY_BARRIER): Fix typo.
Andreas Jaeger [Fri, 7 Jun 2002 20:12:02 +0000 (20:12 +0000)]
 (MEMORY_BARRIER): Fix typo.

22 years ago* sysdeps/mach/hurd/bits/environments.h: File removed.
Roland McGrath [Fri, 7 Jun 2002 19:34:09 +0000 (19:34 +0000)]
* sysdeps/mach/hurd/bits/environments.h: File removed.

22 years ago2002-06-07 Roland McGrath <roland@frob.com>
Roland McGrath [Fri, 7 Jun 2002 19:33:59 +0000 (19:33 +0000)]
2002-06-07  Roland McGrath  <roland@frob.com>

* sysdeps/mach/hurd/bits/environments.h: File removed.

22 years ago(__fxstat64, __lxstat64): Only define if not already defined.
Andreas Jaeger [Fri, 7 Jun 2002 12:34:22 +0000 (12:34 +0000)]
(__fxstat64, __lxstat64): Only define if not already defined.

22 years agoUpdate.
Andreas Jaeger [Fri, 7 Jun 2002 12:34:08 +0000 (12:34 +0000)]
Update.

2002-06-07  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/unix/sysv/linux/alpha/sendfile64.c: New.
* sysdeps/unix/sysv/linux/ia64/sendfile64.c: New.
* sysdeps/unix/sysv/linux/sparc/sparc64/sendfile64.c: New.
* sysdeps/unix/sysv/linux/x86_64/sendfile64.c: New.
* sysdeps/unix/sysv/linux/syscalls.list (sendfile): Remove EXTRA.
(sendfile64): Likewise.
* sysdeps/unix/sysv/linux/alpha/syscalls.list (sendfile): Likewise.
* sysdeps/unix/sysv/linux/ia64/syscalls.list (sendfile): Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (sendfile):
Likewise.
* sysdeps/unix/sysv/linux/x86_64/syscalls.list (sendfile): Likewise.

* include/sys/stat.h (__fxstat64, __lxstat64): Only define if not
already defined.

22 years agoUpdate.
Andreas Jaeger [Thu, 6 Jun 2002 14:16:41 +0000 (14:16 +0000)]
Update.

2002-06-04  Bruno Haible  <bruno@clisp.org>

* sysdeps/cris/stackinfo.h: New file.

* sysdeps/hppa/dl-machine.h (elf_machine_rela): Cast reloc_addr
to an integer type before performing bit operations on it.

22 years agoCris stack information.
Andreas Jaeger [Thu, 6 Jun 2002 14:14:17 +0000 (14:14 +0000)]
Cris stack information.

22 years ago* sysdeps/generic/sendfile.c: Include <errno.h>.
Roland McGrath [Wed, 5 Jun 2002 20:38:48 +0000 (20:38 +0000)]
* sysdeps/generic/sendfile.c: Include <errno.h>.

* sysdeps/generic/sendfile64.c: Likewise.

22 years ago* io/Makefile (routines): Add sendfile and sendfile64.
Roland McGrath [Wed, 5 Jun 2002 08:56:41 +0000 (08:56 +0000)]
* io/Makefile (routines): Add sendfile and sendfile64.

(headers): Add sys/sendfile.h to the list.
* sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it here.
* sysdeps/unix/sysv/linux/sys/sendfile.h: Moved to ...
* io/sys/sendfile.h: ... here.
* sysdeps/generic/sendfile.c: New file.
* sysdeps/generic/sendfile64.c: New file.
* sysdeps/unix/sysv/linux/Versions (GLIBC_2.1, GLIBC_2.3):
Move sendfile, sendfile64 to ...
* io/Versions (GLIBC_2.1, GLIBC_2.3): ... here.
* sysdeps/mach/hurd/sendfile.c: New file.
* sysdeps/mach/hurd/sendfile64.c: New file.

* sysdeps/mach/nanosleep.c: New file.

22 years ago* sysdeps/alpha/elf/configure.in: New file. Check for TLS support.
Roland McGrath [Tue, 4 Jun 2002 19:03:41 +0000 (19:03 +0000)]
* sysdeps/alpha/elf/configure.in: New file.  Check for TLS support.

* sysdeps/alpha/elf/configure: New file (generated).

22 years ago* include/link.h: Include <tls.h> to make sure USE_TLS is defined.
Roland McGrath [Tue, 4 Jun 2002 18:35:24 +0000 (18:35 +0000)]
* include/link.h: Include <tls.h> to make sure USE_TLS is defined.

2002-06-01  Roland McGrath  <roland@frob.com>

* sysdeps/mach/hurd/alpha/init-first.c: New file, modified from
i386/init-first.c by Andrew M. Miklic <miklic@attglobal.net>.

22 years ago2002-06-02 Roland McGrath <roland@frob.com>
Roland McGrath [Tue, 4 Jun 2002 18:35:03 +0000 (18:35 +0000)]
2002-06-02  Roland McGrath  <roland@frob.com>

* include/link.h: Include <tls.h> to make sure USE_TLS is defined.

22 years agoUpdate.
Ulrich Drepper [Fri, 31 May 2002 07:54:02 +0000 (07:54 +0000)]
Update.

2002-05-21  Jakub Jelinek  <jakub@redhat.com>

* resolv/resolv.h (struct __res_state): Remove unused nstimes.
Add nsmap.
* resolv/res_init.c (__res_vinit): Initialize nsmap array.
Remove nstimes setting.
(res_nclose): Check all MAXNS nameservers with non-NULL nsaddrs.
* resolv/res_send.c (res_nsend): Don't close unconditionally if
there is mix of IPv6 and IPv4 nameservers.
Use nsmap array to find free slots and preserve nameserver ordering.
Fix RES_ROTATE.

22 years agoUpdate.
Ulrich Drepper [Fri, 31 May 2002 02:01:47 +0000 (02:01 +0000)]
Update.

* sysdeps/unix/sysv/linux/sys/sendfile.h: It is now possible to
use this header with LFS.

22 years agoUpdate.
Ulrich Drepper [Fri, 31 May 2002 00:36:57 +0000 (00:36 +0000)]
Update.

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

2002-05-28  Andreas Schwab  <schwab@suse.de>

* sysdeps/generic/readelflib.c (process_elf_file): Give correct
message when finding object of wrong class.

2002-05-28  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/wordsize-32/divdi3.c (__moddi3): Fix pasto.
Patch by <radu@netsoft.ro>.

2002-05-30  Ulrich Drepper  <drepper@redhat.com>

22 years agoUpdate.
Ulrich Drepper [Thu, 30 May 2002 23:35:59 +0000 (23:35 +0000)]
Update.

2002-05-30  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/Makefile [$(subdir)==misc] (sysdep_routines):
Add readahead.
* sysdeps/unix/sysv/linux/readahead.c: New file.
* sysdeps/unix/sysv/linux/syscalls.list: Add sendfile64 syscall.
* sysdeps/unix/sysv/linux/Versions: Export readahead and sendfile64.
* sysdeps/unix/sysv/linux/alpha/syscalls.list: Add readahead syscall.
Add sendfile64 alias to sendfile syscall.
* sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add s_readahead
syscall.

* sysdeps/unix/sysv/linux/i386/sysdep.h: Use __i686.get_pc_thunk.XX
special section for PIC register loading.
* sysdeps/unix/sysv/linux/i386/i686/sysdep.h: Likewise.

* config.h.in: Define HAVE_HIDDEN.
* configure.in: Also define HAVE_HIDDEN if HAVE_PROTECTED is defined.

* elf/elf.h: Correct Alpha TLS relocations according to last spec.

22 years agoDefine HAVE_HIDDEN.
Ulrich Drepper [Thu, 30 May 2002 23:09:29 +0000 (23:09 +0000)]
Define HAVE_HIDDEN.

22 years ago* sysdeps/mach/alpha/setfpucw.c: New file.
Roland McGrath [Wed, 29 May 2002 08:10:07 +0000 (08:10 +0000)]
* sysdeps/mach/alpha/setfpucw.c: New file.

2002-05-26  Roland McGrath  <roland@frob.com>

* sysdeps/mach/hurd/ioctl.c (__ioctl): Don't use sizeof in _IOTS.
Use integer_t instead of int for IOC_VOID case.

22 years ago2002-05-28 Roland McGrath <roland@frob.com>
Roland McGrath [Wed, 29 May 2002 08:09:20 +0000 (08:09 +0000)]
2002-05-28  Roland McGrath  <roland@frob.com>

* sysdeps/mach/alpha/setfpucw.c: New file.

22 years agoUpdate.
Ulrich Drepper [Tue, 28 May 2002 05:26:16 +0000 (05:26 +0000)]
Update.

2002-05-27  Alexandre Oliva  <aoliva@redhat.com>

* configure.in (DO_STATIC_NSS): Define if --disable-shared.

2002-05-26  Bruno Haible  <bruno@clisp.org>

* iconvdata/iso-2022-jp.c (BODY for TO_LOOP): Avoid running off the
end of the ISO-8859-7 from idx table.

2002-05-27  Ulrich Drepper  <drepper@redhat.com>

* manual/lang.texi: Fix FLT_EPSILON description [PR libc/3649].

2002-05-24  David S. Miller  <davem@redhat.com>

* string/bits/string2.h (memset): Do not try to optimize when
not _STRING_ARCH_unaligned if GCC will do the right thing.

22 years agoUpdate.
Ulrich Drepper [Fri, 24 May 2002 08:49:00 +0000 (08:49 +0000)]
Update.

2002-05-21  Isamu Hasegawa  <isamu@yamato.ibm.com>

* posix/regex.c: Define `inline' as a macro into nothing for the
compilers which lack the keyword.
* posix/regex.h: (RE_SYNTAX_GNU_AWK): Remove RE_CONTEXT_INVALID_OPS
for the compatibility of gawk.
* posix/regcomp.c: Add fake implementation of isblank() for the
environments which lack the function.
Don't use free_charset() in case of non-i18n envs.
(build_range_exp): Don't use i18n related code in case of non-i18n
envs.
(build_collating_symbol): Likewise.
(build_equiv_class): Likewise.
(build_charclass): Likewise.
(re_compile_fastmap_iter): Likewise.
(parse_bracket_exp): Likewise.
(build_word_op): Likewise.
(regfree): Don't use free_charset() in case of non-i18n envs.
* posix/regex_internal.h: Remove COMPLEX_BRACKET from
re_token_type_t in case of non-i18n envs.
Don't define re_charset_t in case of non-i18n envs.
Change the type of wcs of re_string_t from wchar_t to wint_t,
since we store also WEOF.
* posix/regex_internal.c: (re_string_realloc_buffers): Change
the type of wcs of re_string_t from wchar_t to wint_t.
(re_string_reconstruct): Likewise.
(create_ci_newstate): Don't use i18n related code in case of
non-i18n envs.
(create_cd_newstate): Likewise.

2002-05-24  Ulrich Drepper  <drepper@redhat.com>

* iconv/loop.c: Fix typo.

2002-05-23  Jakub Jelinek  <jakub@redhat.com>

* inet/ether_line.c (ether_line): Fix a typo causing only
lower 4 bits of each ethernet address byte being assigned.
Don't modify what line points to.
* inet/tst-ether_aton.c (main): Add ether_line tests.

2002-05-23  Marcus Brinkmann  <marcus@gnu.org>

* manual/filesys.texi: Don't make readlink example leak memory
when readlink fails.

22 years agoUpdate.
Ulrich Drepper [Tue, 21 May 2002 17:58:38 +0000 (17:58 +0000)]
Update.

2002-05-21  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/pthread/pthread.h (pthread_create): Rename first
parameter.
(pthread_cancel): Likewise.
* internals.h (__pthread_create_2_1): Likewise.
* sysdeps/unix/sysv/linux/bits/sigthread.h (pthread_kill): Likewise.

22 years agoUpdate.
Ulrich Drepper [Tue, 21 May 2002 06:01:28 +0000 (06:01 +0000)]
Update.

2002-05-20  Ulrich Drepper  <drepper@redhat.com>

* iconv/loop.c: Fix condition for defining unaligned loop.  Add
some more security checks.