platform/upstream/glibc.git
25 years ago(Tools for Compilation): Update required texinfo version.
Ulrich Drepper [Sun, 7 Mar 1999 08:16:52 +0000 (08:16 +0000)]
(Tools for Compilation): Update required texinfo version.

25 years agoUpdate.
Ulrich Drepper [Fri, 5 Mar 1999 18:52:41 +0000 (18:52 +0000)]
Update.

* sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Remember
whether /dev/pts is available.
* sysdeps/unix/sysv/linux/ttyname.c (ttyname): Fix handling of
dev_pts_available.

25 years agoUpdate.
Ulrich Drepper [Fri, 5 Mar 1999 15:02:32 +0000 (15:02 +0000)]
Update.

1999-03-05  Ulrich Drepper  <drepper@cygnus.com>

* posix/globtest.sh: Make common_objpfx path absolute and and db2
and hesiod directory to library path [PR libc/1007].

25 years agoUpdate.
Ulrich Drepper [Fri, 5 Mar 1999 14:32:11 +0000 (14:32 +0000)]
Update.

1999-03-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* resolv/inet_addr.c (inet_aton): Don't allow componets >
255. Patch by Bruno Haible <haible@ilog.fr> [PR libc/1010].

25 years agoUpdate.
Ulrich Drepper [Thu, 4 Mar 1999 23:27:55 +0000 (23:27 +0000)]
Update.

1999-03-05  Geoff Keating  <geoffk@ozemail.com.au>

* sysdeps/powerpc/dl-machine.c (__elf_machine_runtime_setup):
DT_PLTGOT has already been relocated.
(__elf_machine_fixup_plt): Likewise.
Minor cleanups.

25 years ago(__elf_machine_runtime_setup): DT_PLTGOT has already been relocated. (__elf_machine_f...
Ulrich Drepper [Thu, 4 Mar 1999 23:26:43 +0000 (23:26 +0000)]
(__elf_machine_runtime_setup): DT_PLTGOT has already been relocated. (__elf_machine_fixup_plt): Likewise. Minor cleanups.

25 years ago1999-03-04 Roland McGrath <roland@baalperazim.frob.com>
Roland McGrath [Thu, 4 Mar 1999 10:18:16 +0000 (10:18 +0000)]
1999-03-04  Roland McGrath  <roland@baalperazim.frob.com>

* hurd/hurdlookup.c (__hurd_file_name_lookup): Comment fix.

25 years ago1999-03-04 Roland McGrath <roland@baalperazim.frob.com>
Roland McGrath [Thu, 4 Mar 1999 10:15:17 +0000 (10:15 +0000)]
1999-03-04  Roland McGrath  <roland@baalperazim.frob.com>

* hurd/hurdlookup.c (__hurd_file_name_lookup): Comment fix.

25 years agoUpdate.
Ulrich Drepper [Wed, 3 Mar 1999 23:06:16 +0000 (23:06 +0000)]
Update.

1999-03-03  Ulrich Drepper  <drepper@cygnus.com>

* wcsmbs/wcsmbsload.c (add_slashes): Rename to norm_add_slashes
and fold string to uppercase [PR libc/1005].

25 years agoUpdate.
Ulrich Drepper [Wed, 3 Mar 1999 07:42:01 +0000 (07:42 +0000)]
Update.

1999-03-03  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

* elf/dl-load.c (lose): Fix return type.

25 years ago(lose): Fix return type.
Ulrich Drepper [Wed, 3 Mar 1999 07:40:30 +0000 (07:40 +0000)]
(lose): Fix return type.

25 years ago1999-03-03 Roland McGrath <roland@baalperazim.frob.com>
Roland McGrath [Wed, 3 Mar 1999 00:31:21 +0000 (00:31 +0000)]
1999-03-03  Roland McGrath  <roland@baalperazim.frob.com>

* sysdeps/mach/hurd/bits/fcntl.h
[__USE_GNU] (O_NOFOLLOW, O_DIRECTORY): New macros.
* hurd/hurdlookup.c (__hurd_file_name_lookup): If O_NOFOLLOW is set,
set O_NOTRANS as well.
(__hurd_file_name_lookup_retry): At successful end of lookup,
if O_NOFOLLOW set, io_stat the resultant port and fail with ENOENT if
it is a translated node not owned by root.
(__hurd_file_name_lookup): If O_DIRECTORY is set, put a trailing slash
on the file name passed to LOOKUP.

25 years ago1999-03-03 Roland McGrath <roland@baalperazim.frob.com>
Roland McGrath [Wed, 3 Mar 1999 00:31:05 +0000 (00:31 +0000)]
1999-03-03  Roland McGrath  <roland@baalperazim.frob.com>

* sysdeps/mach/hurd/bits/fcntl.h
[__USE_GNU] (O_NOFOLLOW, O_DIRECTORY): New macros.
* hurd/hurdlookup.c (__hurd_file_name_lookup): If O_NOFOLLOW is set,
set O_NOTRANS as well.
(__hurd_file_name_lookup_retry): At successful end of lookup,
if O_NOFOLLOW set, io_stat the resultant port and fail with ENOENT if
it is a translated node not owned by root.
(__hurd_file_name_lookup): If O_DIRECTORY is set, put a trailing slash
on the file name passed to LOOKUP.

25 years agoUpdate.
Ulrich Drepper [Tue, 2 Mar 1999 21:18:07 +0000 (21:18 +0000)]
Update.

1999-03-02  Ulrich Drepper  <drepper@cygnus.com>

* manual/time.texi (High Resolution Timer): Correct computation in
example.  Reported by jjf@devel.cemsys.com.

25 years agoUpdate.
Ulrich Drepper [Tue, 2 Mar 1999 08:07:31 +0000 (08:07 +0000)]
Update.

1999-03-02  Philip Blundell  <pb@nexus.co.uk>

* sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): DT_PLTGOT
entry is already relocated.

25 years agoUpdate.
Ulrich Drepper [Mon, 1 Mar 1999 21:56:06 +0000 (21:56 +0000)]
Update.

* resolv/res_hconf.c (parse_line): Skip empty lines.  Bug reported
by Marcus Harnisch <marcus@harnisch.isdn.cs.tu-berlin.de>.

1999-03-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

25 years agoUpdate.
Ulrich Drepper [Mon, 1 Mar 1999 07:21:39 +0000 (07:21 +0000)]
Update.

1999-03-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* sysdeps/i386/sys/ucontext.h (ucontext): Rename field uc_links to
uc_link which is the right name according to Unix98.
Reported by Craig Metz [PR libc/1001].
* sysdeps/arm/sys/ucontext.h (ucontext): Likewise.
* sysdeps/m68k/sys/ucontext.h (ucontext): Likewise.
* sysdeps/mips/sys/ucontext.h (ucontext): Likewise.
* sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (ucontext): Likewise.
* sysdeps/unix/sysv/linux/i386/sys/ucontext.h (ucontext): Likewise
* sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext): Likewise.

25 years agoUpdate.
Ulrich Drepper [Mon, 1 Mar 1999 07:15:16 +0000 (07:15 +0000)]
Update.

1999-02-25  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

* manual/libc.texinfo: Wrap @top node inside @ifnottex instead of
@ifinfo.

1999-02-25  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

* iconvdata/Makefile: Always include iconv-rules, but disable rule
to regenerate it if avoid-generated.

* Makeconfig: Always include sys-dirs, but disable rule to
regenerate it when avoid-generated.

* sysdeps/unix/Makefile: Put `ifndef avoid-generated' only around
rule to generate sysd-syscalls.

* elf/Makefile (generated): Remove $(objpfx) from names.

25 years agoAlways include sys-dirs, but disable rule to regenerate it when avoid-generated.
Ulrich Drepper [Mon, 1 Mar 1999 07:13:03 +0000 (07:13 +0000)]
Always include sys-dirs, but disable rule to regenerate it when avoid-generated.

25 years ago1999-02-28 Mark Kettenis <kettenis@gnu.org>
Roland McGrath [Sun, 28 Feb 1999 13:01:23 +0000 (13:01 +0000)]
1999-02-28  Mark Kettenis  <kettenis@gnu.org>

* sysdeps/mach/hurd/getsockname.c (getsockname): Set *LEN to the
actual length if the adress length is smaller than the input
value.  Change type of *LEN paramater to socklen_t.
* sysdeps/mach/hurd/getpeername.c (getpeername): Likewise.
* sysdeps/mach/hurd/accept.c (accept): Likewise.
* sysdeps/mach/hurd/recvfrom.c (recvfrom): Likewise.
* sysdeps/mach/hurd/sendto.c (sendto): Change type of ADDR_LEN
paramater to socklen_t.

25 years ago1999-02-28 Mark Kettenis <kettenis@gnu.org>
Roland McGrath [Sun, 28 Feb 1999 13:01:16 +0000 (13:01 +0000)]
1999-02-28  Mark Kettenis  <kettenis@gnu.org>

* sysdeps/mach/hurd/getsockname.c (getsockname): Set *LEN to the
actual length if the adress length is smaller than the input
value.  Change type of *LEN paramater to socklen_t.
* sysdeps/mach/hurd/getpeername.c (getpeername): Likewise.
* sysdeps/mach/hurd/accept.c (accept): Likewise.
* sysdeps/mach/hurd/recvfrom.c (recvfrom): Likewise.
* sysdeps/mach/hurd/sendto.c (sendto): Change type of ADDR_LEN
paramater to socklen_t.

25 years ago1999-02-28 Roland McGrath <roland@baalperazim.frob.com>
Roland McGrath [Sun, 28 Feb 1999 09:46:20 +0000 (09:46 +0000)]
1999-02-28  Roland McGrath  <roland@baalperazim.frob.com>

* hurd/hurd-raise.c (_hurd_raise_signal): Send "poll request"
msg_sig_post RPC (with SIGNO=0), rather than generating signal (again)
with the RPC.

25 years ago1999-02-27 Roland McGrath <roland@baalperazim.frob.com>
Roland McGrath [Sat, 27 Feb 1999 20:06:34 +0000 (20:06 +0000)]
1999-02-27  Roland McGrath  <roland@baalperazim.frob.com>

* sysdeps/mach/getsysstats.c (__get_nprocs_conf, __get_nprocs,
__get_phys_pages): Cast &HBI to silence warning.

* hurd/Makefile (routines): Add hurdchdir and hurdfchdir.
* hurd/hurdchdir.c: New file.
* hurd/hurdfchdir.c: New file.
* sysdeps/mach/hurd/chroot.c: Call
_hurd_change_directory_port_from_name to do the work.
* sysdeps/mach/hurd/chdir.c: Likewise.
* sysdeps/mach/hurd/fchdir.c: Call
_hurd_change_directory_port_from_fd to do the work.
* hurd/fchroot.c: Likewise.
* hurd/hurd.h: Declare them.

25 years ago1999-02-27 Roland McGrath <roland@baalperazim.frob.com>
Roland McGrath [Sat, 27 Feb 1999 20:00:41 +0000 (20:00 +0000)]
1999-02-27  Roland McGrath  <roland@baalperazim.frob.com>

* sysdeps/mach/getsysstats.c (__get_nprocs_conf, __get_nprocs,
__get_phys_pages): Cast &HBI to silence warning.

25 years agocs_CZ test data for locale tests.
Ulrich Drepper [Sat, 27 Feb 1999 18:14:22 +0000 (18:14 +0000)]
cs_CZ test data for locale tests.

25 years agoUpdate.
Ulrich Drepper [Sat, 27 Feb 1999 15:19:41 +0000 (15:19 +0000)]
Update.

1999-02-27  Ulrich Drepper  <drepper@cygnus.com>

* elf/dl-load.c (lose): Add more comments to explain the `why'.
(_dl_map_object): Remove redundant test.

25 years ago(lose): Add more comments to explain the `why'. (_dl_map_object): Remove redundant...
Ulrich Drepper [Sat, 27 Feb 1999 15:19:12 +0000 (15:19 +0000)]
(lose): Add more comments to explain the `why'. (_dl_map_object): Remove redundant test.

25 years ago1999-02-27 Roland McGrath <roland@baalperazim.frob.com>
Roland McGrath [Sat, 27 Feb 1999 13:27:55 +0000 (13:27 +0000)]
1999-02-27  Roland McGrath  <roland@baalperazim.frob.com>

* hurd/hurdselect.c (_hurd_select): When bailing for bogus fd, don't
try to _hurd_port_free a lower-numbered descriptor that was not in any
fd_set.

25 years ago1999-02-27 Roland McGrath <roland@baalperazim.frob.com>
Roland McGrath [Sat, 27 Feb 1999 13:27:03 +0000 (13:27 +0000)]
1999-02-27  Roland McGrath  <roland@baalperazim.frob.com>

* hurd/hurdselect.c (_hurd_select): When bailing for bogus fd, don't
try to _hurd_port_free a lower-numbered descriptor that was not in any
fd_set.

25 years agoRegenerated: /usr/unsupported/bin/perl scripts/gen-FAQ.pl FAQ.in
Ulrich Drepper [Sat, 27 Feb 1999 10:59:20 +0000 (10:59 +0000)]
Regenerated:  /usr/unsupported/bin/perl scripts/gen-FAQ.pl FAQ.in

25 years agoUpdate.
Ulrich Drepper [Fri, 26 Feb 1999 21:35:38 +0000 (21:35 +0000)]
Update.

1999-02-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* wcsmbs/wcstold_l.c [__NO_LONG_DOUBLE_MATH]: Add prototype
declaration for ____wcstod_l_internal.

* stdlib/strtold.c [__NO_LONG_DOUBLE_MATH]: Include <stdlib.h> for
__strtod_internal prototype.
* stdlib/strtold_l.c [__NO_LONG_DOUBLE_MATH]
(____strtold_l_internal): Add prototype declaration.
(__strtold_l): Call correct function.

25 years agoUpdate.
Ulrich Drepper [Wed, 24 Feb 1999 10:08:06 +0000 (10:08 +0000)]
Update.

1999-02-24  Ulrich Drepper  <drepper@cygnus.com>

* elf/elf.h: Add 32bit HPPA definitions.

25 years agoUpdate.
Ulrich Drepper [Wed, 24 Feb 1999 09:40:04 +0000 (09:40 +0000)]
Update.

1999-02-23  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

* malloc/malloc.c (mALLOC_SET_STATe): Handle the case where a
non-checked heap is restored when malloc checking was requested by
the user.
(struct malloc_state): Add using_malloc_checking.
(MALLOC_STATE_VERSION): Increment minor.
(using_malloc_checking, disallow_malloc_check): New variables.
(__malloc_check_init): Use them.
(mALLOC_GET_STATe): Use mALLOc to allocate the malloc_state, so
that it can the chunk is properly instrumented when malloc
checking is enabled.  Set the new using_malloc_checking field.
(malloc_hook_ini): Correct signature when _LIBC is not defined.

1999-02-23  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

* sysdeps/unix/sysv/linux/i386/dl-librecon.h
(DISTINGUISH_LIB_VERSIONS): Don't relocate DT_STRTAB a second
time.

* elf/rtld.c (dl_main): Rename paths_initialized to rtld_is_main.
Don't call elf_get_dynamic_info and _dl_setup_hash a second time
if ld.so is the main program.

* stdio-common/vfprintf.c (vfprintf): If precision or width is too

25 years agoUpdate.
Ulrich Drepper [Tue, 23 Feb 1999 15:27:54 +0000 (15:27 +0000)]
Update.

1999-02-23  Ulrich Drepper  <drepper@cygnus.com>

* stdio-common/vfprintf.c (vfprintf): If precision or width if too
large for work_buffer, allocate new buffer.
(printf_unknown): Likewise.  [PR libc/988]

25 years agoUpdate.
Ulrich Drepper [Mon, 22 Feb 1999 18:08:28 +0000 (18:08 +0000)]
Update.

1999-02-22  Ulrich Drepper  <drepper@cygnus.com>

* sysdeps/unix/sysv/linux/ttyname.c: Use __xstat and __fxstat
instead of stat and fstat.
* sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.

25 years agoUpdate.
Ulrich Drepper [Mon, 22 Feb 1999 18:05:04 +0000 (18:05 +0000)]
Update.

1999-02-23  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

* elf/dl-error.c (_dl_signal_cerror): New function.
(_dl_signal_error): Don't call receiver function.
* elf/dl-lookup.c (_dl_lookup_symbol): Call _dl_signal_cerror
instead of _dl_signal_error when reporting references to undefined
symbols or versions.
(_dl_lookup_versioned_symbol): Likewise.
(_dl_lookup_versioned_symbol_skip): Likewise.
* elf/dl-version.c (match_symbol): Likewise.

* elf/ldsodefs.h: Declare _dl_signal_cerror.

* misc/getttyent.c (getttyent): Release lock on stream later to
also protect global variable zapchar.

25 years agoUpdate.
Ulrich Drepper [Mon, 22 Feb 1999 16:10:00 +0000 (16:10 +0000)]
Update.

1999-02-22  Ulrich Drepper  <drepper@cygnus.com>

* sysdeps/unix/sysv/linux/clock.c: Don't test return value of
__times [PR libc/990].

25 years agoUpdate.
Ulrich Drepper [Mon, 22 Feb 1999 09:37:25 +0000 (09:37 +0000)]
Update.

1999-02-21  David S. Miller  <davem@redhat.com>

* sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Fix
parentheses in Feb 2 changes.
* sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.

25 years agoUpdate.
Ulrich Drepper [Sun, 21 Feb 1999 14:29:07 +0000 (14:29 +0000)]
Update.

1999-02-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* sysdeps/generic/glob.c (glob): Save previous errno.

25 years agoUpdate.
Ulrich Drepper [Sun, 21 Feb 1999 09:55:41 +0000 (09:55 +0000)]
Update.

1999-02-21  Ulrich Drepper  <drepper@cygnus.com>

* sysdeps/generic/glob.c (glob): Enlarge buffers for reentrant
lookup functions if it is too small.

25 years agoUpdate.
Ulrich Drepper [Sat, 20 Feb 1999 23:57:48 +0000 (23:57 +0000)]
Update.

* elf/dl-deps.c (_dl_map_object_deps): Don't add dummy objects created
for tracing to the scope lists.
* elf/do-lookup.h: Remove test for l_opencount == 0 after above change.
DT_SYMTAB is always available according to ELF spec.

25 years agoUpdate.
Ulrich Drepper [Sat, 20 Feb 1999 22:05:45 +0000 (22:05 +0000)]
Update.

* elf/dl-lookup.c (_dl_lookup_symbol_skip): Before first do_lookup
call test whether there is any scope left.
(_dl_lookup_versioned_symbol_skip): Likewise.

25 years agoUpdate.
Ulrich Drepper [Sat, 20 Feb 1999 21:12:26 +0000 (21:12 +0000)]
Update.

* elf/Makefile (distribute): Add do-lookup.h.
* elf/do-lookup.h: New file.  Split out from dl-lookup.c.
* elf/dl-lookup.c: Move do_lookup function in separate file and
include the file twice, for handling versioning and without it.

25 years agoUpdate.
Ulrich Drepper [Sat, 20 Feb 1999 18:28:24 +0000 (18:28 +0000)]
Update.

* sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): DT_PLTGOT
entry is already relocated.
* sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Likewise.
* sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise.
* sysdeps/mips/dl-machine.h (elf_machine_runtime_setup): Likewise.
* sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
Likewise.
* sysdeps/sparc/sparc64/dl-machine.h (elf_machine_runtime_setup):
Likewise.
* sysdeps/mips/mips64/dl-machine.h (elf_machine_runtime_setup):
Likewise.

* sysdeps/mips/mips64/dl-machine.h: Likewise.

25 years agoUpdate.
Ulrich Drepper [Sat, 20 Feb 1999 15:02:24 +0000 (15:02 +0000)]
Update.

* elf/dynamic-link.h (elf_get_dynamic_info): Take new argument with
load address.  Relocate d_ptr in DT_DTRTAB, DT_SYMTAB, DT_RELA, DT_REL,
DT_JMPREL, DT_PLTGOT, and DT_VERSYM l_info entry.
(_ELF_DYNAMIC_DO_RELOC): Take extra argument which specifies whether
rel and rela relocations can both happen and skip one test if this
is not possible.
(ELF_DYNAMIC_DO_RELA, ELF_DYNAMIC_DO_REL): Call _ELF_DYNAMIC_DO_RELOC
appropriately.
* elf/dl-addr.c (_dl_addr): DT_SYMTAB and DT_STRTAB entries are
already relocated.
* elf/dl-deps.c (_dl_map_object_deps): DT_STRTAB entry is already
relocated.
* elf/dl-load.c (_dl_init_paths): DT_STRTAB entry is already relocated.
(_dl_map_object_from_fd): Call elf_get_dynamic_info with new argument.
(_dl_map_object): DT_STRTAB entry is already relocated.
* elf/dl-lookup.c (do_lookup): DT_STRTAB and DT_SYMTAB entries are
already relocated.
* elf/dl-reloc.c (_dl_relocate_object): DT_STRTAB entry is already
relocated.
* elf/dl-runtime.c (fixup): DT_SYMTAB, DT_STRTAB, DT_JMPREL, and
DT_VERSYM entries are already relocated.
(profile_fixup): Likewise.
* elf/dl-version.c: Rename VERSTAG macro into VERSYMIDX.  Replace
all users.
(match_symbol): DT_STRTAB entry is already relocated.
(_dl_check_map_versions): Likewise.  Also fo DT_VERSYM.
* elf/do-rel.h (elf_dynamic_do_rel): reladdr is now assumed to be
relocated already.  DT_SYMTAB and DT_VERSYM entries are also relocated.
* elf/rtld.c (_dl_start): Pass extra argument to elf_get_dynamic_info.
(find_needed): DT_STRTAB entry is already relocated.
(dl_main): Pass extra argument to elf_get_dynamic_info.
DT_STRTAB entry is already relocated.
* sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): DT_JMPREL and
DT_PLTGOT entries are already relocated.
(elf_machine_rela): Likewise for DT_SYMTAB.
* sysdeps/arm/dl-machine.h (elf_machine_rel): DT_STRTAB is already
relocated.
* sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
* sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
* sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
* sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
* sysdeps/powerpc/dl-machine.c (__process_machine_rela): Likewise.
* sysdeps/mips/dl-machine.h (elf_machine_got_rel): Likewise.
(elf_machine_got_rel): Likewise for DT_SYMTAB and DT_STRTAB.

* grp/initgroups.c (initgroups): If function in current module was
successful don't stop but continue to process to get all the groups.

25 years agoUpdate.
Ulrich Drepper [Sat, 20 Feb 1999 09:52:46 +0000 (09:52 +0000)]
Update.

* elf/dl-load.c (_dl_map_object_from_fd): Use global
_dl_pf_to_proot array to convert p_flags value.
* elf/dl-reloc.c (_dl_relocate_object): Likewise.

25 years agoUpdate.
Ulrich Drepper [Sat, 20 Feb 1999 09:40:26 +0000 (09:40 +0000)]
Update.

1999-02-20  Ulrich Drepper  <drepper@cygnus.com>

* elf/dynamic-link.h (elf_get_dynamic_info): Use memset instead of
loop to clear `info'.

* sysdeps/i386/i486/bits/string.h: If fill byte is constant let gcc
do the work and don't use inline assembler.

25 years agoUpdate.
Ulrich Drepper [Fri, 19 Feb 1999 20:37:20 +0000 (20:37 +0000)]
Update.

1999-02-19  Ulrich Drepper  <drepper@cygnus.com>

* elf/ldsodefs.h (_dl_signal_error): Mark as __noreturn__.
* elf/dl-load.c (lose): Make it a function at the toplevel, mark as
noreturn, and prevent it from being inlined.
Define LOSE appropriately.
(_dl_map_object_from_fd): Compare all bytes in e_ident at once.
Optimize decoding of p_flags for certain platforms.

25 years agoUpdate.
Ulrich Drepper [Fri, 19 Feb 1999 08:52:29 +0000 (08:52 +0000)]
Update.

1999-02-19  Philip Blundell  <pb@nexus.co.uk>

* Makeconfig (link-libc): When doing a static link, make sure that
libgcc.a is included both before and after libc.a.

25 years agoUpdate.
Ulrich Drepper [Fri, 19 Feb 1999 08:33:58 +0000 (08:33 +0000)]
Update.

1999-02-18  Thorsten Kukuk  <kukuk@suse.de>

* nis/nss_compat/compat-spwd.c: Fix handling of default values for
sp_warn, sp_inact, sp_expire and sp_flag.

25 years agoUpdate.
Ulrich Drepper [Fri, 19 Feb 1999 00:00:05 +0000 (00:00 +0000)]
Update.

* elf/link.h (link_map): Add l_dev and l_ino.
* elf/dl-load.c (_dl_map_object_from_fd): Test dev/ino of newly
loaded shared object with all laoded objects.  Initialize l_ino
and l_dev in case it's new.
* elf/rtld.c (dl_main): Explain situation is l_dev/l_ino with main
object.
* elf/Makefile: Compile and run new test.
* elf/multiload.c: New file.

25 years agoUpdate.
Ulrich Drepper [Thu, 18 Feb 1999 22:27:04 +0000 (22:27 +0000)]
Update.

* nss/nsswitch.h (service_user): Change name field from const char *
to char[0].
(name_database_entry): Likewise.
* nss/nsswitch.c (nss_parse_service_list): Adjust memory allocation
for change of `service_user'.
(nss_getline): Adjust memory allocation for change of
`name_database_entry'.

25 years agoUpdate.
Ulrich Drepper [Thu, 18 Feb 1999 09:15:19 +0000 (09:15 +0000)]
Update.

* catgets/catgets.c: Correctly handle NLSPATH from environment
[PR libc/980].

25 years agoUpdate.
Ulrich Drepper [Thu, 18 Feb 1999 09:10:37 +0000 (09:10 +0000)]
Update.

1999-02-18  Ulrich Drepper  <drepper@cygnus.com>

* io/Makefile (routines): Add lock64.
* io/Versions: Add lockf64 for GLIBC_2.1.1.
* sysdeps/generic/lockf64.c: New file.

25 years agoUpdate.
Ulrich Drepper [Tue, 16 Feb 1999 21:22:40 +0000 (21:22 +0000)]
Update.

1999-02-16  Ulrich Drepper  <drepper@cygnus.com>

* string/bits/string2.h: Only use strncmp optimization if count
argument is constant.

25 years agoOnly use strncmp optimization if count argument is constant.
Ulrich Drepper [Tue, 16 Feb 1999 21:21:52 +0000 (21:21 +0000)]
Only use strncmp optimization if count argument is constant.

25 years ago1999-02-16 Roland McGrath <roland@baalperazim.frob.com>
Roland McGrath [Tue, 16 Feb 1999 19:10:07 +0000 (19:10 +0000)]
1999-02-16  Roland McGrath  <roland@baalperazim.frob.com>

* sysdeps/mach/hurd/revoke.c: New file.

25 years ago1999-02-16 Roland McGrath <roland@baalperazim.frob.com>
Roland McGrath [Tue, 16 Feb 1999 19:10:02 +0000 (19:10 +0000)]
1999-02-16  Roland McGrath  <roland@baalperazim.frob.com>

* sysdeps/mach/hurd/revoke.c: New file.

25 years ago(Running make install): Remove reference to nscd/README.
Ulrich Drepper [Tue, 16 Feb 1999 17:13:26 +0000 (17:13 +0000)]
(Running make install): Remove reference to nscd/README.

25 years agoUpdate.
Ulrich Drepper [Tue, 16 Feb 1999 17:10:53 +0000 (17:10 +0000)]
Update.

1999-02-16  Ulrich Drepper  <drepper@cygnus.com>

* wctype/wctype.h (_ISwbit): Cast result of shift operations to
int to avoid warning about `ISO C restricts enumerator values to
range of `int''.

25 years agoUpdate.
Ulrich Drepper [Tue, 16 Feb 1999 15:35:52 +0000 (15:35 +0000)]
Update.

1999-02-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* elf/dlfcn.h: Fix typo.
* sysdeps/generic/bits/dlfcn.h: Likewise.
* sysdeps/mips/bits/dlfcn.h: Likewise.

25 years agoUpdate.
Ulrich Drepper [Tue, 16 Feb 1999 12:42:10 +0000 (12:42 +0000)]
Update.

* sysdeps/i386/i486/bits/string.h (memcmp): Correctly set flags
for the case N == 0.

* db2/Makefile (distribute): Add LICENSE.

25 years agoUpdate.
Ulrich Drepper [Tue, 16 Feb 1999 12:20:39 +0000 (12:20 +0000)]
Update.

1999-02-16  Ulrich Drepper  <drepper@cygnus.com>

* db2/Makefile: Update.

25 years agoUpdate.
Ulrich Drepper [Tue, 16 Feb 1999 12:14:05 +0000 (12:14 +0000)]
Update.

1999-02-03  Jeff Bailey  <jbailey@nisa.net>

* sysdeps/unix/make_errlist.c: Add i18n and copyright to
generated files.

* sysdeps/unix/sysv/sysv4/solaris2/sparc/errlist.c: Fix typo.

25 years agoUpdate.
Ulrich Drepper [Tue, 16 Feb 1999 12:08:42 +0000 (12:08 +0000)]
Update.

* time/mktime.c: Use ISO C form for function definitions and
remove unnecessary prototypes.

25 years agoUpdate.
Ulrich Drepper [Tue, 16 Feb 1999 11:06:33 +0000 (11:06 +0000)]
Update.

* sysdeps/posix/getaddrinfo.c (getaddrinfo): Fix typo in last change.

25 years agoUpdate.
Ulrich Drepper [Tue, 16 Feb 1999 09:49:44 +0000 (09:49 +0000)]
Update.

1999-02-16  Ulrich Drepper  <drepper@cygnus.com>

* time/time.h: Avoid unneccesary #ifdef.

25 years agoUpdate.
Ulrich Drepper [Tue, 16 Feb 1999 09:39:12 +0000 (09:39 +0000)]
Update.

1999-02-15  Geoff Keating  <geoffk@ozemail.com.au>

* stdio-common/_itoa.c (_itoa): Correct parameters to
udiv_qrnnd_preinv.

1999-02-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* misc/sys/cdefs.h: Undefine __PMT since it might be defined
before (e.g. in glob.h).
Closes PR libc/959.

1999-02-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* sysdeps/mips/fpu_control.h: Fix typo.
Patch by Sylvain Pion <Sylvain.Pion@sophia.inria.fr>.
Remove __setfpucw.

25 years agoFix typo. Remove __setfpucw.
Ulrich Drepper [Tue, 16 Feb 1999 09:35:56 +0000 (09:35 +0000)]
Fix typo. Remove __setfpucw.

25 years ago1999-02-10 Roland McGrath <roland@baalperazim.frob.com>
Roland McGrath [Mon, 15 Feb 1999 16:32:41 +0000 (16:32 +0000)]
1999-02-10  Roland McGrath  <roland@baalperazim.frob.com>

* sysdeps/mach/hurd/pipe.c (__pipe): Don't call __socket_shutdown on
the "unused" ends of the sockets.  Let pipes be bidirectional.

25 years ago1999-02-10 Roland McGrath <roland@baalperazim.frob.com>
Roland McGrath [Mon, 15 Feb 1999 16:11:21 +0000 (16:11 +0000)]
1999-02-10  Roland McGrath  <roland@baalperazim.frob.com>

* sysdeps/mach/hurd/pipe.c (__pipe): Don't call __socket_shutdown on
the "unused" ends of the sockets.  Let pipes be bidirectional.

25 years agoUpdate.
Ulrich Drepper [Mon, 15 Feb 1999 10:38:47 +0000 (10:38 +0000)]
Update.

1999-02-15  Ulrich Drepper  <drepper@cygnus.com>

* sysdeps/posix/getaddrinfo.c (getaddrinfo): Correct test for
invalid ai_flags.

25 years agoUpdate.
Ulrich Drepper [Mon, 15 Feb 1999 09:25:37 +0000 (09:25 +0000)]
Update.

1999-02-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* manual/llio.texi (Waiting for I/O): Correct meaning.  Patch by
Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/969].

* manual/setjmp.texi (Non-Local Exits and Signals): Fix
typo.  Patch by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/970].

25 years agoUpdate.
Ulrich Drepper [Mon, 15 Feb 1999 09:20:26 +0000 (09:20 +0000)]
Update.

1999-02-15  Ulrich Drepper  <drepper@cygnus.com>

* string/Versions: Add __strverscmp to GLIBC_2.1.1.

25 years agoUpdate.
Ulrich Drepper [Sun, 14 Feb 1999 20:14:54 +0000 (20:14 +0000)]
Update.

1999-02-13  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

* misc/syslog.c (vsyslog): Remember errno for %m format.  Fix
check for priority mask.

25 years agoUpdate.
Ulrich Drepper [Sun, 14 Feb 1999 20:07:32 +0000 (20:07 +0000)]
Update.

1999-02-14  Ulrich Drepper  <drepper@cygnus.com>

* resolv/netdb.h (AI_NUMERICHOST): Change to 4.
Reported by Craig Metz <cmetz@inner.net> .

25 years agoUpdate.
Ulrich Drepper [Sun, 14 Feb 1999 20:03:55 +0000 (20:03 +0000)]
Update.

1999-02-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* stdio-common/Makefile (tests): tllformat added.

* stdio-common/tllformat.c: New program, based on tiformat.c with
examples from Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.

1999-02-14  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

* posix/test-vfork.c: Fix exit status test.

1999-02-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* sysdeps/unix/sysv/linux/sa_len.c (__libc_sa_len): Add some
missing cases.  Reported by Craig Metz <cmetz@inner.net> [PR libc/964].

1999-02-14  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

25 years ago(__libc_sa_len): Add some missing cases.
Ulrich Drepper [Sun, 14 Feb 1999 19:59:24 +0000 (19:59 +0000)]
(__libc_sa_len): Add some missing cases.

25 years ago* sysdeps/m68k/fpu/s_modf.c: Optimized by using __m81_test instead
Andreas Schwab [Sat, 13 Feb 1999 16:51:29 +0000 (16:51 +0000)]
* sysdeps/m68k/fpu/s_modf.c: Optimized by using __m81_test instead

of separare explicit comparisons.
Sun Feb 14 01:49:29 1999  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

* sysdeps/m68k/fpu/s_modf.c: Optimized by using __m81_test instead
of separare explicit comparisons.

25 years agoUpdate.
Ulrich Drepper [Thu, 11 Feb 1999 15:43:52 +0000 (15:43 +0000)]
Update.

25 years agoFix typos.
Ulrich Drepper [Thu, 11 Feb 1999 15:00:20 +0000 (15:00 +0000)]
Fix typos.

* locales/in_ID: New file.

25 years agoUpdate.
Ulrich Drepper [Thu, 11 Feb 1999 14:59:52 +0000 (14:59 +0000)]
Update.

1999-02-11  Ulrich Drepper  <drepper@cygnus.com>

* localedata/locale/in_ID: New file.

1999-02-11  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

* sysdeps/wordsize-64/inttypes.h: Always define ldiv_t if not yet
defined.

* sysdeps/wordsize-32/inttypes.h: Always define lldiv_t if not yet
defined.

25 years agoUpdate.
Ulrich Drepper [Thu, 11 Feb 1999 12:11:01 +0000 (12:11 +0000)]
Update.

25 years agoUpdate.
Ulrich Drepper [Wed, 10 Feb 1999 11:33:49 +0000 (11:33 +0000)]
Update.

1999-02-10  Ulrich Drepper  <drepper@cygnus.com>

* sysdeps/unix/sysv/linux/kernel_stat.h: Define _NO_LFS___PAD1.
* sysdeps/unix/sysv/linux/xstatconv.c (xstat64_conv): Don't initialize
__pad1 if _NO_LFS___PAD1 is defined.
* sysdeps/unix/sysv/linux/bits/stat.h: Remove __pad1 from stat64
definition.
* sysdeps/unix/sysv/linux/bits/types.h: Change __ino64_t to 64 bits.
* sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.

25 years agoUpdate.
Ulrich Drepper [Tue, 9 Feb 1999 09:50:05 +0000 (09:50 +0000)]
Update.

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

1999-02-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* intl/locale.alias: Fix slovenian entry [PR libc/948].

1999-02-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* elf/sprof.c: assert.h isn't used anymore, remove inclusion.
* inet/ruserpass.c: Likewise.
* locale/programs/stringtrans.c: Likewise.
* locale/programs/localedef.c: Likewise.
* nscd/grpcache.c: Likewise.
* nss/nss_files/files-XXX.c: Likewise.
* stdlib/canonicalize.c: Likewise.
* sysdeps/posix/sigwait.c: Likewise.

1999-02-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* sunrpc/pmap_rmt.c (clnt_broadcast): We need 32 bit comparison
even on 64 bit platforms.

* sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
Patch by Loic Prylli <Loic.Prylli@ens-lyon.fr>.

1999-02-09  Ulrich Drepper  <drepper@cygnus.com>

25 years agoUpdate.
Ulrich Drepper [Tue, 9 Feb 1999 08:26:51 +0000 (08:26 +0000)]
Update.

1999-02-09  Ulrich Drepper  <drepper@cygnus.com>

* intl/dcgettext.c: Include locale.h is available.

25 years agoUpdate.
Ulrich Drepper [Mon, 8 Feb 1999 20:43:19 +0000 (20:43 +0000)]
Update.

25 years agoUpdate.
Ulrich Drepper [Mon, 8 Feb 1999 20:33:32 +0000 (20:33 +0000)]
Update.

* sysdeps/libm-i387/s_asinhf.S: Fix typos which caused overwriting
stack variables.

25 years agoUpdate.
Ulrich Drepper [Mon, 8 Feb 1999 17:40:22 +0000 (17:40 +0000)]
Update.

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

25 years agoUpdate.
Ulrich Drepper [Mon, 8 Feb 1999 17:29:55 +0000 (17:29 +0000)]
Update.

* sysdeps/libm-i387/s_asinhf.S: Correct computing absolute value.

25 years agoUpdate.
Ulrich Drepper [Mon, 8 Feb 1999 12:14:21 +0000 (12:14 +0000)]
Update.

* Makefile: Allow calling goals for po subdir.

25 years agoUpdate.
Ulrich Drepper [Mon, 8 Feb 1999 10:13:00 +0000 (10:13 +0000)]
Update.

* sysdeps/unix/sysv/linux/alpha/bits/signum.h: Add missing RT
signal definitions.

25 years agoUpdate.
Ulrich Drepper [Mon, 8 Feb 1999 10:08:45 +0000 (10:08 +0000)]
Update.

* po/el.po: New file.

1999-02-07  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

* elf/dl-load.c (_dl_map_object_from_fd): Replace magic constant
when processing DT_SYMBOLIC objects.

1999-02-07  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

* elf/dl-load.c (_dl_map_object_from_fd): When looking for the
program headers without PT_PHDR only require that they are
contained within one of the loaded segments.  Don't use assert,
since that would be a bug in the object, not the dynamic linker.

1999-02-08  Richard Henderson  <rth@cygnus.com>

* sysdeps/alpha/dl-machine.h (TRAMPOLINE_TEMPLATE): Save and
restore all call-clobbered fp regs.

1999-02-08  Ulrich Drepper  <drepper@cygnus.com>

25 years agoUpdate.
Ulrich Drepper [Mon, 8 Feb 1999 00:13:56 +0000 (00:13 +0000)]
Update.

* po/cs.po: New file.

25 years agoUpdate.
Ulrich Drepper [Mon, 8 Feb 1999 00:09:54 +0000 (00:09 +0000)]
Update.

1999-02-08  Ulrich Drepper  <drepper@cygnus.com>

* resolv/res_hconf.c (_res_hconf_init): Don't use ENV_HOSTCONF for
SUID binaries.

25 years agoUpdate.
Ulrich Drepper [Sun, 7 Feb 1999 21:30:11 +0000 (21:30 +0000)]
Update.

* signal/signal.h: Don't declare __libc_allocate_rtsig.
* include/signal.h: Declare __libc_allocate_rtsig here.

25 years agoUpdate.
Ulrich Drepper [Sun, 7 Feb 1999 21:21:33 +0000 (21:21 +0000)]
Update.

1999-02-07  Ulrich Drepper  <drepper@cygnus.com>

* elf/dl-lookup.c: Increment _dl_num_relocations in the four entry
point functions, not do_lookup since the later can be called more
than once.

25 years agoUpdate.
Ulrich Drepper [Sun, 7 Feb 1999 20:46:14 +0000 (20:46 +0000)]
Update.

1999-02-03  Jakub Jelinek  <jj@ultra.linux.cz>

* sysdeps/generic/segfault.c: Add ADVANCE_STACK_FRAME
macro, so that architectures which need to add some special
offset to stack pointer can share this file.

* sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: New file.
* sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: New file.
* sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: New file.
* sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: New file.

* sysdeps/unix/sysv/linux/sparc/sparc32/bits/mman.h: Remove.
* sysdeps/unix/sysv/linux/sparc/sparc64/bits/mman.h: Remove.
* sysdeps/unix/sysv/linux/sparc/bits/mman.h: New file - common
between sparc32 and sparc64.

* sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Remove.
* sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Remove.
* sysdeps/unix/sysv/linux/sparc/vfork.S: New file - common
between sparc32 and sparc64.

* sysdeps/unix/sysv/linux/sparc/sparc32/fork.S: Remove.
* sysdeps/unix/sysv/linux/sparc/sparc64/fork.S: Remove.
* sysdeps/unix/sysv/linux/sparc/fork.S: New file - common
between sparc32 and sparc64.

* sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Remove.
* sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.S: Remove.
* sysdeps/unix/sysv/linux/sparc/sysdep.S: New file - common
between sparc32 and sparc64.

25 years agoUpdate.
Ulrich Drepper [Sun, 7 Feb 1999 12:50:11 +0000 (12:50 +0000)]
Update.

1999-02-07  Ulrich Drepper  <drepper@cygnus.com>

* Versions.def: New version GLIBC_2.1.1 for libc.
* stdlib/Versions: Add _Exit, imaxdiv, and imaxdiv to GLIBC_2.1.1.
* stdlib/labs.c: Moved to...
* sysdeps/generic/labs.c: ...here.
* stdlib/llabs.c: Moved to...
* sysdeps/generic/llabs.c: ...here.
* stdlib/stdlib.h: Allow definition of ldiv_t and lldiv_t in other
header.  Declare _Exit.
* sysdeps/generic/_exit.c: Add alias _Exit.
* sysdeps/mach/hurd/_exit.c: Likewise.
* sysdeps/standalone/i386/force_cpu386/_exit.c: Likewise.
* sysdeps/standalone/i960/nindy960/_exit.c: Likewise.
* sysdeps/standalone/m68k/m68020/mvme136/_exit.c: Likewise.
* sysdeps/unix/_exit.c: Likewise.
* sysdeps/wordsize-32/inttypes.h: Define imaxdiv_t and declare
imaxdiv and imaxabs.  Declare lldiv_t if necessary.
* sysdeps/wordsize-64/inttypes.h: Likewise.
* sysdeps/wordsize-32/llabs.c: New file.
* sysdeps/wordsize-32/lldiv.c: New file.
* sysdeps/wordsize-64/labs.c: New file.
* sysdeps/wordsize-64/ldiv.c: New file.
* manual/arith.texi: Document imaxabs, imaxdiv_t, and imaxdiv.
* manual/startup.texi: Document _Exit.

1999-02-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* nscd/cache.c: Include <arpa/inet.h> for inet_ntop.

25 years agoUpdate.
Ulrich Drepper [Sun, 7 Feb 1999 00:06:12 +0000 (00:06 +0000)]
Update.

1999-02-06  Ulrich Drepper  <drepper@cygnus.com>

* Versions.def: Add versions for ld.so.
* csu/Versions: Remove __libc_stack_end here.
* elf/Versions: Split libc definitions in libc and ld.so definitions.
* elf/Makefile (ld-map): Change to ld.so.map.
* scripts/versions.awk: Recognize dot in library names.

* ctype/ctype.h: Remove definitions of __tolower and __toupper.
Don't use __tolower and __toupper in inline functions.
Add optimizing macros for tolower and toupper.
* ctype/ctype-extn.c (_tolower): Don't use __tolower.
(_toupper): Don't use __toupper.
* ctype/ctype.c (tolower): Don't use __tolower.
(toupper): Don't use toupper.

* nscd/cache.c (prune_cache): Correct printing of debugging messages.

* resolv/Versions (libresolv): Export __ns_name_unpack and
__ns_name_ntop.
* resolv/res_comp.c: Rename ns_name_unpack to __ns_name_unpack and
make it global.  Change all users.  Similar for ns_name_ntop.
* resolv/nss_dns/dns-host.c: Don't use dn_expand when extracting in
user-provided buffer.  Use __ns_name_unpack and __ns_name_ntop
directly to detect too small buffer.
* stdio-common/Makefile (tests): Add scanf12.
* stdio-common/scanf12.c: New file.
* stdio-common/scanf12.input: New file.
* stdio-common/vfscanf.c (__vfscanf): Handle +/- at beginning of
floating-point correctly if the number is invalid.
* stdio-common/vfscanf.c: Don't use non-reentrant multibyte conversion
* stdio-common/printf_fphex.c: Likewise.
* stdio-common/vfprintf.c: Likewise.
See ChangeLog.9 for earlier changes.