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

23 years agoUpdate.
Ulrich Drepper [Fri, 6 Jul 2001 16:46:27 +0000 (16:46 +0000)]
Update.

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

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

23 years agoUpdate from translation team.
Ulrich Drepper [Fri, 6 Jul 2001 16:44:43 +0000 (16:44 +0000)]
Update from translation team.

23 years agoUpdate.
Andreas Jaeger [Fri, 6 Jul 2001 16:14:46 +0000 (16:14 +0000)]
Update.

* sysdeps/unix/sysv/linux/configure.in: Fix handling of
sysconfdir.

23 years agoUpdate.
Andreas Jaeger [Fri, 6 Jul 2001 09:21:36 +0000 (09:21 +0000)]
Update.

* manual/libc-texinfo.sh: Add note for the FDL.

* manual/argp.texi (Argp Example 4): Fix texinfo warning.

* manual/libc.texinfo: Regenerated.

* manual/fdl.texi: Fix node.

23 years agoUpdate.
Andreas Jaeger [Fri, 6 Jul 2001 07:16:51 +0000 (07:16 +0000)]
Update.

* config.make.in (sysconfdir): Replace correctly.
Closes PR libc/2369, reported by Peter Simons <simons@cryp.to>.

* sysdeps/unix/sysv/linux/alpha/configure.in: Removed, it's no
longer needed.

* sysdeps/unix/sysv/linux/configure.in (libc_cv_linuxVER): Add
case for alpha.
Rework handling of missing linuxthreads add-on.

* configure.in: Remove unused sysconfdir substitution.

23 years agoUpdate.
Andreas Jaeger [Fri, 6 Jul 2001 06:58:28 +0000 (06:58 +0000)]
Update.

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

* manual/Makefile (texis): Add fdl.texi.
* manual/fdl.texi: New.
* manual/socket.texi (Host Names): Improve grammar, fix overflow hbox.
* manual/libc.texinfo: Add fdl, update titlepage.
Patches by Brian Youmans <3diff@gnu.org>.

* sysdeps/unix/make_errlist.c (main): Print LGPL v2.1 for
generated file.

23 years ago * COPYING: Fix Y2k bug in sample copyright notices.
Andreas Jaeger [Fri, 6 Jul 2001 05:37:16 +0000 (05:37 +0000)]
    * COPYING: Fix Y2k bug in sample copyright notices.

        * manual/lesser.texi: Renamed from manual/lgpl.texinfo,
        as fsf.org uses the name "lesser.texi".
* manual/Makefile (texis): Follow rename.

23 years agoUpdate to LGPL v2.1.
Andreas Jaeger [Fri, 6 Jul 2001 04:58:11 +0000 (04:58 +0000)]
Update to LGPL v2.1.

2001-07-06  Paul Eggert  <eggert@twinsun.com>

* manual/argp.texi: Remove ignored LGPL copyright notice; it's
not appropriate for documentation anyway.
* manual/libc-texinfo.sh: "Library General Public License" ->
"Lesser General Public License".

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

* All files under GPL/LGPL version 2: Place under LGPL version
2.1.

23 years agoUpdate.
Andreas Jaeger [Thu, 5 Jul 2001 08:48:49 +0000 (08:48 +0000)]
Update.

Synch with Linux 2.4.6:

23 years agoUpdate.
Andreas Jaeger [Thu, 5 Jul 2001 08:47:15 +0000 (08:47 +0000)]
Update.

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

Synch with Linux 2.4.5:
* sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_BLUETOOTH):
New.
(AF_BLUETOOTH): New.

* sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h
(PF_BLUETOOTH): New.
(AF_BLUETOOTH): New.

* sysdeps/unix/sysv/linux/mips/bits/socket.h (AF_BLUETOOTH): New.
(PF_BLUETOOTH): New.

* sysdeps/unix/sysv/linux/ia64/bits/socket.h (AF_BLUETOOTH): New.
(PF_BLUETOOTH): New.

* sysdeps/unix/sysv/linux/alpha/bits/socket.h (PF_BLUETOOTH): New.
(AF_BLUETOOTH): New.

* sysdeps/unix/sysv/linux/bits/socket.h (PF_BLUETOOTH): New.
(AF_BLUETOOTH): New.

* sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_IEEE80211): New.

* sysdeps/unix/sysv/linux/powerpc/bits/termios.h (N_HCI): New.

* sysdeps/unix/sysv/linux/mips/bits/ioctl-types.h (N_HCI): New.

* sysdeps/unix/sysv/linux/bits/ioctl-types.h (N_HCI): New.

23 years agoSynch with Linux 2.4.5:
Andreas Jaeger [Thu, 5 Jul 2001 08:46:28 +0000 (08:46 +0000)]
Synch with Linux 2.4.5:

* sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_BLUETOOTH):
New.
(AF_BLUETOOTH): New.
* sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h
(PF_BLUETOOTH): New.
(AF_BLUETOOTH): New.

* sysdeps/unix/sysv/linux/mips/bits/socket.h (AF_BLUETOOTH): New.
(PF_BLUETOOTH): New.

* sysdeps/unix/sysv/linux/ia64/bits/socket.h (AF_BLUETOOTH): New.
(PF_BLUETOOTH): New.

* sysdeps/unix/sysv/linux/alpha/bits/socket.h (PF_BLUETOOTH): New.
(AF_BLUETOOTH): New.

* sysdeps/unix/sysv/linux/bits/socket.h (PF_BLUETOOTH): New.
(AF_BLUETOOTH): New.

* sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_IEEE80211): New.

* sysdeps/unix/sysv/linux/powerpc/bits/termios.h (N_HCI): New.

* sysdeps/unix/sysv/linux/mips/bits/ioctl-types.h (N_HCI): New.

* sysdeps/unix/sysv/linux/bits/ioctl-types.h (N_HCI): New.

23 years ago* hurd/hurdsig.c (_hurd_internal_post_signal): For SS->suspended
Roland McGrath [Wed, 4 Jul 2001 23:07:03 +0000 (23:07 +0000)]
* hurd/hurdsig.c (_hurd_internal_post_signal): For SS->suspended

wakeup message, use MACH_MSG_TYPE_MAKE_SEND for the receiver port
rather than doing a mach_port_insert_right call first.

23 years ago* hurd/hurdioctl.c: Include <string.h> for memcpy decl.
Roland McGrath [Wed, 4 Jul 2001 22:58:42 +0000 (22:58 +0000)]
* hurd/hurdioctl.c: Include <string.h> for memcpy decl.

23 years ago2001-06-26 Roland McGrath <roland@frob.com>
Roland McGrath [Wed, 4 Jul 2001 22:57:50 +0000 (22:57 +0000)]
2001-06-26  Roland McGrath  <roland@frob.com>

* hurd/hurdioctl.c: Include <string.h> for memcpy decl.

23 years agoUpdate.
Andreas Jaeger [Tue, 3 Jul 2001 16:50:55 +0000 (16:50 +0000)]
Update.

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

* sysdeps/unix/sysv/sysv4/solaris2/configure.in: Remove check for
crypt add-on.

23 years agoRemove check for crypt add-on.
Andreas Jaeger [Tue, 3 Jul 2001 16:50:33 +0000 (16:50 +0000)]
Remove check for crypt add-on.

23 years ago* sysdeps/mach/hurd/if_index.c: Redone to use new interfaces in the Hurd pfinet serve...
Mark Kettenis [Sun, 1 Jul 2001 12:06:11 +0000 (12:06 +0000)]
* sysdeps/mach/hurd/if_index.c: Redone to use new interfaces in the Hurd pfinet server, using equivalent code from the Linux version in sysdeps/unix/sysv/linux/if_index.c. In detail: Include <unistd.h>, <error.h>, <sys/ioctl.h>, <hurd/ioctl.h> and <hurd/pfinet.h>.  Don't include <sys/mman.h> and <hurd/fsys.h> anymore. (if_nametoindex): New implementation using SIOCGIFINDEX. (if_freenameindex): Straight copy of the Linux version. (if_nameindex): New implementation based on pfinet_siocgifconf and SIOCGIFINDEX. (if_indextoname): New implementation using SIOCGIFNAME. (map_interfaces): Function removed. From Marcus Brinkmann <marcus@gnu.org>.

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

* sysdeps/mach/hurd/if_index.c: Redone to use new interfaces in
the Hurd pfinet server, using equivalent code from the Linux
version in sysdeps/unix/sysv/linux/if_index.c. In detail:
Include <unistd.h>, <error.h>, <sys/ioctl.h>, <hurd/ioctl.h> and
<hurd/pfinet.h>.  Don't include <sys/mman.h> and <hurd/fsys.h>
anymore.
(if_nametoindex): New implementation using SIOCGIFINDEX.
(if_freenameindex): Straight copy of the Linux version.
(if_nameindex): New implementation based on pfinet_siocgifconf and
SIOCGIFINDEX.
(if_indextoname): New implementation using SIOCGIFNAME.
(map_interfaces): Function removed.
From Marcus Brinkmann <marcus@gnu.org>.

23 years agoUpdate.
Ulrich Drepper [Sat, 30 Jun 2001 21:23:03 +0000 (21:23 +0000)]
Update.

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

* sysdeps/powerpc/dl-machine.c (__elf_preferred_address): Prefer
gaps below main executable.

23 years ago(__elf_preferred_address): Prefer gaps below main executable.
Ulrich Drepper [Sat, 30 Jun 2001 21:20:48 +0000 (21:20 +0000)]
(__elf_preferred_address): Prefer gaps below main executable.

23 years agoUpdate.
Andreas Jaeger [Fri, 29 Jun 2001 17:51:27 +0000 (17:51 +0000)]
Update.

2001-06-19  Andreas Jaeger  <aj@suse.de>

* sysdeps/powerpc/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
Handle profiling.

23 years agoUpdate.
Andreas Jaeger [Fri, 29 Jun 2001 15:16:08 +0000 (15:16 +0000)]
Update.

2001-06-29  Andreas Jaeger  <aj@suse.de>

* sysdeps/ieee754/ldbl-128/s_asinhl.c: New file.
Patch by Stephen L Moshier <moshier@mediaone.net>.

23 years agoasinh implmentation for 128-bit long doubles.
Andreas Jaeger [Fri, 29 Jun 2001 15:15:25 +0000 (15:15 +0000)]
asinh implmentation for 128-bit long doubles.

23 years agoUpdate.
Ulrich Drepper [Fri, 29 Jun 2001 02:03:36 +0000 (02:03 +0000)]
Update.

(_nl_locale_file_list): This.  Make it extern.
(re_search_2): Invoke convert_mbs_to_wcs and FREE_WCS_BUFFERS.
(write_locale_data): Use xmalloc.  Compare the file with the locale
(BODY for TO_LOOP): Keep track of Unicode 3.1 language tag.  If "ja",
conversion to GB2312.  If "ko", prefer conversion to KSC5601.  Small
* sysdeps/generic/e_log2l.c: ...to here.  Rename to __ieee754_log2l.
* sysdeps/i386/fpu/e_log2.S: ...to here.  Rename to __ieee754_log2.
* sysdeps/i386/fpu/e_log2f.S: ...to here.  Rename to __ieee754_log2f.
* sysdeps/i386/fpu/e_log2l.S: ...to here.  Rename to __ieee754_log2l.
* sysdeps/m68k/fpu/e_log2.c: ...to here.  Rename to __ieee754_log2.
* sysdeps/m68k/fpu/e_log2f.c: ...to here.  Rename to __ieee754_log2f.
* sysdeps/m68k/fpu/e_log2l.c: ...to here.  Rename to __ieee754_log2l.
* sysdeps/ieee754/dbl-64/e_log2.c: ...to here.  Rename to
* sysdeps/ieee754/flt-32/e_log2f.c: ...to here.  Rename to
(main): When testing UTF-8 or GB18030, set bmp_only to 1.  Don't print
UTF-8 and GB18030, loop upto U+30000 instead of U+10000.  Use UTF-8
(ucs4_to_cns11643): Update for new arrays.  Treat U+3400..U+4DFF and
to s_sigsuspend.  Add s_mmap2.
* iconv/skeleton.c: Distinguish do_flush = 1 and do_flush = 2.  In the
the next step.  In the second case, clear the state without calling
paths are the same or not.  Free entry->path for duplicates.
* sysdeps/unix/sysv/linux/sparc/bits/statvfs.h: ...here.  Adjust
Save uc_link around trap.  Copy __uc_sigmask into first word of
uc_sigmask, clear the rest.  Make sure setcontext to the created
Correct the values.
(pSx, qSx): Replace by shorter approximation.
changing it in the state.  After incrementing 'inptr', store it back.
greater_than, less_or_equal, greater_or_equal.  Replace args2/args3
(exp): Add rules for CMPOP2 and '!'.  Don't call YYABORT.
(yylex): Don't skip "\\n".  Recognize comparison and '!' operators.
(plural_eval): Recognize comparison and '!' operators.  Optimize for
* intl/gettextP.h: Include <stddef.h>.  Include gettext.h, for
* sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: ...here.  Include
* sysdeps/unix/sysv/aix/restf.S: Removed.
* sysdeps/unix/sysv/aix/savef.S: Removed.
(SIGCONTEXT): Likewise.  Add 2nd arg _code.
(_dl_aux_init): Here.  New function.  Defined only if
'domainname'.  Remove 'plindex' field.  Add 'domain' and
found.  Remove plindex from cache key.  Add 'translation_length' and
* intl/plural.y: Include config.h.  Needed to define 'inline' away for

23 years agoUpdate.
Ulrich Drepper [Fri, 29 Jun 2001 01:19:02 +0000 (01:19 +0000)]
Update.

2001-06-28  Ulrich Drepper  <drepper@redhat.com>

* manual/argp.texi: Tons of cleanups.
Patch by Clifford U. Smith <cuel@swbell.net>.

23 years agoUpdate.
Ulrich Drepper [Fri, 29 Jun 2001 00:17:44 +0000 (00:17 +0000)]
Update.

* manual/users.texi (Setting Groups): Correct initgroups
documentation.  Add documentation for getgrouplist.

2001-06-28  H.J. Lu  <hjl@gnu.org>

* locale/findlocale.c (locale_file_list): Renamed to ...
(_nl_locale_file_list): This. Make it extern.
(free_mem): Move to ...
* locale/setlocale.c (free_mem): Here.

2001-06-28  Mark Kettenis  <kettenis@gnu.org>

2001-06-20  Isamu Hasegawa  <isamu@yamato.ibm.com>
2001-06-26  Isamu Hasegawa  <isamu@yamato.ibm.com>
* posix/regex.c (count_mbs_length): Use binary search for optimization.

23 years ago(locale_file_list): Renamed to ... (_nl_locale_file_list): This. Make it extern....
Ulrich Drepper [Fri, 29 Jun 2001 00:05:31 +0000 (00:05 +0000)]
(locale_file_list): Renamed to ... (_nl_locale_file_list): This. Make it extern. (free_mem): Move to setlocale.c.

23 years ago* sysdeps/mach/hurd/read.c: Include <hurd/fd.h>. (__libc_read): Don't call __pread...
Mark Kettenis [Wed, 27 Jun 2001 23:35:23 +0000 (23:35 +0000)]
* sysdeps/mach/hurd/read.c: Include <hurd/fd.h>. (__libc_read): Don't call __pread.  Use _hurd_fd_read directly instead. * sysdeps/mach/hurd/write.c: Include <hurd/fd.h>. (__libc_write): Don't call __pwrite.  Use _hurd_fd_write directly instead.

* sysdeps/mach/hurd/read.c: Include <hurd/fd.h>.
(__libc_read): Don't call __pread.  Use _hurd_fd_read directly
instead.
* sysdeps/mach/hurd/write.c: Include <hurd/fd.h>.
(__libc_write): Don't call __pwrite.  Use _hurd_fd_write directly
instead.