platform/upstream/glibc.git
23 years agoUpdate.
Ulrich Drepper [Tue, 24 Jul 2001 07:01:51 +0000 (07:01 +0000)]
Update.

* locale/programs/locale.c (write_locales): Disable implicit
locking for the stream.  Use feof_unlocked instead of feof.

23 years agoUpdate.
Ulrich Drepper [Tue, 24 Jul 2001 06:50:41 +0000 (06:50 +0000)]
Update.

* sysdeps/unix/sysv/linux/i386/makecontext.S: Initialize %fs, %gs,
and floating-point status as well.

23 years agoInitialize %fs, %gs, and floating-point status as well.
Ulrich Drepper [Tue, 24 Jul 2001 06:48:43 +0000 (06:48 +0000)]
Initialize %fs, %gs, and floating-point status as well.

23 years ago2001-07-24 Igor Khavkine <i_khavki@alcor.concordia.ca>
Roland McGrath [Tue, 24 Jul 2001 04:59:07 +0000 (04:59 +0000)]
2001-07-24  Igor Khavkine  <i_khavki@alcor.concordia.ca>

        * hurd/hurdsig.c (_hurdsig_init): Fix incorrect initialization
        of pending signals.

23 years agoUpdate.
Ulrich Drepper [Tue, 24 Jul 2001 04:22:05 +0000 (04:22 +0000)]
Update.

* libio/iofclose.c (_IO_new_fclose): Unlink descriptor first to
avoid deadlock.
* libio/oldiofclose.c (_IO_old_fclose): Likewise.
* libio/genops.c (_IO_un_link): Get stream lock since it's not
always done in the caller.
(_IO_link_in): Likewise.

23 years agoUpdate.
Ulrich Drepper [Tue, 24 Jul 2001 01:33:57 +0000 (01:33 +0000)]
Update.

* libio/genops.c (_IO_list_all_stamp): New variable.
(_IO_un_link): Bump _IO_list_all_stamp after removing from list.
(_IO_link): Likewise for insertion.
(flush_cleanup): New function.
(_IO_flush_all): Get list_all_lock and all individual locks for the
streams.  Detect and handle changes to the _IO_list_all list.
(_IO_flush_all_linebuffered): Likewise.
* sysdeps/generic/bits/stdio-lock.h: Define
_IO_cleanup_region_start_noarg.
* sysdeps/mach/hurd/bits/stdio-lock.c: Likewise.

23 years agoUpdate.
Ulrich Drepper [Mon, 23 Jul 2001 23:45:03 +0000 (23:45 +0000)]
Update.

* stdio-common/printf.h: Fix typo in comment.

23 years agoUpdate.
Ulrich Drepper [Mon, 23 Jul 2001 23:01:08 +0000 (23:01 +0000)]
Update.

2001-07-23  Ulrich Drepper  <drepper@redhat.com>

* iconv/gconv_cache.c (__gconv_lookup_cache): Handle encoding from
and to INTERNAL.
* iconv/iconvconfig.c: Create a special record for the INTERNAL
encoding name in the output file.

23 years agoUpdate.
Ulrich Drepper [Mon, 23 Jul 2001 18:14:55 +0000 (18:14 +0000)]
Update.

2001-07-23  Jakub Jelinek  <jakub@redhat.com>

* sunrpc/svc_tcp.c (svctcp_rendezvous_abort): New.
(svctcp_rendezvous_op): Use it.
* sunrpc/svc_unix.c (svcunix_rendezvous_abort): New.
(svcunix_rendezvous_op): Use it.

2001-07-23  Andreas Schwab  <schwab@suse.de>

* math/Makefile (CPPFLAGS-test-ifloat.c, CPPFLAGS-test-idouble.c,
CPPFLAGS-test-ildoubl.c): Renamed from CFLAGS-*.
(math-CPPFLAGS): Set this instead of CPPFLAGS.

23 years agoUpdate.
Ulrich Drepper [Mon, 23 Jul 2001 17:14:27 +0000 (17:14 +0000)]
Update.

2001-07-23  Ulrich Drepper  <drepper@redhat.com>

* elf/elf.h: Add more definitions from Sun's latest version.

2001-07-23  Stephen L Moshier  <moshier@mediaone.net>

23 years agoAdd more definitions from Sun's latest version.
Ulrich Drepper [Mon, 23 Jul 2001 17:11:21 +0000 (17:11 +0000)]
Add more definitions from Sun's latest version.

23 years agoUpdate.
Andreas Jaeger [Mon, 23 Jul 2001 13:23:30 +0000 (13:23 +0000)]
Update.

2001-07-23  Stephen L Moshier <moshier@mediaone.net>

* sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Return proper
sign for 0 input and set divide by zero exception for -1 input.
Return argument if NaN or infinity.

23 years agoUpdate.
Andreas Jaeger [Mon, 23 Jul 2001 09:19:11 +0000 (09:19 +0000)]
Update.

2001-07-23  Andreas Jaeger  <aj@suse.de>

* sysdeps/sparc/sparc64/fpu/libm-test-ulps: Add some deltas.

23 years agoAdd some deltas.
Andreas Jaeger [Mon, 23 Jul 2001 09:17:33 +0000 (09:17 +0000)]
Add some deltas.

23 years agoUpdate.
Ulrich Drepper [Mon, 23 Jul 2001 09:11:23 +0000 (09:11 +0000)]
Update.

2001-07-23  Ulrich Drepper  <drepper@redhat.com>

* iconv/gconv_cache.c (__gconv_lookup_cache): Select correct
module for conversion direction.

2001-07-23  Stephen L Moshier  <moshier@mediaone.net>

23 years ago(__gconv_lookup_cache): Select correct module for conversion direction.
Ulrich Drepper [Mon, 23 Jul 2001 09:10:36 +0000 (09:10 +0000)]
(__gconv_lookup_cache): Select correct module for conversion direction.

23 years agoUpdate.
Andreas Jaeger [Mon, 23 Jul 2001 08:54:31 +0000 (08:54 +0000)]
Update.

2001-07-23  Stephen L Moshier <moshier@mediaone.net>

* sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Return proper
sign for 0 input.  Return NaN with no exception for NaN input.

23 years agoUpdate.
Andreas Jaeger [Mon, 23 Jul 2001 08:40:22 +0000 (08:40 +0000)]
Update.

Add prototypes to avoid warnings.

23 years agoAdd prototypes to avoid warnings.
Andreas Jaeger [Mon, 23 Jul 2001 08:39:51 +0000 (08:39 +0000)]
Add prototypes to avoid warnings.

23 years agoUpdate.
Ulrich Drepper [Mon, 23 Jul 2001 08:31:12 +0000 (08:31 +0000)]
Update.

2001-07-23  Ulrich Drepper  <drepper@redhat.com>

* iconv/gconv_builtin.h: ISO-106464/UTF-8/ transformation must
really be an alias.

23 years agoISO-106464/UTF-8/ transformation must really be an alias.
Ulrich Drepper [Mon, 23 Jul 2001 08:30:03 +0000 (08:30 +0000)]
ISO-106464/UTF-8/ transformation must really be an alias.

23 years agoUpdate.
Andreas Jaeger [Mon, 23 Jul 2001 07:55:20 +0000 (07:55 +0000)]
Update.

2001-07-23  Andreas Jaeger  <aj@suse.de>

* iconv/iconvconfig.c: Include <sys/cdefs.h> and use
__attribute_malloc__ for older GCC versions.
* iconv/strtab.c: Likewise.

23 years ago* iconv/iconvconfig.c: Include <sys/cdefs.h> and use
Andreas Jaeger [Mon, 23 Jul 2001 07:55:03 +0000 (07:55 +0000)]
* iconv/iconvconfig.c: Include <sys/cdefs.h> and use

__attribute_malloc__ for older GCC versions.
* iconv/strtab.c: Likewise.

23 years agoMust flee the whitespace police.
Roland McGrath [Mon, 23 Jul 2001 07:36:52 +0000 (07:36 +0000)]
Must flee the whitespace police.

and SA_NODEFER options.  Spurred to action by Igor Khavkine.
* sysdeps/generic/bits/sigaction.h (struct sigaction): Use a union

23 years ago* hurd/hurdsig.c (_hurd_internal_post_signal): Support SA_RESETHAND
Roland McGrath [Mon, 23 Jul 2001 07:20:28 +0000 (07:20 +0000)]
* hurd/hurdsig.c (_hurd_internal_post_signal): Support SA_RESETHAND

and SA_NODEFER options.  Spurred to action by Igor Khavkine.

* sysdeps/generic/bits/sigaction.h [__USE_UNIX98 || __USE_MISC]
(SA_NODEFER, SA_RESETHAND): New macros, same bit values as FreeBSD.
[__USE_MISC] (SA_INTERRUPT): New macro, value 0.
[__USE_MISC] (SA_NOMASK, SA_ONESHOT, SA_STACK): New macros, aliases
as in other sysdeps versions of this file.

        * sysdeps/generic/bits/sigaction.h (struct sigaction): Use a union
and provide sa_handler and sa_sigaction member names as macros, as
done in other sysdeps versions of this file.
Suggested by Igor Khavkine <i_khavki@alcor.concordia.ca>.

23 years ago2001-07-22 Roland McGrath <roland@frob.com>
Roland McGrath [Mon, 23 Jul 2001 07:19:20 +0000 (07:19 +0000)]
2001-07-22  Roland McGrath  <roland@frob.com>

* hurd/hurdsig.c (_hurd_internal_post_signal): Support SA_RESETHAND
and SA_NODEFER options.  Spurred to action by Igor Khavkine.

23 years agoUpdate.
Ulrich Drepper [Mon, 23 Jul 2001 07:07:11 +0000 (07:07 +0000)]
Update.

2001-07-23  Ulrich Drepper  <drepper@redhat.com>

* posix/regex.c: Revamp memory allocation for WCHAR functions to
not use too much stack.

23 years agoUpdate.
Ulrich Drepper [Mon, 23 Jul 2001 04:11:06 +0000 (04:11 +0000)]
Update.

* iconv/iconvconfig.c (write_output): Update comment explaining
output format.

23 years agoUpdate.
Ulrich Drepper [Mon, 23 Jul 2001 01:13:01 +0000 (01:13 +0000)]
Update.

* elf/dl-load.c (_dl_dst_count): In SUID binaries expand $ORIGIN
if it is alone.
(_dl_dst_substitute): Likewise.

23 years agoUpdate.
Ulrich Drepper [Sun, 22 Jul 2001 23:41:12 +0000 (23:41 +0000)]
Update.

2001-07-19  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/i386/useldt.h: Fix typo in ARCH_STACK_MAX_SIZE comment.

* sysdeps/ia64/pt-machine.h (FLOATING_STACKS): Define.
(ARCH_STACK_MAX_SIZE): Define.
* manager.c (pthread_allocate_stack): Handle FLOATING_STACKS with
NEED_SEPARATE_REGISTER_STACK.

23 years agoUpdate.
Ulrich Drepper [Sun, 22 Jul 2001 22:07:20 +0000 (22:07 +0000)]
Update.

* iconv/iconvconfig.c: Remove --verbose option.  Comment out
mcheck_verbose call.

23 years agoUpdate.
Ulrich Drepper [Sun, 22 Jul 2001 21:48:51 +0000 (21:48 +0000)]
Update.

2001-07-22  Ulrich Drepper  <drepper@redhat.com>

* iconv/strtab.c (morememory): Fix little memory handling problem.

23 years agoFix redefinition problem.
Ulrich Drepper [Sun, 22 Jul 2001 18:23:51 +0000 (18:23 +0000)]
Fix redefinition problem.

23 years ago* sysdeps/unix/sysv/linux/m68k/sysdep.h (INLINE_SYSCALL): Don't
Andreas Schwab [Sun, 22 Jul 2001 18:18:58 +0000 (18:18 +0000)]
* sysdeps/unix/sysv/linux/m68k/sysdep.h (INLINE_SYSCALL): Don't

mark asm input operand as clobbered.
* sysdeps/unix/sysv/linux/m68k/brk.c (__brk): Likewise.

23 years ago(INLINE_SYSCALL): Don't mark asm input operand as clobbered.
Andreas Schwab [Sun, 22 Jul 2001 18:18:34 +0000 (18:18 +0000)]
(INLINE_SYSCALL): Don't mark asm input operand as clobbered.

23 years agoUpdate.
Ulrich Drepper [Sun, 22 Jul 2001 17:47:08 +0000 (17:47 +0000)]
Update.

2001-07-22  Ulrich Drepper  <drepper@redhat.com>

* iconv/gconv_builtin.c (struct builtin_map): Remove init and end
elements.
(BUILTIN_TRANSFORMATION): Remove Init and End parameters.
(__gconv_get_builtin_trans): Initialize __init_fct and __end_fct to
NULL.
* iconv/gconv_builtin.h: Remove NULL parameters for Init and End in
all BUILTIN_TRANSFORMATION calls.
* iconv/gconv_conf.c (BUILTIN_TRANSFORMATION): Remove Init and End
parameters.
* iconv/gconv_simple.c: Likewise.
* iconv/gconv_db.c (gen_steps): Internal converters don't have
initializers, move the code accordingly.

* iconv/gconv_conf.c (__gconv_read_conf): Don't read configuration
file if STATIC_GCONV is defined.

* iconv/gconv_conf.c (__gconv_path_envvar): New global variable.
(__gconv_get_path): Use it instead of call getenv.
(__gconv_read_conf): First see whether cache can be used.  If yes,
don't do any work here.
* iconv/gconv_db.c (__gconv_release_step): Renamed from release_step
and exported.  Change callers.
(__gconv_find_transform): First call __gconv_lookup_cache and only
continue if it signals no cache available.  Remove some unnecessary
tests.
* iconv/gconv_int.h: Declare __gconv_path_envvar, __gconv_lookup_cache,
__gconv_release_step, and __gconv_loaded_cache.
* iconv/gconv_cache.c: New file.
* iconv/iconvconfig.c: New file.
* iconv/iconvconfig.h: New file.
* iconv/strtab.c: New file.
* iconv/Makefile: Add rules to build new files and programs.

23 years ago(struct builtin_map): Remove init and end elements. (BUILTIN_TRANSFORMATION): Remove...
Ulrich Drepper [Sun, 22 Jul 2001 17:29:40 +0000 (17:29 +0000)]
(struct builtin_map): Remove init and end elements. (BUILTIN_TRANSFORMATION): Remove Init and End parameters. (__gconv_get_builtin_trans): Initialize __init_fct and __end_fct to NULL.

23 years ago2001-07-20 Roland McGrath <roland@frob.com>
Roland McGrath [Sat, 21 Jul 2001 06:02:09 +0000 (06:02 +0000)]
2001-07-20  Roland McGrath  <roland@frob.com>

* sysdeps/mach/hurd/device-nrs.h: Comment fix, typo fix.

23 years ago* sysdeps/generic/device-nrs.h (DEV_TTY_P): Change argument type
Roland McGrath [Sat, 21 Jul 2001 05:13:40 +0000 (05:13 +0000)]
* sysdeps/generic/device-nrs.h (DEV_TTY_P): Change argument type

from `dev_t' (st_rdev value) `const struct stat *'.
* sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Likewise.
* libio/filedoalloc.c (_IO_file_doallocate): Change caller.
* sysdeps/mach/hurd/device-nrs.h: New file.

23 years ago* libio/stdio_ext.h: Moved to ...
Roland McGrath [Sat, 21 Jul 2001 05:10:24 +0000 (05:10 +0000)]
* libio/stdio_ext.h: Moved to ...

* stdio-common/stdio_ext.h: ... here.
* libio/Makefile (headers): Move stdio_ext.h from here ...
* stdio-common/Makefile (headers): ... to here.
* include/stdio_ext.h: New file.
* stdio/Makefile (routines): Add the stdio_ext.h functions here.
* stdio/Versions (GLIBC_2.2.4): Export the stdio_ext.h functions.
* stdio/__flbf.c: New file.
* stdio/__fbufsize.c: New file.
* stdio/__fpending.c: New file.
* stdio/__fpurge.c: New file.
* stdio/__freadable.c: New file.
* stdio/__freading.c: New file.
* stdio/__fsetlocking.c: New file.
* stdio/__fwritable.c: New file.
* stdio/__fwriting.c: New file.

23 years ago2001-07-20 Roland McGrath <roland@frob.com>
Roland McGrath [Sat, 21 Jul 2001 05:09:59 +0000 (05:09 +0000)]
2001-07-20  Roland McGrath  <roland@frob.com>

* libio/stdio_ext.h: Moved to ...
* stdio-common/stdio_ext.h: ... here.
* libio/Makefile (headers): Move stdio_ext.h from here ...
* stdio-common/Makefile (headers): ... to here.
* include/stdio_ext.h: New file.
* stdio/Makefile (routines): Add the stdio_ext.h functions here.
* stdio/Versions (GLIBC_2.2.4): Export the stdio_ext.h functions.
* stdio/__flbf.c: New file.
* stdio/__fbufsize.c: New file.
* stdio/__fpending.c: New file.
* stdio/__fpurge.c: New file.
* stdio/__freadable.c: New file.
* stdio/__freading.c: New file.
* stdio/__fsetlocking.c: New file.
* stdio/__fwritable.c: New file.
* stdio/__fwriting.c: New file.

23 years agoUpdate.
Ulrich Drepper [Fri, 20 Jul 2001 18:02:01 +0000 (18:02 +0000)]
Update.

2001-07-20  Ulrich Drepper  <drepper@redhat.com>
    Andreas Jaeger  <aj@suse.de>

* elf/ldconfig.c (search_dir): Avoid use of uninitialized memory.
Add a few __builtin_expect to mark unlikely error cases.

23 years ago(search_dir): Avoid use of uninitialized memory. Add a few __builtin_expect to mark...
Ulrich Drepper [Fri, 20 Jul 2001 17:51:33 +0000 (17:51 +0000)]
(search_dir): Avoid use of uninitialized memory.  Add a few __builtin_expect to mark unlikely error cases.

23 years agoUpdate.
Andreas Jaeger [Fri, 20 Jul 2001 06:05:49 +0000 (06:05 +0000)]
Update.

2001-07-20  Andreas Jaeger  <aj@suse.de>

* sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Synch with kernel.
Patch by Daniel Jacobowitz <dan@debian.org>.

23 years agoSynch with kernel.
Andreas Jaeger [Fri, 20 Jul 2001 06:05:16 +0000 (06:05 +0000)]
Synch with kernel.

23 years agoUpdate.
Ulrich Drepper [Thu, 19 Jul 2001 21:09:22 +0000 (21:09 +0000)]
Update.

* intl/localealias.c: Remove unnecessary prototype.

23 years agoUpdate.
Ulrich Drepper [Thu, 19 Jul 2001 15:04:23 +0000 (15:04 +0000)]
Update.

* locales/en_CA (LC_PAPER): Change to Letter.
* locales/fr_CA (LC_PAPER): Likewise.

23 years agoUpdate.
Ulrich Drepper [Thu, 19 Jul 2001 14:37:30 +0000 (14:37 +0000)]
Update.

2001-07-19  Jakub Jelinek  <jakub@redhat.com>

* locales/es_PR (LC_PAPER): Change to Letter.
(LC_MEASUREMENT): Change to 2.
* locales/es_US (LC_PAPER): Change to Letter.
(LC_MEASUREMENT): Change to 2.

23 years ago(Normalization Functions): Remove duplicated description of logb.
Ulrich Drepper [Thu, 19 Jul 2001 14:18:08 +0000 (14:18 +0000)]
(Normalization Functions): Remove duplicated description of logb.

23 years agoDon't print header completly in CAPS.
Andreas Jaeger [Thu, 19 Jul 2001 12:48:11 +0000 (12:48 +0000)]
Don't print header completly in CAPS.

23 years agoUpdate.
Ulrich Drepper [Thu, 19 Jul 2001 07:25:49 +0000 (07:25 +0000)]
Update.

2001-07-19  Ulrich Drepper  <drepper@redhat.com>

* Makefile: Add html goal.
* manual/Makefile: Likewise.

23 years agoUpdate.
Ulrich Drepper [Wed, 18 Jul 2001 21:22:57 +0000 (21:22 +0000)]
Update.

2001-07-18  Ulrich Drepper  <drepper@redhat.com>

* libio/filedoalloc.c (_IO_file_doallocate): A few more minor
cleanups and improvements.

2001-07-18  Andreas Schwab  <schwab@suse.de>

* posix/regex.c (WORDCHAR_P) [WCHAR]: Also return true for the
underscore character.

2001-07-18  Jakub Jelinek  <jakub@redhat.com>

* malloc/malloc (new_heap): Don't call munmap for zero length.

2001-07-18  Ulrich Drepper  <drepper@redhat.com>

* libio/filedoalloc.c (_IO_file_doallocate): Use DEV_TTY_P if
available to determine whether descriptor is for tty before
calling isatty.

* sysdeps/unix/sysv/linux/device-nrs.h: Define DEV_TTY_P.
* sysdeps/generic/device-nrs.h: Likewise.

23 years agoDefine DEV_TTY_P.
Ulrich Drepper [Wed, 18 Jul 2001 20:31:08 +0000 (20:31 +0000)]
Define DEV_TTY_P.

23 years agoUpdate.
Andreas Jaeger [Wed, 18 Jul 2001 09:44:00 +0000 (09:44 +0000)]
Update.

2001-07-18  Andreas Jaeger  <aj@suse.de>

* time/Makefile (tst-getdate-ENV): Add TZDIR to environment.

* time/Depend: New, add dependency on timezone.

* time/tst-getdate.c: Add testcase for bug report by Hendrik
Uhlmann <HUhlmann@stn-atlas.de>.
* time/datemsk: Likewise.

23 years ago* time/Makefile (tst-getdate-ENV): Add TZDIR to environment.
Andreas Jaeger [Wed, 18 Jul 2001 09:43:36 +0000 (09:43 +0000)]
* time/Makefile (tst-getdate-ENV): Add TZDIR to environment.

* time/Depend: New, add dependency on timezone.

* time/tst-getdate.c: Add testcase for bug report by Hendrik
Uhlmann <HUhlmann@stn-atlas.de>.
* time/datemsk: Likewise.

23 years agoUpdate.
Ulrich Drepper [Tue, 17 Jul 2001 21:56:59 +0000 (21:56 +0000)]
Update.

2001-07-17  Ulrich Drepper  <drepper@redhat.com>

* elf/ldconfig.c (parse_conf): Disable implicit locking for the
stream.  Remove some unnecessary initializers.

23 years agoUpdate.
Ulrich Drepper [Tue, 17 Jul 2001 19:47:50 +0000 (19:47 +0000)]
Update.

2001-07-17  Andreas Jaeger  <aj@suse.de>

* elf/ldconfig.c: Add new variable hwcap_mask to honour LD_HWCAP_MASK.
(is_hwcap_platform): Use it.
(set_hwcap): New function to set hwcap_mask.
(main): Call set_hwcap.

2001-07-17  Jakub Jelinek  <jakub@redhat.com>

* time/getdate.c (__getdate_r): Initialize tm_isdst, tm_gmtoff and
tm_zone before calling strptime.

23 years ago(__getdate_r): Initialize tm_isdst, tm_gmtoff and tm_zone before calling strptime.
Ulrich Drepper [Tue, 17 Jul 2001 18:07:32 +0000 (18:07 +0000)]
(__getdate_r): Initialize tm_isdst, tm_gmtoff and tm_zone before calling strptime.

23 years ago* sysdeps/unix/sysv/linux/m68k/getpagesize.c: Fix last change.
Andreas Schwab [Tue, 17 Jul 2001 17:12:38 +0000 (17:12 +0000)]
* sysdeps/unix/sysv/linux/m68k/getpagesize.c: Fix last change.

23 years agoFix last change.
Andreas Schwab [Tue, 17 Jul 2001 17:12:10 +0000 (17:12 +0000)]
Fix last change.

23 years ago(__setmntent): Fix typo.
Ulrich Drepper [Tue, 17 Jul 2001 08:34:13 +0000 (08:34 +0000)]
(__setmntent): Fix typo.

23 years agoUpdate.
Ulrich Drepper [Tue, 17 Jul 2001 08:32:35 +0000 (08:32 +0000)]
Update.

2001-07-17  Ulrich Drepper  <drepper@redhat.com>

* inet/rcmd.c (iruserfopen): Disable implicit locking for the stream.
* inet/ruserpass.c (ruserpass): Likewise.
* nss/nsswitch.c (nss_parse_file): Likewise.
* resolv/res_hconf.c (_res_hconf_init): Likewise.
* resolv/res_init.c (__res_vinit): Likewise.
* gmon/bb_exit_func.c (__bb_exit_func): Likewise.
* misc/getpass.c (getpass): Likewise.
* misc/getusershell.c (initshells): Likewise.
* misc/getttyent.c (setttyent): Likewise.
* misc/mntent_r.c (__setmntent): Likewise.
* time/getdate.c (__getdate_r): Likewise.
* time/tzfile.c (__tzfile_read): Likewise.
* iconv/gconv_conf.c (read_conf_file): Likewise.
* intl/localealias.c (read_alias_file): Disable implicit locking
for the stream.  Use _unlocked functions for glibc.
* sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Disable
implicit locking for the stream.
(__get_nprocs_conf): Likewise.
(phys_pages_info): Likewise.

23 years agoUpdate.
Ulrich Drepper [Tue, 17 Jul 2001 02:38:34 +0000 (02:38 +0000)]
Update.

only if debug_level > 0.  Add little performance improvements.
Use TEMP_FAILURE_RETRY around write calls.

23 years agoUpdate.
Ulrich Drepper [Tue, 17 Jul 2001 01:37:42 +0000 (01:37 +0000)]
Update.

2001-07-16  Ulrich Drepper  <drepper@redhat.com>

* nscd/connections.c: Print messages caused by user application
only if debug_level > 0.
* nscd/grpcache.c: Likewise.
* nscd/hstcache.c: Likewise.
* nscd/pwdcache.c: Likewise.

23 years agoUpdate.
Ulrich Drepper [Mon, 16 Jul 2001 22:33:08 +0000 (22:33 +0000)]
Update.

2001-07-13  H.J. Lu  <hjl@gnu.org>

* sysdeps/mips/dl-machine.h (MAP_BASE_ADDR): Removed.
(elf_machine_got_rel): Defined only if RTLD_BOOTSTRAP is not defined.
(RESOLVE_GOTSYM): Rewrite to use RESOLVE.

* sysdeps/mips/rtld-ldscript.in: Removed.
* sysdeps/mips/rtld-parms: Likewise.
* sysdeps/mips/mips64/rtld-parms: Likewise.
* sysdeps/mips/mipsel/rtld-parms: Likewise.

23 years agoUpdate.
Ulrich Drepper [Mon, 16 Jul 2001 22:19:00 +0000 (22:19 +0000)]
Update.

2001-07-16  Ulrich Drepper  <drepper@redhat.com>

* catgets/test-gencat.sh: Use <<"EOF" instead of <<EOF to prevent
substitution in here document.

23 years agoUpdate.
Ulrich Drepper [Mon, 16 Jul 2001 21:31:43 +0000 (21:31 +0000)]
Update.

2001-07-16  Andreas Schwab  <schwab@suse.de>

* sysdeps/posix/spawni.c: Fix typo when iterating over signal numbers.

2001-07-16  Andreas Schwab  <schwab@suse.de>

* math/libm-test.inc (check_float_internal): Fix sign bit test of
infinities.

2001-07-16  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/i386/fpu/e_expl.c (__ieee754_expl): Make it PIC friendly.

23 years agoUpdate.
Ulrich Drepper [Mon, 16 Jul 2001 07:32:48 +0000 (07:32 +0000)]
Update.

2001-07-15  Ulrich Drepper  <drepper@redhat.com>

* malloc/obstack.c: Define __attribute__ for non-gcc compilers.
Patch by Jim Meyering <jim@meyering.net>.

2001-07-12  Martin Schwidefsky  <schwidefsky@de.ibm.com>

* sysdeps/unix/sysv/linux/s390/s390-64/bits/sigaction.h: Reorder
fields in the sigaction struct to match the definition in the kernel.

2001-07-12  Martin Schwidefsky  <schwidefsky@de.ibm.com>

* sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Correct the
test for ENOSYS.

2001-07-12  Martin Schwidefsky  <schwidefsky@de.ibm.com>

* sysdeps/s390/s390-32/bits/setjmp.h: Add leading underscores
to the entries in the __jmp_buf structure.
* sysdeps/s390/s390-64/bits/setjmp.h: Likewise.

2001-07-12  Martin Schwidefsky  <schwidefsky@de.ibm.com>

* sysdeps/s390/s390-32/bcopy.S: Use mvcle for big blocks
(> 64K) and a mvc loop for small blocks.
* sysdeps/s390/s390-32/memcpy.S: Likewise.
* sysdeps/s390/s390-64/bcopy.S: Likewise.
* sysdeps/s390/s390-64/memcpy.S: Likewise.

23 years agoUse mvcle for big blocks (> 64K) and a mvc loop for small blocks.
Ulrich Drepper [Mon, 16 Jul 2001 06:29:42 +0000 (06:29 +0000)]
Use mvcle for big blocks (> 64K) and a mvc loop for small blocks.

23 years ago* sysdeps/unix/sysv/linux/m68k/sys/procfs.h: New file.
Andreas Schwab [Sun, 15 Jul 2001 15:31:34 +0000 (15:31 +0000)]
* sysdeps/unix/sysv/linux/m68k/sys/procfs.h: New file.

* sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: New file.

23 years ago* sysdeps/unix/sysv/linux/m68k/getpagesize.c: Check _dl_pagesize
Andreas Schwab [Sun, 15 Jul 2001 15:25:23 +0000 (15:25 +0000)]
* sysdeps/unix/sysv/linux/m68k/getpagesize.c: Check _dl_pagesize

first.  Default to 4096, not EXEC_PAGESIZE.

23 years ago* iconv/loop.c (put16) [!_STRING_ARCH_unaligned && BIG_ENDIAN]:
Andreas Schwab [Sun, 15 Jul 2001 15:18:51 +0000 (15:18 +0000)]
* iconv/loop.c (put16) [!_STRING_ARCH_unaligned && BIG_ENDIAN]:

Fix index.

23 years ago(put16) [!_STRING_ARCH_unaligned && BIG_ENDIAN]: Fix index.
Andreas Schwab [Sun, 15 Jul 2001 15:18:22 +0000 (15:18 +0000)]
(put16) [!_STRING_ARCH_unaligned && BIG_ENDIAN]: Fix index.

23 years agoUpdate.
Andreas Jaeger [Sat, 14 Jul 2001 08:03:37 +0000 (08:03 +0000)]
Update.

2001-07-09  Andreas Jaeger  <aj@suse.de>

* sysdeps/unix/sysv/linux/i386/dl-procinfo.c: Name entry for xmm2.

* sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Add HWCAP_I386_XMM,
HWCAP_I386_XMM2 to enum.

23 years agoUpdate.
Andreas Jaeger [Fri, 13 Jul 2001 13:20:51 +0000 (13:20 +0000)]
Update.

2001-07-13  Andreas Jaeger  <aj@suse.de>

* libio/fileops.c: Include unistd.h for lseek64 prototype.  Closes
PR libc/2372.

23 years agoInclude unistd.h for lseek64 prototype. Closes PR libc/2372.
Andreas Jaeger [Fri, 13 Jul 2001 13:18:44 +0000 (13:18 +0000)]
Include unistd.h for lseek64 prototype.  Closes PR libc/2372.

23 years agoUpdate.
Ulrich Drepper [Fri, 13 Jul 2001 06:40:25 +0000 (06:40 +0000)]
Update.

2001-07-12  Ulrich Drepper  <drepper@redhat.com>

* Makeconfig: Add some more changes to handle AIX linker better.

23 years agoUpdate.
Ulrich Drepper [Thu, 12 Jul 2001 18:30:11 +0000 (18:30 +0000)]
Update.

2001-07-12  H.J. Lu  <hjl@gnu.org>

* sysdeps/generic/segfault.c: Include <errno.h>.

23 years agoUpdate.
Ulrich Drepper [Thu, 12 Jul 2001 06:32:02 +0000 (06:32 +0000)]
Update.

2001-07-01  Andreas Jaeger  <aj@suse.de>

* sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk): Remove duplicate
sbrk.  Closes PR libc/2312.

2001-07-01  Andreas Jaeger  <aj@suse.de>

* sysdeps/generic/segfault.c (install_handler): Handle case that
the output file does not exists.  Closes PR libc/2345.

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

* intl/locale.alias: Use he language code for hebrew, not il
[PR libc/2382].

2001-07-11  Jakub Jelinek  <jakub@redhat.com>

* iconv/gconv_int.h: Fix comment typo.

* hurd/hurdsig.c (_hurdsig_init): Remove a useless line of code.
backwards conditional in test for x == 1.0.

23 years agoFix comment typo.
Ulrich Drepper [Thu, 12 Jul 2001 05:42:07 +0000 (05:42 +0000)]
Fix comment typo.

23 years ago2001-07-11 Igor Khavkine <i_khavki@alcor.concordia.ca>
Roland McGrath [Wed, 11 Jul 2001 21:16:48 +0000 (21:16 +0000)]
2001-07-11  Igor Khavkine  <i_khavki@alcor.concordia.ca>

        * hurd/hurdsig.c (_hurdsig_init): Remove a useless line of code.

2001-07-07  Roland McGrath  <roland@frob.com>

* hurd/hurdsig.c (_hurd_thread_sigstate): Use MACH_PORT_NULL, not 0.

23 years ago2001-07-11 Igor Khavkine <i_khavki@alcor.concordia.ca>
Roland McGrath [Wed, 11 Jul 2001 21:15:50 +0000 (21:15 +0000)]
2001-07-11  Igor Khavkine  <i_khavki@alcor.concordia.ca>

        * hurd/hurdsig.c (_hurdsig_init): Remove a useless line of code.
2001-07-07  Roland McGrath  <roland@frob.com>

* hurd/hurdsig.c (_hurd_thread_sigstate): Use MACH_PORT_NULL, not 0.

23 years agoUpdate.
Andreas Jaeger [Wed, 11 Jul 2001 07:30:36 +0000 (07:30 +0000)]
Update.

2001-07-10  Stephen L Moshier  <moshier@mediaone.net>

* sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl):  Fix
          backwards conditional in test for x == 1.0.

23 years agoUpdate.
Andreas Jaeger [Tue, 10 Jul 2001 08:28:10 +0000 (08:28 +0000)]
Update.

2001-07-10  Andreas Jaeger  <aj@suse.de>

* sysdeps/sparc/sparc64/fpu/libm-test-ulps: Add ulps for tanh
(-0.7).

23 years ago* sysdeps/unix/sysv/linux/configure.in: Revert patch from
Andreas Jaeger [Mon, 9 Jul 2001 11:51:53 +0000 (11:51 +0000)]
* sysdeps/unix/sysv/linux/configure.in: Revert patch from

2001-07-05 for sysconfdir handling.
* config.make.in (sysconfdir): Likewise.
* configure.in: Likewise.
* configure.in: Always assign libc_cv_sysconfdir.
2001-07-09  Andreas Jaeger  <aj@suse.de>

* sysdeps/unix/sysv/linux/configure.in: Revert patch from
2001-07-05 for sysconfdir handling.
* config.make.in (sysconfdir): Likewise.
* configure.in: Likewise.

* configure.in: Always assign libc_cv_sysconfdir.

23 years agoUpdate.
Ulrich Drepper [Sun, 8 Jul 2001 15:07:16 +0000 (15:07 +0000)]
Update.

* Makerules [AIX] (build-shlib-helper): Precede linker options
with -Wl.

* Makeconfig (config-LDFLAGS): Add ld.so only for ELF.

23 years agoUpdate.
Ulrich Drepper [Sun, 8 Jul 2001 09:47:01 +0000 (09:47 +0000)]
Update.

* sysdeps/unix/make_errlist.c: Adjust sys_errlist declaration to
what we define in <stdio.h>.

23 years agoUpdate.
Ulrich Drepper [Sun, 8 Jul 2001 07:32:45 +0000 (07:32 +0000)]
Update.

* iconv/iconv_prog.c (main): Don't unconditionally define
variables only use if _POSIX_MAPPED_FILES is defined.

23 years agoUpdate.
Ulrich Drepper [Sun, 8 Jul 2001 07:17:00 +0000 (07:17 +0000)]
Update.

2001-07-08  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/aix/sendmsg.c (sendmsg): Fix return type.
* sysdeps/unix/sysv/aix/recvmsg.c (recvmsg): Likewise.

* sysdeps/unix/sysv/aix/recv.c: New file.

* sysdeps/unix/sysv/aix/recvfrom.c: Fix various types.

* sysdeps/generic/recv.c: Fix return type.

* sysdeps/unix/sysv/aix/dl-libc.c (__libc_dlclose): Fix typo.

* sysdeps/unix/sysv/aix/gettimeofday.c (__gettimeofday): Add
declarations for asm functions.

23 years agoUpdate.
Ulrich Drepper [Sun, 8 Jul 2001 06:23:55 +0000 (06:23 +0000)]
Update.

* include/libc-symbols.h: Provide more dummy definitions for the
case if GNU ld isn't used.

23 years agoUpdate.
Ulrich Drepper [Sun, 8 Jul 2001 06:18:45 +0000 (06:18 +0000)]
Update.

* libio/freopen.c: Include <stdlib.h> for free declaration.
* libio/freopen64.c: Likewise.

23 years agoUpdate.
Ulrich Drepper [Sun, 8 Jul 2001 05:57:47 +0000 (05:57 +0000)]
Update.

2001-07-07  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/alpha/fpu/libm-test-ulps: Add deltas for tanh(-0.7).

23 years agoUpdate.
Ulrich Drepper [Sat, 7 Jul 2001 22:59:32 +0000 (22:59 +0000)]
Update.

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

* sysdeps/unix/sysv/linux/i386/sigaction.c (RESTORE2): Put asm
explicitly into .text section.

2001-04-16  Jes Sorensen  <jes@linuxcare.com>

* sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h (struct sigcontext):
Add 16 longwords reserved for future use to match changes in the
kernel.

2001-07-03  Jes Sorensen  <jes@trained-monkey.org>

* sysdeps/ia64/strncpy.S: Call strnlen() when determining the
string length rather than strlen(). Solves the performance problem
of doing strlen on a 5MB string when strncpy was called with a
length argument of 5 bytes.

2001-07-02  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
R_SPARC_UA16 and R_SPARC_UA32.
* sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.

2001-07-01  Stephen L Moshier  <moshier@mediaone.net>

* sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl):
acosh(x) = ln(2x) if x > 2^30.
* sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
acosh(x) = ln(2x) if x > 2^54.

* sysdeps/hppa/dl-machine.h (elf_machine_rela): Handle relocs

23 years ago(__ieee754_acoshl): acosh(x) = ln(2x) if x > 2^30.
Ulrich Drepper [Sat, 7 Jul 2001 22:47:57 +0000 (22:47 +0000)]
(__ieee754_acoshl): acosh(x) = ln(2x) if x > 2^30.

23 years ago* sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Generate SIGSEGV...
Mark Kettenis [Sat, 7 Jul 2001 20:34:28 +0000 (20:34 +0000)]
* sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Generate SIGSEGV instead of SIGBUS for KERN_INVALID_ADDRESS and KERN_WRITE_PROTECTION_FAILURE.

2001-07-07  Mark Kettenis  <kettenis@gnu.org>

* sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal):
Generate SIGSEGV instead of SIGBUS for KERN_INVALID_ADDRESS and
KERN_WRITE_PROTECTION_FAILURE.

23 years agoUpdate.
Ulrich Drepper [Sat, 7 Jul 2001 19:24:57 +0000 (19:24 +0000)]
Update.

* posix/regex.c: Limit string length printed in debug messages to
100 chars.

23 years agoUpdate.
Ulrich Drepper [Sat, 7 Jul 2001 19:06:33 +0000 (19:06 +0000)]
Update.

2001-07-07  Ulrich Drepper  <drepper@redhat.com>

* configure.in: Don't warn about versioning if not on ELF system.

23 years agoDon't warn about versioning if not on ELF system.
Ulrich Drepper [Sat, 7 Jul 2001 19:05:03 +0000 (19:05 +0000)]
Don't warn about versioning if not on ELF system.

23 years agoUpdate.
Andreas Jaeger [Sat, 7 Jul 2001 10:39:52 +0000 (10:39 +0000)]
Update.

2001-07-07  Andreas Jaeger  <aj@suse.de>

* sysdeps/*: Put files from GNU MP Library under LGPL v2.1.

23 years agoPut under LGPL v2.1.
Andreas Jaeger [Sat, 7 Jul 2001 10:13:33 +0000 (10:13 +0000)]
Put under LGPL v2.1.