platform/upstream/glibc.git
25 years agoUpdate.
Ulrich Drepper [Tue, 25 May 1999 11:58:59 +0000 (11:58 +0000)]
Update.

1999-05-24  Jakub Jelinek  <jj@ultra.linux.cz>

* sysdeps/sparc/bits/wordsize.h: New file.
* sysdeps/sparc/bits/fenv.h: New file.
* sysdeps/sparc/fpu_control.h: New file.
* sysdeps/sparc/gmp-mparam.h: New file.

* sysdeps/sparc/sparc32/fpu/bits/fenv.h: Remove.
* sysdeps/sparc/sparc32/fpu/fpu_control.h: Remove.
* sysdeps/sparc/sparc64/bits/wordsize.h: Remove.
* sysdeps/sparc/sparc64/fpu/bits/fenv.h: Remove.
* sysdeps/sparc/sparc64/fpu/fpu_control.h: Remove.
* sysdeps/sparc/sparc64/gmp-mparam.h: Remove.

* sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: New file.
* sysdeps/unix/sysv/linux/sparc/bits/types.h: New file.
* sysdeps/unix/sysv/linux/sparc/bits/statfs.h: New file.
* sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: New file.

* sysdeps/unix/sysv/linux/sparc/sparc32/sys/ucontext.h: Remove.
* sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Remove.
* sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Remove.
* sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Remove.
* sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: Remove.

1999-05-19  Jakub Jelinek  <jj@ultra.linux.cz>
1999-05-19  Jakub Jelinek  <jj@ultra.linux.cz>
1999-05-19  Jakub Jelinek  <jj@ultra.linux.cz>

25 years agoUpdate. cvs/glibc-2_1_1 glibc-2.1.1
Ulrich Drepper [Mon, 24 May 1999 18:22:25 +0000 (18:22 +0000)]
Update.

* login/openpty.c (openpty): Make sure pty does not because
controlling TTY.

25 years agoUpdate.
Ulrich Drepper [Mon, 24 May 1999 16:21:12 +0000 (16:21 +0000)]
Update.

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

* ctype/ctype.h: Don't optimize toupper/tolower for C++.

25 years agoUpdate.
Ulrich Drepper [Mon, 24 May 1999 14:16:40 +0000 (14:16 +0000)]
Update.

25 years agoUpdate.
Ulrich Drepper [Mon, 24 May 1999 08:21:02 +0000 (08:21 +0000)]
Update.

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

* sysdeps/posix/getaddrinfo.c (gaih_inet): Set socket address to
loopback if no name is given and AI_PASSIVE is not set.
Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl> [PR libc/1136].

25 years ago(gaih_inet): Set socket address to loopback if no name is given and AI_PASSIVE is...
Ulrich Drepper [Mon, 24 May 1999 08:18:43 +0000 (08:18 +0000)]
(gaih_inet): Set socket address to loopback if no name is given and AI_PASSIVE is not set.

25 years ago1999-05-23 Roland McGrath <roland@baalperazim.frob.com>
Roland McGrath [Sun, 23 May 1999 19:35:18 +0000 (19:35 +0000)]
1999-05-23  Roland McGrath  <roland@baalperazim.frob.com>

* hurd/set-host.c (_hurd_set_host_config): Use mode 0644, not 0600.
Do proper error return.

25 years ago1999-05-23 Roland McGrath <roland@baalperazim.frob.com>
Roland McGrath [Sun, 23 May 1999 19:18:19 +0000 (19:18 +0000)]
1999-05-23  Roland McGrath  <roland@baalperazim.frob.com>

* hurd/set-host.c (_hurd_set_host_config): Use mode 0644, not 0600.
Do proper error return.

25 years agoUpdate.
Ulrich Drepper [Sun, 23 May 1999 13:02:36 +0000 (13:02 +0000)]
Update.

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

* malloc/malloc.h: Add __THROW for __MALLOC_P to synch with usage
of __P in the rest of glibc; define __MALLOC_PMT and use it.
Reported by Stephan Kulow <coolo@kde.org>.

25 years agoUpdate.
Ulrich Drepper [Sun, 23 May 1999 10:13:49 +0000 (10:13 +0000)]
Update.

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

* sysdeps/alpha/fpu/bits/fenv.h: Pretty print.

* sysdeps/sparc/sparc64/fpu/bits/fenv.h: Remove unneeded #if.

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

* sysdeps/m68k/fpu/bits/fenv.h (fenv_t): Prepend __ to member
names to protect from user's macro namespace.
* sysdeps/arm/fpu/bits/fenv.h (fenv_t): Likewise.
* sysdeps/generic/bits/fenv.h (fexcept_t, fenv_t): Likewise.
* sysdeps/i386/fpu/bits/fenv.h (fenv_t): Likewise.
* sysdeps/mips/bits/fenv.h (fenv_t): Likewise.
* sysdeps/m68k/fpu/feholdexcpt.c, sysdeps/m68k/fpu/fesetenv.c:
Adapted.
* sysdeps/arm/fpu/fegetenv.c, sysdeps/arm/fpu/feholdexcpt.c,
sysdeps/arm/fpu/fesetenv.c: Likewise.
* sysdeps/i386/fpu/fclrexcpt.c, sysdeps/i386/fpu/feholdexcpt.c,
sysdeps/i386/fpu/fesetenv.c, sysdeps/i386/fpu/fraiseexcpt.c,
sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
* sysdeps/mips/fesetenv.c: Likewise.

25 years agoCorrect example.
Ulrich Drepper [Sun, 23 May 1999 09:27:35 +0000 (09:27 +0000)]
Correct example.

25 years ago1999-05-22 Roland McGrath <roland@baalperazim.frob.com>
Roland McGrath [Sun, 23 May 1999 09:14:35 +0000 (09:14 +0000)]
1999-05-22  Roland McGrath  <roland@baalperazim.frob.com>

* sysdeps/generic/bits/sigstack.h (enum SS_*): Remove trailing comma.

25 years ago1999-05-22 Roland McGrath <roland@baalperazim.frob.com>
Roland McGrath [Sun, 23 May 1999 09:14:13 +0000 (09:14 +0000)]
1999-05-22  Roland McGrath  <roland@baalperazim.frob.com>

* sysdeps/generic/bits/sigstack.h (enum SS_*): Remove trailing comma.

25 years ago* sysdeps/m68k/fpu/bits/fenv.h (fenv_t): Prepend __ to member
Andreas Schwab [Sat, 22 May 1999 17:14:30 +0000 (17:14 +0000)]
* sysdeps/m68k/fpu/bits/fenv.h (fenv_t): Prepend __ to member

names to protect from user's macro namespace.
* sysdeps/m68k/fpu/feholdexcpt.c, sysdeps/m68k/fpu/fesetenv.c:
Adapted.

25 years agoRegenerated: /usr/bin/perl scripts/gen-FAQ.pl FAQ.in
Ulrich Drepper [Sat, 22 May 1999 11:45:33 +0000 (11:45 +0000)]
Regenerated:  /usr/bin/perl scripts/gen-FAQ.pl FAQ.in

25 years agoUpdate.
Ulrich Drepper [Thu, 20 May 1999 14:56:42 +0000 (14:56 +0000)]
Update.

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

* configure.in: Recognize and allow gcc 2.95.

25 years agoUpdate.
Ulrich Drepper [Wed, 19 May 1999 15:35:26 +0000 (15:35 +0000)]
Update.

1999-05-19  Jakub Jelinek   <jj@ultra.linux.cz>

* sysdeps/generic/bits/elfclass.h: Version common to
wordsize-32 and wordsize-64.
* sysdeps/generic/bits/environments.h: Ditto.
* sysdeps/generic/stdint.h: Ditto.
* sysdeps/generic/inttypes.h: Ditto.

* sysdeps/generic/bits/wordsize.h: New file.
* stdlib/Makefile: Add bits/wordsize.h to headers.

* sysdeps/sparc/sparc64/bits/wordsize.h: New file.

* sysdeps/sparc/sparc64/fpu/bits/fenv.h: Allow the same exported
headers to be used for 32bit and 64bit ABI compilations.
* sysdeps/sparc/sparc64/fpu/fpu_control.h: Ditto.
* sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Ditto.
* sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Ditto.
* sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Ditto.
* sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: Ditto.

* sysdeps/wordsize-64/bits/elfclass.h: Remove.
* sysdeps/wordsize-64/bits/environments.h: Remove.
* sysdeps/wordsize-64/stdint.h: Remove.
* sysdeps/wordsize-64/inttypes.h: Remove.
* sysdeps/wordsize-64/bits/wordsize.h: New file.

* sysdeps/wordsize-32/bits/elfclass.h: Remove.
* sysdeps/wordsize-32/bits/environments.h: Remove.
* sysdeps/wordsize-32/stdint.h: Remove.
* sysdeps/wordsize-32/inttypes.h: Remove.
* sysdeps/wordsize-32/bits/wordsize.h: New file.

1999-05-19  Jakub Jelinek   <jj@ultra.linux.cz>

* sysdeps/sparc/sparc64/memcpy.S (__align_cpy_4, __align_cpy_8,
__align_cpy_16): New functions.
(__align_cpy_2, __align_cpy_1): New aliases to memcpy.

* sysdeps/sparc/sparc32/Versions: New file.
* sysdeps/sparc/sparc64/Versions: New file.
* sysdeps/sparc/Versions: Remove.

1999-05-19  Jakub Jelinek   <jj@ultra.linux.cz>

* sysdeps/unix/sysv/linux/configure.in:
On sparc64-*-linux*, set slibdir to /lib64 if prefix
is /usr, plus set libdir to ${exec_prefix}/lib64.
* sysdeps/unix/sysv/linux/configure: Regenerated.
* config.make.in: Propagate libdir settings from configure
to the Makefiles.
* shlib-versions: sparc64-*-linux* dynamic linker is
/lib64/ld-linux.so.2.

25 years agoUpdate.
Ulrich Drepper [Tue, 18 May 1999 13:04:17 +0000 (13:04 +0000)]
Update.

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

* nis/nis_lookup.c (nis_lookup): If we run out of memory, close
RPC connection.

25 years agoUpdate.
Ulrich Drepper [Tue, 18 May 1999 11:05:41 +0000 (11:05 +0000)]
Update.

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

* Makefile (LOCALEDEF): Add I18NPATH definition to find the
correct sources.

25 years agoUpdate.
Ulrich Drepper [Tue, 18 May 1999 10:00:20 +0000 (10:00 +0000)]
Update.

1999-05-18  Jakub Jelinek  <jj@ultra.linux.cz>

* sysdeps/sparc/sparc64/rawmemchr.S: New file.
* sysdeps/sparc/sparc32/sparcv9/rawmemchr.S: New file.

* sysdeps/sparc/sparc64/memchr.S: Fix if the second argument
contains garbage in bits 8-63.
* sysdeps/sparc/sparc64/memset.S: Ditto.
* sysdeps/sparc/sparc64/strchr.S: Ditto.

25 years agoUpdate.
Ulrich Drepper [Tue, 18 May 1999 09:48:05 +0000 (09:48 +0000)]
Update.

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

* sysdeps/wordsize-64/stdint.h (INTPTR_MAX): Add missing ).

1999-05-17  David S. Miller  <davem@redhat.com>

* sysdeps/sparc/sparc32/atomicity.h: New file.
* sysdeps/sparc/sparc32/sparcv9/atomicity.h: New file.
* sysdeps/sparc/sparc64/atomicity.h: New file.
* sysdeps/sparc/sparc32/sparcv9/Makefile: Add -Wa,-Av9a to
sysdep-CFLAGS.

25 years agoUpdate.
Ulrich Drepper [Tue, 18 May 1999 08:57:29 +0000 (08:57 +0000)]
Update.

1999-05-18  Richard Henderson  <rth@twiddle.net>

* sysdeps/alpha/memchr.S: Zap high byte of length.  Reschedule.

25 years agoUpdate.
Ulrich Drepper [Tue, 18 May 1999 08:37:39 +0000 (08:37 +0000)]
Update.

1999-05-04  Zack Weinberg  <zack@rabi.phys.columbia.edu>

* argp/argp.h, assert/assert.h, misc/sys/cdefs.h,
posix/sys/types.h: Handle the case of __GNUC__=3,
__GNUC_MINOR__=(anything).

25 years agoUpdate.
Ulrich Drepper [Tue, 18 May 1999 08:14:06 +0000 (08:14 +0000)]
Update.

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

* sysdeps/i386/i486/bits/string.h (rawmemchr): Remove unneccessary
if _FORCE_INLINES.

25 years agoUpdate.
Ulrich Drepper [Mon, 17 May 1999 17:58:57 +0000 (17:58 +0000)]
Update.

Add dl-dst.h and gen-trusted-dirs.awk.

25 years agoUpdate.
Ulrich Drepper [Mon, 17 May 1999 17:36:45 +0000 (17:36 +0000)]
Update.

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

* elf/Makefile (distribute): Remove dl-origin.h.

25 years agoUpdate.
Ulrich Drepper [Mon, 17 May 1999 17:25:32 +0000 (17:25 +0000)]
Update.

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

* sysdeps/i386/i486/Versions: New file with inline functions from
sysdeps/i386/i486/bits/string.h for now.

* sysdeps/i386/Versions: Add inline functions from
sysdeps/i386/bits/string.h.

* string/Versions: Add inline functions from <bits/string2.h>.

* string/Makefile (routines): Add string-inlines.
* string/string-inlines.c: New file, used for implementation of
extern inline functions.

* sysdeps/i386/i486/bits/string.h: Use _FORCE_INLINES to generate
non inlined versions of functions.
* string/bits/string2.h: Likewise.
* sysdeps/i386/bits/string.h: Likewise.

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

* inet/arpa/tftp.h: Add second packed attribute.

25 years agoUpdate.
Ulrich Drepper [Mon, 17 May 1999 10:09:50 +0000 (10:09 +0000)]
Update.

1999-05-16  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>

* malloc/malloc.c: Cleanup to bring in line with released
stand-alone version `ptmalloc'.  Update some comments.
(internal_function): Move fallback definition so that the source
compiles outside of libc, and use it in more places.
(malloc_atfork): Fix when malloc_check is in use.

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

* stdlib/tst-strtod.c: Fix typo.

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

* elf/dl-close.c (_dl_close): Add cast to avoid warning about
const incorrectness.

25 years ago(_dl_close): Add cast to avoid warning about const incorrectness.
Ulrich Drepper [Mon, 17 May 1999 09:56:54 +0000 (09:56 +0000)]
(_dl_close): Add cast to avoid warning about const incorrectness.

25 years ago1999-05-16 Roland McGrath <roland@baalperazim.frob.com>
Roland McGrath [Sun, 16 May 1999 20:50:58 +0000 (20:50 +0000)]
1999-05-16  Roland McGrath  <roland@baalperazim.frob.com>

* sysdeps/generic/bits/termios.h (CRTSCTS): New macro.

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

* sysdeps/generic/bits/termios.h (CRTSCTS): New macro.

25 years agoUpdate.
Ulrich Drepper [Sun, 16 May 1999 10:14:25 +0000 (10:14 +0000)]
Update.

1999-05-16  Thorsten Kukuk  <kukuk@suse.de>

* sunrpc/etc.rpc: Add portmapper, rstat_svc and pcnfs.
* sunrpc/key_call.c: Fix memory leak, close file handle.
* nis/nis_creategroup.c: Use malloc instead of calloc,
set ctime and mtime.
* nis/nis_subr.c: Check for realloc result.
* nis/nis_file.c: Fix memory leak.
* nis/nis_table.c: Pretty print.
* nis/nis_getservlist.c: Likewise.
* nis/nis_ismember.c: Likewise.
* nis/nis_lookup.c: Likewise.
* nis/nis_ping.c: Likewise.
* nis/nis_removemember.c: Likewise.
* nis/nis_util.c: Likewise, check calloc result.

25 years agoUse malloc instead of calloc, set ctime and mtime.
Ulrich Drepper [Sun, 16 May 1999 10:11:25 +0000 (10:11 +0000)]
Use malloc instead of calloc, set ctime and mtime.

25 years ago1999-05-16 Roland McGrath <roland@baalperazim.frob.com>
Roland McGrath [Sun, 16 May 1999 08:54:24 +0000 (08:54 +0000)]
1999-05-16  Roland McGrath  <roland@baalperazim.frob.com>

* sysdeps/unix/sysv/linux/sys/socketvar.h: Moved to ...
* sysdeps/generic/sys/socketvar.h: ... here.
* sysdeps/unix/sysv/linux/netinet/in_systm.h: Moved to ...
* sysdeps/generic/netinet/in_systm.h: ... here.
* sysdeps/unix/sysv/linux/Dist: Remove netinet/in_systm.h,
sys/socketvar.h.
* sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Likewise.
* inet/Makefile (headers): Add netinet/in_systm.h here.
* socket/Makefile (headers): Add sys/socketvar.h here.

25 years ago1999-05-16 Roland McGrath <roland@baalperazim.frob.com>
Roland McGrath [Sun, 16 May 1999 08:52:16 +0000 (08:52 +0000)]
1999-05-16  Roland McGrath  <roland@baalperazim.frob.com>

* sysdeps/unix/sysv/linux/sys/socketvar.h: Moved to ...
* sysdeps/generic/sys/socketvar.h: ... here.
* sysdeps/unix/sysv/linux/netinet/in_systm.h: Moved to ...
* sysdeps/generic/netinet/in_systm.h: ... here.
* sysdeps/unix/sysv/linux/Dist: Remove netinet/in_systm.h,
sys/socketvar.h.
* sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Likewise.
* inet/Makefile (headers): Add netinet/in_systm.h here.
* socket/Makefile (headers): Add sys/socketvar.h here.

25 years agoUpdate.
Ulrich Drepper [Sat, 15 May 1999 23:31:55 +0000 (23:31 +0000)]
Update.

* stdlib/strtol.c: Optimize inner loop of long long versions.

25 years agoUpdate.
Ulrich Drepper [Sat, 15 May 1999 09:31:40 +0000 (09:31 +0000)]
Update.

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

* sysdeps/gnu/utmpx.h: Add needed type definitions according to
Unix98.  Add forward declaration of struct utmp.

25 years agoUpdate.
Ulrich Drepper [Fri, 14 May 1999 23:38:21 +0000 (23:38 +0000)]
Update.

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

* nis/nis_getservlist.c (nis_getservlist): Use malloc instead of
calloc.

* nis/nis_checkpoint.c (nis_checkpoint): Fix memory leaks.
* nis/nis_addmember.c (nis_addmember): Fix memory leak.  Test
memory allocation results.

25 years agoUpdate.
Ulrich Drepper [Fri, 14 May 1999 21:30:22 +0000 (21:30 +0000)]
Update.

1999-05-14  Mark Kettenis  <kettenis@gnu.org>

* sysdeps/generic/getutmp.c: Include <string.h>
(getutmp): Rewrite to only copy those members that are really
present in `struct utmp'.
* sysdeps/generic/getutmpx.c: Likewise.

25 years agoUpdate.
Ulrich Drepper [Fri, 14 May 1999 00:22:24 +0000 (00:22 +0000)]
Update.

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

* nss/getXXbyYY.c: Add free_mem function which disposes all
statically allocated memory when debugging.
* nss/getXXent.c: Likewise.
* nss/nsswitch.c: Likewise.

25 years agoUpdate
Ulrich Drepper [Thu, 13 May 1999 19:55:50 +0000 (19:55 +0000)]
Update

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

* sysdeps/gnu/getutmpx.c: New file.
* sysdeps/gnu/getutmp.c: New file.

25 years agoUpdate
Ulrich Drepper [Thu, 13 May 1999 19:51:20 +0000 (19:51 +0000)]
Update

1999-05-13  H.J. Lu  <hjl@gnu.org>

* login/Versions (getutmpx): Added to GLIBC_2.1.1.
(getutmp): Likewise.

* sysdeps/gnu/Makefile (sysdep_routines): Add getutmp and
getutmpx for login.

* sysdeps/gnu/utmpx.h (getutmp): Added.
(getutmpx): Likewise.

* sysdeps/generic/getutmp.c: New file.

* sysdeps/generic/getutmpx.c: New file.

25 years agoUpdate.
Ulrich Drepper [Thu, 13 May 1999 10:22:54 +0000 (10:22 +0000)]
Update.

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

* glibcbug.in (BUGGLIBC): Change address to
libc-alpha@sourceware.cygnus.com.

25 years agoUpdate.
Ulrich Drepper [Wed, 12 May 1999 10:23:29 +0000 (10:23 +0000)]
Update.

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

* resolv/arpa/nameser.h: Add C++ protectors.

25 years agoUpdate.
Ulrich Drepper [Tue, 11 May 1999 13:26:39 +0000 (13:26 +0000)]
Update.

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

* iconvdata/gconv-modules: Fix alias for CP1255.  Reported by
Elad Tsur <eladts@post.tau.ac.il>.

25 years agoUpdate.
Ulrich Drepper [Tue, 11 May 1999 13:00:20 +0000 (13:00 +0000)]
Update.

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

* elf/Versions (ld.so) [GLIBC_2.1.1]: Add _dl_lazy.
* elf/dl-open.c (_dl_open_worker): Only relocate newly loaded objects
lazily if LD_BIND_NOW is not set.
* elf/dl-support.c (_dl_lazy): New variable.
(non_dynamic_init): Set _dl_lazy according to LD_BIND_NOW envvar.
* elf/rtld.c (_dl_lazy): new global variable.
( dl_main): Remove lazy, replace it by _dl_lazy.

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

* locale/setlocale.c (new_composite_name): Check also whether the
first category name differs.

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

* sysdeps/unix/sysv/linux/ftime.c: Use the bsd implementation, not
the generic one.

1999-05-11  Philip Blundell  <pb@nexus.co.uk>

* sysdeps/generic/bits/socket.h (struct sockaddr_storage): New
structure; storage suitable for any socket address.
* sysdeps/unix/sysv/linux/bits/socket.h (struct sockaddr_storage):
Likewise.
* sysdeps/unix/sysv/linux/mips/bits/socket.h (struct
sockaddr_storage): Likewise.

* inet/netinet/in.h: Use ULONG_MAX not ~0 to test for a 64-bit
platform.

25 years agoAdd PR information.
Ulrich Drepper [Mon, 10 May 1999 13:41:57 +0000 (13:41 +0000)]
Add PR information.

_nss_hesiod_getgrgid_r respectively.  Fixes pr libc/1115.

25 years agoUpdate.
Ulrich Drepper [Mon, 10 May 1999 13:34:57 +0000 (13:34 +0000)]
Update.

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

* hesiod/Versions: Change _nss_hesiod_getpwuid and
_nss_hesiod_getgrgid to _nss_hesiod_getpwuid_r and
_nss_hesiod_getgrgid_r respectively.

25 years agoChange _nss_hesiod_getpwuid and _nss_hesiod_getgrgid to _nss_hesiod_getpwuid_r and...
Ulrich Drepper [Mon, 10 May 1999 13:34:35 +0000 (13:34 +0000)]
Change _nss_hesiod_getpwuid and _nss_hesiod_getgrgid to _nss_hesiod_getpwuid_r and _nss_hesiod_getgrgid_r respectively.

25 years ago1999-05-09 Mark Kettenis <kettenis@gnu.org>
Roland McGrath [Sun, 9 May 1999 10:40:53 +0000 (10:40 +0000)]
1999-05-09  Mark Kettenis  <kettenis@gnu.org>

* hurd/get-host.c (_hurd_get_host_config): Return an empty value
if the file is empty.

25 years ago1999-05-09 Mark Kettenis <kettenis@gnu.org>
Roland McGrath [Sun, 9 May 1999 10:40:36 +0000 (10:40 +0000)]
1999-05-09  Mark Kettenis  <kettenis@gnu.org>

* hurd/get-host.c (_hurd_get_host_config): Return an empty value
if the file is empty.

25 years agoUpdate.
Ulrich Drepper [Fri, 7 May 1999 21:11:08 +0000 (21:11 +0000)]
Update.

* elf/do-lookup.h: Fix typo in comment.

25 years agoUpdate.
Ulrich Drepper [Fri, 7 May 1999 16:58:39 +0000 (16:58 +0000)]
Update.

* sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Set f_frsize to
f_bsize to help some broken programs.

25 years agoUpdate.
Ulrich Drepper [Fri, 7 May 1999 11:32:00 +0000 (11:32 +0000)]
Update.

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

* stdio-common/tst-printf.c: Add test case for last _itoa problem.

* stdio-common/vfprintf.c: Fix typo.

25 years agoUpdate.
Ulrich Drepper [Fri, 7 May 1999 00:00:48 +0000 (00:00 +0000)]
Update.

* elf/link.h (struct link_map): New field l_phdr_allocated.
* elf/dl-load.c (_dl_map_object_from_fd): Don't depend on having
the program header being part of any loaded segment.  If it is not
allocate memory and set l_phdr_allocated flag.
* elf/dl-close.c (_dl_close): Free l_phdr if necessary.

25 years agoUpdate.
Ulrich Drepper [Thu, 6 May 1999 23:17:13 +0000 (23:17 +0000)]
Update.

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

* nss/digits_dots.c: Correct return value interpretation of
inet_ntoa.  Fix PR libc/1109.

25 years agoUpdate.
Ulrich Drepper [Thu, 6 May 1999 09:18:09 +0000 (09:18 +0000)]
Update.

1999-05-06  Zack Weinberg  <zack@rabi.columbia.edu>

* sysdeps/sparc/sparc32/sparcv9/Dist: New file.

25 years agoUpdate.
Ulrich Drepper [Thu, 6 May 1999 09:06:27 +0000 (09:06 +0000)]
Update.

* stdlib/fpioconst.c (__tens): Export also for 64bit platforms.

25 years agoUpdate.
Ulrich Drepper [Thu, 6 May 1999 08:57:41 +0000 (08:57 +0000)]
Update.

1999-05-06  Thorsten Kukuk  <kukuk@suse.de>

* stdlib/fpioconst.c: Move #endif before end of struct.

25 years agoUpdate.
Ulrich Drepper [Wed, 5 May 1999 23:29:18 +0000 (23:29 +0000)]
Update.

* Versions.def (ld.so): Add GLIBC_2.1.1.
* elf/Makefile (routines): Add dl-origin.
(tests): Add origtest.  Add dependencies for the program.
* elf/Versions (ld.so) [GLIBC_2.1.1]: Add _dl_origin_path,
_dl_platformlen, _dl_dst_count and _dl_dst_substitute.
* elf/dl-deps.c (expand_dst): New macro.  Expand DSTs in filename.
(_dl_map_object_deps): Use expand_dst to expand DSTs in DT_NEEDED,
DT_AUXILIARY, and DT_FILTER filenames.
* elf/dl-load.c (expand_dynamic_string_token): Explode into
two functions and three macros.
(_dl_dst_count, _dl_dst_substitute): New functions.
* elf/dl-dst.h: New file.
* elf/dl-open.c (_dl_open): Take extra parameter with address of
caller.  Pass address in args structure.
(dl_open_worker): Recognize and expand DSTs in filename.
* elf/ldsodefs.h (_dl_open): Adapt prototype.
* elf/dlopen.c (dlopen_doit): Pass caller address to _dl_open.
(__dlopen_check): Pass caller address to dlopen_doit in args.
* elf/dlopendoit.c: Likewise.
* iconv/gconv_dl.c: Adapt call of _dl_open.
* nss/nsswitch.c: Likewise.
* elf/origtest.c: New file.
* sysdeps/generic/dl-origin.h: Moved to...
* sysdeps/generic/dl-origin.c: ...here.
* sysdeps/unix/sysv/linux/dl-origin.h: Moved to...
* sysdeps/unix/sysv/linux/dl-origin.c: ...here.

25 years agoUpdate.
Ulrich Drepper [Wed, 5 May 1999 17:08:26 +0000 (17:08 +0000)]
Update.

* stdio-common/_itoa.c (_itoa): Fix special 32bit platform case
with specific bases and only few bits set in second word.

25 years agoUpdate.
Ulrich Drepper [Wed, 5 May 1999 11:32:24 +0000 (11:32 +0000)]
Update.

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

* timezone/Makefile (install-others): Create target directory
before creating tzfiles.

25 years agoUpdate.
Ulrich Drepper [Wed, 5 May 1999 11:04:34 +0000 (11:04 +0000)]
Update.

1999-05-05  Thorsten Kukuk  <kukuk@suse.de>

* nis/nis_file.c (readColdStartFile): Allocate memory only after
the file is opened successfully.

* nis/nis_table.c: Fix some memory leaks.

25 years agoUpdate.
Ulrich Drepper [Tue, 4 May 1999 12:24:18 +0000 (12:24 +0000)]
Update.

* elf/dl-load.c (expand_dynamic_string_token): Rewrite to loose st
variable.

25 years agoUpdate.
Ulrich Drepper [Tue, 4 May 1999 01:48:08 +0000 (01:48 +0000)]
Update.

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

* elf/dl-load.c (expand_dynamic_string_token): Recognize { }
around DST.  Correctly ignore ORIGIN IN SUID binaries.

25 years agoUpdate.
Ulrich Drepper [Mon, 3 May 1999 23:49:46 +0000 (23:49 +0000)]
Update.

* sysdeps/generic/strtok_r.c: Use rawmemchr instead of strchr.
* sysdeps/generic/strtok.c: Likewise.

25 years agoUpdate.
Ulrich Drepper [Mon, 3 May 1999 23:44:29 +0000 (23:44 +0000)]
Update.

* string/tester.c: Add test of rawmemchr.

25 years agoUpdate.
Ulrich Drepper [Mon, 3 May 1999 22:05:54 +0000 (22:05 +0000)]
Update.

* sysdeps/i386/bits/select.h (__FD_ZERO): Remove memory output
specification.  It's not necessary.

25 years agoUpdate.
Ulrich Drepper [Mon, 3 May 1999 21:59:35 +0000 (21:59 +0000)]
Update.

* elf/Makefile (trusted-dirs.st): Use gen-trusted-dirs.awk.
* elf/gen-trusted-dirs.awk: New file.
* elf/dl-load.c (systems_dirs): Moved into file scope.  Initialize
from SYSTEM_DIRS macro.
(system_dirs_len): New variable.  Contains lengths of system_dirs
strings.
(fillin_rpath): Rewrite for systems_dirs being a simple string.
Improve string comparisons.  Change parameter trusted to be a flag.
Change all callers.
(_dt_init_paths): Improve using new format for system_dirs.

25 years agoUpdate.
Ulrich Drepper [Mon, 3 May 1999 18:16:18 +0000 (18:16 +0000)]
Update.

* elf/dl-load.c (expand_dynamic_string_token): Don't expand
$ORIGIN for SUID binaries.

25 years agoUpdate.
Ulrich Drepper [Mon, 3 May 1999 12:41:01 +0000 (12:41 +0000)]
Update.

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

* sysdeps/unix/sysv/linux/arm/Dist: Add sigrestorer.S.

25 years agoUpdate.
Ulrich Drepper [Mon, 3 May 1999 08:46:13 +0000 (08:46 +0000)]
Update.

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

* sunrpc/Makefile: Generate dependencies for all flavors of
librpcsvc objects.
(rpcgen-cmd): Pass -Y flag here and remove it from the macro
invocations.

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

* elf/dlopenold.c: Move #if down after includes to get
dependencies right.

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

* sysdeps/generic/bzero.c: Undefine __bzero.

25 years agoUpdate.
Ulrich Drepper [Sun, 2 May 1999 21:09:34 +0000 (21:09 +0000)]
Update.

* sysdeps/unix/sysv/linux/netax25/ax25.h: Update from kernel header.
* sysdeps/unix/sysv/linux/netrom/netrom.h: Likewise.
* sysdeps/unix/sysv/linux/netrose/rose.h: Likewise.
Patch by Craig Small <csmall@scooter.eye-net.com.au>.

25 years agoUpdate.
Ulrich Drepper [Sun, 2 May 1999 21:03:32 +0000 (21:03 +0000)]
Update.

* sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Change fourth
parameter to struct gaih_servtuple *.  Adapt appropriately.
(gaih_inet): Use alloca to allocate room for gaih_inet_serv calls.
This fixes a memory leak.
Reported by Mikolaj J. Habryn <dichro-glibcbug@rcpt.to>.

25 years agoUpdate.
Ulrich Drepper [Sun, 2 May 1999 19:00:43 +0000 (19:00 +0000)]
Update.

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

* sysdeps/unix/sysv/linux/sys/procfs.h: Remove greg_t, gregset_t,
and fpregset_t definition.  They are defined in ucontext.h.

25 years agoUpdate.
Ulrich Drepper [Sun, 2 May 1999 18:55:59 +0000 (18:55 +0000)]
Update.

1999-04-14  Scott Bambrough  <scottb@netwinder.org>

* sysdeps/unix/sysv/linux/arm/net/ethernet.h: struct ether_addr
and struct ether_header must be packed on the ARM.  The default
alignment constraints add padding to the end of the structures.

1999-04-14  Scott Bambrough  <scottb@netwinder.org>

* inet/arpa/tftp.h: struct tftphdr must be packed on the ARM.  The
default alignment constraints add padding to the end of the
structure and between members.

25 years agoUpdate.
Ulrich Drepper [Sun, 2 May 1999 18:29:49 +0000 (18:29 +0000)]
Update.

* sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use
_dl_cache_libcmp instead of strcmp.

25 years agoUpdate.
Ulrich Drepper [Sun, 2 May 1999 18:17:07 +0000 (18:17 +0000)]
Update.

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

* sysdeps/generic/glob.c (glob_in_dir): It's no error if opendir
fails on a file.
Reported by Sergei Ivanov <svivanov@pdmi.ras.ru> [PR libc/1032].

25 years agoUpdate.
Ulrich Drepper [Sun, 2 May 1999 17:20:24 +0000 (17:20 +0000)]
Update.

1998-03-30  Joel Klecker  <espy@debian.org>

* sysdeps/unix/sysv/linux/sparc/sparc32/Makefile
(sysdep-others,install-bin): Add lddlibc4.

25 years agoUpdate.
Ulrich Drepper [Sun, 2 May 1999 11:05:14 +0000 (11:05 +0000)]
Update.

1999-05-02  H.J. Lu  <hjl@gnu.org>

* timezone/zic.c (dolink): Remove the symlink destination first.

* catgets/open_catalog.c (__open_catalog): Set catalog->status
to "nonexisting" if failed to open the file.

25 years agoUpdate.
Ulrich Drepper [Sat, 1 May 1999 09:59:45 +0000 (09:59 +0000)]
Update.

* string/bits/string2.h: Only use __builtin_memset for egcs 1.1 and
gcc3.

25 years agoUpdate.
Ulrich Drepper [Sat, 1 May 1999 00:16:16 +0000 (00:16 +0000)]
Update.

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

* sysdeps/i386/i486/bits/string.h: Don't use and define __memset_gg.
Prevent warnings from multiplication with 0x01010101 by another cast.

25 years agoUpdate.
Ulrich Drepper [Fri, 30 Apr 1999 17:44:43 +0000 (17:44 +0000)]
Update.

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

* string/bits/string2.h (memset): Revert to previous version if
unaligned writes are not available.

1999-04-30  Ulrich Drepper  <drepper@cygnus.com>

* sysdeps/i386/i486/bits/string.h (__memset_gc): Help generating
better code in presence of the asm.

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

* stdlib/fmtmsg.c (keywords): Increase array size for faster
indexing.

* locale/localeinfo.h (_nl_category_names): Increase array element
size for faster indexing.
* locale/setlocale.c (_nl_category_names): Adjusted.

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

* iconv/gconv_conf.c (add_alias): Remove wrong cast.

25 years ago(__memset_gc): Help generating better code in presence of the asm.
Ulrich Drepper [Fri, 30 Apr 1999 17:37:52 +0000 (17:37 +0000)]
(__memset_gc): Help generating better code in presence of the asm.

25 years ago1999-05-01 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
Andreas Schwab [Fri, 30 Apr 1999 17:33:00 +0000 (17:33 +0000)]
1999-05-01  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

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

25 years agoNew file.
Andreas Schwab [Fri, 30 Apr 1999 17:27:14 +0000 (17:27 +0000)]
New file.

25 years agoUpdate.
Ulrich Drepper [Fri, 30 Apr 1999 17:12:16 +0000 (17:12 +0000)]
Update.

* string/tester.c (test_strchrnul): New function.
(test_memset): Test one more special case.

* sysdeps/i386/strchrnul.S: Fix bugs which lead to wrong results in

25 years agoUpdate.
Ulrich Drepper [Fri, 30 Apr 1999 16:53:27 +0000 (16:53 +0000)]
Update.

* sysdeps/i386/strchrnul.S: Fix bugs which let to wrong results in
25% of all cases.

25 years agoUpdate.
Ulrich Drepper [Fri, 30 Apr 1999 16:26:39 +0000 (16:26 +0000)]
Update.

* sysdeps/i386/i486/bits/string.h: Replace __uintXX_t types with
base types.

25 years agoUpdate.
Ulrich Drepper [Fri, 30 Apr 1999 15:48:19 +0000 (15:48 +0000)]
Update.

1999-04-30  Ulrich Drepper  <drepper@cygnus.com>

* string/bits/string2.h: Fix bugs I introduced in last change.

* sysdeps/i386/i486/bits/string.h (memcmp): Don't introduce partial
register stall.
Extend memset optimization.
Correct i686 version of memchr.

25 years agoFix bugs I introduced in last change.
Ulrich Drepper [Fri, 30 Apr 1999 15:43:09 +0000 (15:43 +0000)]
Fix bugs I introduced in last change.

25 years ago* sysdeps/i386/bzero.c: Add #undef __bzero.
Roland McGrath [Fri, 30 Apr 1999 14:38:02 +0000 (14:38 +0000)]
* sysdeps/i386/bzero.c: Add #undef __bzero.

25 years ago1999-04-30 Roland McGrath <roland@baalperazim.frob.com>
Roland McGrath [Fri, 30 Apr 1999 14:36:46 +0000 (14:36 +0000)]
1999-04-30  Roland McGrath  <roland@baalperazim.frob.com>

* sysdeps/i386/bzero.c: Add #undef __bzero.

25 years agoImprove last change a bit.
Ulrich Drepper [Fri, 30 Apr 1999 14:07:17 +0000 (14:07 +0000)]
Improve last change a bit.

25 years ago1999-04-30 Roland McGrath <roland@baalperazim.frob.com>
Roland McGrath [Fri, 30 Apr 1999 13:53:34 +0000 (13:53 +0000)]
1999-04-30  Roland McGrath  <roland@baalperazim.frob.com>

* hurd/hurdinit.c (_hurd_new_proc_init): Don't do initial SIGTRAP if
EXEC_SIGTRAP was set in the incoming exec flags--that indicates the
exec server simulated a SIGTRAP before we even started up, so gdb is
already happy.

25 years ago1999-04-30 Roland McGrath <roland@baalperazim.frob.com>
Roland McGrath [Fri, 30 Apr 1999 13:52:59 +0000 (13:52 +0000)]
1999-04-30  Roland McGrath  <roland@baalperazim.frob.com>

* hurd/hurdinit.c (_hurd_new_proc_init): Don't do initial SIGTRAP if
EXEC_SIGTRAP was set in the incoming exec flags--that indicates the
exec server simulated a SIGTRAP before we even started up, so gdb is
already happy.

25 years agoUpdate.
Ulrich Drepper [Fri, 30 Apr 1999 13:45:27 +0000 (13:45 +0000)]
Update.

1999-04-30  Ulrich Drepper  <drepper@cygnus.com>

* nss/digits_dots.c: Always initialize not_ok.

25 years agoUpdate.
Ulrich Drepper [Fri, 30 Apr 1999 09:36:37 +0000 (09:36 +0000)]
Update.

1999-04-30 09:02 -0400  Zack Weinberg  <zack@rabi.columbia.edu>

* string/bits/string2.h (memset): Avoid arithmetic overflow at
compile time, which produces obnoxious warnings.  If GCCv2 is
in use, map __bzero to __builtin_memset to enable that
optimization.

25 years agoUpdate.
Ulrich Drepper [Thu, 29 Apr 1999 18:28:07 +0000 (18:28 +0000)]
Update.

* string/bits/string2.h: Add more memset optimizations.

25 years agoUpdate.
Ulrich Drepper [Thu, 29 Apr 1999 18:20:05 +0000 (18:20 +0000)]
Update.

* resolv/inet_addr.c (inet_aton): Optimize switch statement away.