kopensolaris-gnu/glibc.git
24 years agoAdd *.mo
roland [Mon, 1 Jul 1996 23:03:12 +0000 (23:03 +0000)]
Add *.mo

24 years ago.
miles [Mon, 1 Jul 1996 22:37:26 +0000 (22:37 +0000)]
.

24 years ago(describe_number): Make I unsigned long.
miles [Mon, 1 Jul 1996 22:35:18 +0000 (22:35 +0000)]
(describe_number): Make I unsigned long.

24 years agoMon Jul 1 12:29:50 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Mon, 1 Jul 1996 22:16:40 +0000 (22:16 +0000)]
Mon Jul  1 12:29:50 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* nss/Makefile (databases): Change host to hosts.
* nss/host-lookup.c: Renamed to nss/hosts-lookup.c.

24 years agoFri Jun 28 16:53:01 1996 David Mosberger-Tang <davidm@azstarnet.com>
roland [Mon, 1 Jul 1996 22:16:38 +0000 (22:16 +0000)]
Fri Jun 28 16:53:01 1996  David Mosberger-Tang  <davidm@azstarnet.com>

* sunrpc/xdr.c (xdr_int, xdr_u_int): Use <limits.h> to test
determine what integer sizes we're dealing with.

24 years agoThu Jun 27 04:04:27 1996 David Mosberger-Tang <davidm@azstarnet.com>
roland [Mon, 1 Jul 1996 22:16:35 +0000 (22:16 +0000)]
Thu Jun 27 04:04:27 1996  David Mosberger-Tang  <davidm@azstarnet.com>

* configure.in (config_machine): Make ELF the default even for
Linux/Alpha unless a configuration of the form *-*-linux*ecoff
is specified.

24 years agoFri Jun 28 16:53:01 1996 David Mosberger-Tang <davidm@azstarnet.com>
roland [Mon, 1 Jul 1996 22:16:32 +0000 (22:16 +0000)]
Fri Jun 28 16:53:01 1996  David Mosberger-Tang  <davidm@azstarnet.com>

* sysdeps/unix/alpha/sysdep.h: Undo PIC-optimization of syscall
error handling.  It's safer that way.

24 years agoMon Jul 1 12:29:50 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Mon, 1 Jul 1996 22:16:30 +0000 (22:16 +0000)]
Mon Jul  1 12:29:50 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* nss/nsswitch.c (nss_parse_service_list): Use const for NAME.
Fri Jun 28 16:53:01 1996  David Mosberger-Tang  <davidm@azstarnet.com>

* nss/nsswitch.c (nss_lookup_function): Declare loadbase and ref
using ElfW() instead of Elf32_*.

24 years agoMon Jul 1 12:29:50 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Mon, 1 Jul 1996 22:16:28 +0000 (22:16 +0000)]
Mon Jul  1 12:29:50 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* nss/nss_files/files-parse.c (parse_list): Correct alignment fixup.
Fri Jun 28 07:27:10 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* nss/nss_files/files-hosts.c (ENTDATA): Define it.
* nss/nss_files/files-parse.c (struct parser_data): Define entdata
member only #ifdef ENTDATA.
(ENTDATA_DECL): New macro.
(LINE_PARSER): Use it for entdata decl.
(parse_list): Find the space for LIST from DATA->linebuffer instead of
from the input LINE, which might not be writable buffer space.
(LINE_PARSER): Use `parser_stclass' in place of `static inline'.
[ENTDATA] (parser_stclass): #define to `static inline'.
[!ENDATA] (parser_stclass): #define to empty.
[!ENDATA] (parse_line): #define to _nss_files_parse_ENTNAME; the
function is exported to -lnss_files users.

24 years agoFri Jun 28 16:53:01 1996 David Mosberger-Tang <davidm@azstarnet.com>
roland [Mon, 1 Jul 1996 22:16:26 +0000 (22:16 +0000)]
Fri Jun 28 16:53:01 1996  David Mosberger-Tang  <davidm@azstarnet.com>

* resolv/res_hconf.c (strndup): Remove function.

24 years agoFri Jun 28 07:27:10 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Mon, 1 Jul 1996 22:16:23 +0000 (22:16 +0000)]
Fri Jun 28 07:27:10 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* nss/nss_files/files-hosts.c (ENTDATA): Define it.
* nss/nss_files/files-parse.c (struct parser_data): Define entdata
member only #ifdef ENTDATA.
(ENTDATA_DECL): New macro.
(LINE_PARSER): Use it for entdata decl.
(parse_list): Find the space for LIST from DATA->linebuffer instead of
from the input LINE, which might not be writable buffer space.
(LINE_PARSER): Use `parser_stclass' in place of `static inline'.
[ENTDATA] (parser_stclass): #define to `static inline'.
[!ENDATA] (parser_stclass): #define to empty.
[!ENDATA] (parse_line): #define to _nss_files_parse_ENTNAME; the
function is exported to -lnss_files users.

24 years agoFri Jun 28 16:53:01 1996 David Mosberger-Tang <davidm@azstarnet.com>
roland [Mon, 1 Jul 1996 22:16:22 +0000 (22:16 +0000)]
Fri Jun 28 16:53:01 1996  David Mosberger-Tang  <davidm@azstarnet.com>

* sysdeps/alpha/dl-machine.h (elf_alpha_fix_plt): Fix
  typo/extraneous whitespace.

24 years agoFri Jun 28 16:53:01 1996 David Mosberger-Tang <davidm@azstarnet.com>
roland [Mon, 1 Jul 1996 22:16:16 +0000 (22:16 +0000)]
Fri Jun 28 16:53:01 1996  David Mosberger-Tang  <davidm@azstarnet.com>

* sysdeps/unix/sysv/linux/alpha/init-first.h,
  sysdeps/unix/sysv/linux/m68k/init-first.h,
  sysdeps/unix/sysv/linux/i386/init-first.h: New files.
* sysdeps/unix/sysv/linux/init-first.c: Use platform-dependent
  init-first.h to make abstract machine dependent parts of
initialization.

24 years agoMon Jul 1 12:29:50 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Mon, 1 Jul 1996 22:16:13 +0000 (22:16 +0000)]
Mon Jul  1 12:29:50 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* string/string.h (strndupa): Pass missing arg to strnlen.

24 years agoFri Jun 28 16:53:01 1996 David Mosberger-Tang <davidm@azstarnet.com>
roland [Mon, 1 Jul 1996 22:16:11 +0000 (22:16 +0000)]
Fri Jun 28 16:53:01 1996  David Mosberger-Tang  <davidm@azstarnet.com>

* sysdeps/unix/alpha/sysdep.S: Make ldgp part of the prologue.
Fix by Richard Henderson.

24 years agoMon Jul 1 12:29:50 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Mon, 1 Jul 1996 22:16:05 +0000 (22:16 +0000)]
Mon Jul  1 12:29:50 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* inet/Makefile (routines): Change getnetbypt to getnetbyad.
* inet/getnetbypt_r.c: Renamed to ...
* inet/getnetbyad_r.c: this; fixed function name.
* inet/getnetbypt.c: Renamed to ...
* inet/getnetbyad.c: this; fixed function name.

24 years ago.
miles [Mon, 1 Jul 1996 19:33:30 +0000 (19:33 +0000)]
.

24 years agoTypo: sizeof (utmp) --> sizeof (struct utmp)
miles [Mon, 1 Jul 1996 19:28:10 +0000 (19:28 +0000)]
Typo: sizeof (utmp) --> sizeof (struct utmp)

24 years ago(pututline_r): If not located after any entry don't use UTMP_DATA->ubuf, and
miles [Mon, 1 Jul 1996 19:19:08 +0000 (19:19 +0000)]
(pututline_r): If not located after any entry don't use UTMP_DATA->ubuf, and
  seek to the end before adding.  Lock the file before stating.

24 years agoFri Jun 28 15:46:02 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu>
roland [Mon, 1 Jul 1996 18:10:03 +0000 (18:10 +0000)]
Fri Jun 28 15:46:02 1996  Michael I. Bushnell, p/BSG  <mib@gnu.ai.mit.edu>

* hurd/hurdsig.c (_hurd_internal_post_signal): In pending signal
check for signal zero, repair logical sense of test by
parenthesizing correctly.

24 years ago.
roland [Mon, 1 Jul 1996 18:00:14 +0000 (18:00 +0000)]
.

24 years agoRegenerated: autoconf configure.in
roland [Mon, 1 Jul 1996 17:51:09 +0000 (17:51 +0000)]
Regenerated: autoconf  configure.in

24 years agoSat Jun 29 01:08:35 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
roland [Mon, 1 Jul 1996 16:34:14 +0000 (16:34 +0000)]
Sat Jun 29 01:08:35 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* grp/getgrgid_r.c (LOOKUP_TYPE): Define to struct group, not
struct passwd.

24 years agoSat Jun 29 00:02:11 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
roland [Mon, 1 Jul 1996 16:32:03 +0000 (16:32 +0000)]
Sat Jun 29 00:02:11 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* string/strndup.c (strndup): Properly terminate the new
string; add missing second argument to strnlen.
* string/string.h (strndupa): Likewise.

24 years ago. libc-960630
miles [Sat, 29 Jun 1996 03:40:40 +0000 (03:40 +0000)]
.

24 years ago(login): Initialize DATA so that setutent_r will actually do something.
miles [Sat, 29 Jun 1996 03:37:49 +0000 (03:37 +0000)]
(login): Initialize DATA so that setutent_r will actually do something.

24 years ago(_hurd_internal_post_signal): In check-for-pending signals code,
mib [Fri, 28 Jun 1996 20:29:45 +0000 (20:29 +0000)]
(_hurd_internal_post_signal): In check-for-pending signals code,
release _hurd_siglock before jumping to deliver_pending.

24 years ago(_hurd_internal_post_signal): In pending signal check for signal zero,
mib [Fri, 28 Jun 1996 19:44:50 +0000 (19:44 +0000)]
(_hurd_internal_post_signal): In pending signal check for signal zero,
repair logical sense of test by parethisizing correctly.

24 years ago(mips:*:*:UMIPS): Fix typo in last change.
kenner [Fri, 28 Jun 1996 17:28:58 +0000 (17:28 +0000)]
(mips:*:*:UMIPS): Fix typo in last change.

24 years ago.
roland [Fri, 28 Jun 1996 11:42:05 +0000 (11:42 +0000)]
.

24 years agoFri Jun 28 07:27:10 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Fri, 28 Jun 1996 11:41:47 +0000 (11:41 +0000)]
Fri Jun 28 07:27:10 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* string/strndup.c (strndup): Always terminate the string.
* string/string.h (strndupa): Likewise.

24 years agoThu Jun 27 14:52:30 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
roland [Fri, 28 Jun 1996 09:59:59 +0000 (09:59 +0000)]
Thu Jun 27 14:52:30 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* rpm/Makefile (headers, install-lib, install-lib.so,
versioned, install-bin, install-sbin, install-data,
install-others): Add $(-VARIABLE).

24 years agoupdates from uli libc-960628
roland [Fri, 28 Jun 1996 08:59:50 +0000 (08:59 +0000)]
updates from uli

24 years ago.
roland [Fri, 28 Jun 1996 08:56:59 +0000 (08:56 +0000)]
.

24 years agoThu Jun 27 02:49:28 1996 Ulrich Drepper <drepper@cygnus.com>
roland [Fri, 28 Jun 1996 08:56:35 +0000 (08:56 +0000)]
Thu Jun 27 02:49:28 1996  Ulrich Drepper  <drepper@cygnus.com>

* sysdeps/generic/netinet/if_ether.h: New file.  Generic declaration
of `struct ether_addr'.
* sysdeps/unix/sysv/linux/netinet/if_ether.h: New file.  Linux specific
declaration of `struct ether_addr'.

24 years agoFri Jun 28 02:41:08 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Fri, 28 Jun 1996 08:56:31 +0000 (08:56 +0000)]
Fri Jun 28 02:41:08 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* string/Makefile (routines): Add strndup.
* string/strndup.c: New file.
* string/string.h: Declare strndup.
(strndupa): New macro.

24 years agoThu Jun 27 02:49:28 1996 Ulrich Drepper <drepper@cygnus.com>
roland [Fri, 28 Jun 1996 08:56:28 +0000 (08:56 +0000)]
Thu Jun 27 02:49:28 1996  Ulrich Drepper  <drepper@cygnus.com>

* sunrpc/xdr.c (xdr_u_int): Avoid bogus call to
unexpected_sizes_in_xdr_u_int.

24 years agoThu Jun 27 23:43:22 1996 Richard Henderson <rth@tamu.edu>
roland [Fri, 28 Jun 1996 08:56:24 +0000 (08:56 +0000)]
Thu Jun 27 23:43:22 1996  Richard Henderson  <rth@tamu.edu>

* sysdeps/alpha/dl-machine.h (elf_machine_rela):  The Alpha's
address-of operation and plt format conspire to require all
dynamic relocs to be resolved to actual symbols not plt entries.

24 years agoFri Jun 28 02:41:08 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Fri, 28 Jun 1996 08:56:21 +0000 (08:56 +0000)]
Fri Jun 28 02:41:08 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* string/string.h: Declare __strdup.
* string/strdup.c: Deansideclized.  Define __ name and weak alias.

24 years agoThu Jun 27 02:49:28 1996 Ulrich Drepper <drepper@cygnus.com>
roland [Fri, 28 Jun 1996 08:56:18 +0000 (08:56 +0000)]
Thu Jun 27 02:49:28 1996  Ulrich Drepper  <drepper@cygnus.com>

* catgets/gencat.c: Add casts to avoid signed<->unsigned warnings.

24 years agoFri Jun 28 02:41:08 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Fri, 28 Jun 1996 08:56:16 +0000 (08:56 +0000)]
Fri Jun 28 02:41:08 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* sysdeps/unix/sysv/linux/syscalls.list (create_module, delete_module,
init_module, klogctl): Use EXTRA in the "caller" column so these get
added to unix-extra-syscalls and thus compiled in misc.

24 years agoThu Jun 27 02:49:28 1996 Ulrich Drepper <drepper@cygnus.com>
roland [Fri, 28 Jun 1996 08:56:14 +0000 (08:56 +0000)]
Thu Jun 27 02:49:28 1996  Ulrich Drepper  <drepper@cygnus.com>

* wcsmbs/mbsinit.c: Prepare for PS being NULL.

24 years agoThu Jun 27 02:49:28 1996 Ulrich Drepper <drepper@cygnus.com>
roland [Fri, 28 Jun 1996 08:56:12 +0000 (08:56 +0000)]
Thu Jun 27 02:49:28 1996  Ulrich Drepper  <drepper@cygnus.com>

* nss/nss_files/files-ethers.c: New file.  Implementation of
Ethernet adress<->hostname lookup through files interface.

24 years agoFri Jun 28 02:41:08 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Fri, 28 Jun 1996 08:56:10 +0000 (08:56 +0000)]
Fri Jun 28 02:41:08 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* string/Makefile (routines): Add strndup.
* string/strndup.c: New file.
* string/string.h: Declare strndup.
(strndupa): New macro.
* string/string.h: Declare __strdup.
* string/strdup.c: Deansideclized.  Define __ name and weak alias.
* string/string.h: Don't define memccpy as macro for [__OPTIMIZE__].

24 years agoThu Jun 27 02:49:28 1996 Ulrich Drepper <drepper@cygnus.com>
roland [Fri, 28 Jun 1996 08:56:06 +0000 (08:56 +0000)]
Thu Jun 27 02:49:28 1996  Ulrich Drepper  <drepper@cygnus.com>

* wcsmbs/mbrtowc.c: Handle case where argument PS is NULL.
* wcsmbs/mbsrtowcs.c: Ditto.
* wcsmbs/wcrtomb.c: Ditto.
* wcsmbs/wcsrtombs.c: Ditto.

24 years agoFri Jun 28 02:41:08 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Fri, 28 Jun 1996 08:56:04 +0000 (08:56 +0000)]
Fri Jun 28 02:41:08 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* nss/Makefile (databases): New variable.
(routines, libnss_files-routines): Use it.
(subdir-dirs): Compute from $(services).
Thu Jun 27 02:49:28 1996  Ulrich Drepper  <drepper@cygnus.com>

* inet/Makefile (headers): Add netinet/ether.h and netinet/if_ether.h.
(routines): Add ether_aton, ether_aton_r, ether_hton, ether_line,
ether_ntoa, ether_ntoa_r, and ether_ntoh.
* inet/ether_aton.c, inet/ether_aton_r.c, inet/ether_hton.c,
inet/ether_line.c, inet/ether_ntoa.c, inet/ether_ntoa_r.c,
inet/ether_ntoh.c: New files.  Implementation of functions to
handle Ethernet address to host mapping.
* inet/netinet/ether.h: New file.  Declare ether_* functions.
* netinet/ether.h: Wrapper around inet/netinet/ether.h for glibc
compilation.
* nss/ethers-lookup.c: New file.  Lookup function for ethers database.
* nss/Makefile (routines): Add ethers-lookup.
(libnss_files-routines): Add files-ethers.

24 years agoThu Jun 27 02:49:28 1996 Ulrich Drepper <drepper@cygnus.com>
roland [Fri, 28 Jun 1996 08:56:03 +0000 (08:56 +0000)]
Thu Jun 27 02:49:28 1996  Ulrich Drepper  <drepper@cygnus.com>

* nss/nss_files/files-XXX.c (internal_endent): Don't reset
KEEP_STREAM every time called.
(_nss_files_end): Reset KEEP_STREAM here instead.
(internal_getent): If STREAM == NULL try to open instead of
signalling error.
Use cast to prevent warning.
Terminate read line in case the buffer is too small.

24 years agoThu Jun 27 02:49:28 1996 Ulrich Drepper <drepper@cygnus.com>
roland [Fri, 28 Jun 1996 08:55:50 +0000 (08:55 +0000)]
Thu Jun 27 02:49:28 1996  Ulrich Drepper  <drepper@cygnus.com>

* inet/Makefile (headers): Add netinet/ether.h and netinet/if_ether.h.
(routines): Add ether_aton, ether_aton_r, ether_hton, ether_line,
ether_ntoa, ether_ntoa_r, and ether_ntoh.
* inet/ether_aton.c, inet/ether_aton_r.c, inet/ether_hton.c,
inet/ether_line.c, inet/ether_ntoa.c, inet/ether_ntoa_r.c,
inet/ether_ntoh.c: New files.  Implementation of functions to
handle Ethernet address to host mapping.
* inet/netinet/ether.h: New file.  Declare ether_* functions.
* netinet/ether.h: Wrapper around inet/netinet/ether.h for glibc
compilation.
* nss/ethers-lookup.c: New file.  Lookup function for ethers database.
* nss/Makefile (routines): Add ethers-lookup.
(libnss_files-routines): Add files-ethers.

24 years agoThu Jun 27 02:49:28 1996 Ulrich Drepper <drepper@cygnus.com>
roland [Fri, 28 Jun 1996 08:55:47 +0000 (08:55 +0000)]
Thu Jun 27 02:49:28 1996  Ulrich Drepper  <drepper@cygnus.com>

* nss/getXXent_r.c: Don't define set*ent and end*ent function
with _r suffix.

24 years agoThu Jun 27 02:49:28 1996 Ulrich Drepper <drepper@cygnus.com>
roland [Fri, 28 Jun 1996 08:55:46 +0000 (08:55 +0000)]
Thu Jun 27 02:49:28 1996  Ulrich Drepper  <drepper@cygnus.com>

* grp/initgroups.c (initgroups): De-ansi-fy.
Move declaration of NGROUPS and GROUPS outside #if so that
the code compiles for NGROUPS_MAX != 0.

24 years agoThu Jun 27 02:49:28 1996 Ulrich Drepper <drepper@cygnus.com>
roland [Fri, 28 Jun 1996 08:55:40 +0000 (08:55 +0000)]
Thu Jun 27 02:49:28 1996  Ulrich Drepper  <drepper@cygnus.com>

* stdlib/mbstowcs.c: Define based on mbsrtowcs().
* stdlib/mbtowc.c: Define based on mbrtowc().
* stdlib/wcstombs.c: Define based on wcsrtombs().
* stdlib/wctomb.c: Define based on wcrtomb().

24 years agoThu Jun 27 23:43:22 1996 Richard Henderson <rth@tamu.edu>
roland [Fri, 28 Jun 1996 06:39:22 +0000 (06:39 +0000)]
Thu Jun 27 23:43:22 1996  Richard Henderson  <rth@tamu.edu>

* sysdeps/alpha/dl-machine.h (elf_machine_rela):  The Alpha's
address-of operation and plt format conspire to require all
dynamic relocs to be resolved to actual symbols not plt entries.

24 years ago. libc-960627
miles [Wed, 26 Jun 1996 21:07:21 +0000 (21:07 +0000)]
.

24 years ago<fcntl.h>: New include.
miles [Wed, 26 Jun 1996 21:05:35 +0000 (21:05 +0000)]
<fcntl.h>: New include.

24 years ago(_hurd_set_host_config):
miles [Wed, 26 Jun 1996 21:05:12 +0000 (21:05 +0000)]
(_hurd_set_host_config):
  Include NEW in args to dir_link. Return NWROTE, not NREAD.
<fcntl.h>: New include.

24 years ago.
miles [Wed, 26 Jun 1996 17:46:38 +0000 (17:46 +0000)]
.

24 years ago(_hurd_canonicalize_directory_name_internal):
miles [Wed, 26 Jun 1996 17:44:44 +0000 (17:44 +0000)]
(_hurd_canonicalize_directory_name_internal):
  Don't deallocate DOTID & DOTDEVID until we're finished with them (we need
    to keep them at least until we've fetched the next level of id ports, so
    that mach will be able to use the same name if they're the same).
  Add inner_errlose: label, which deallocates DOTID & DOTDEVID and jumps to
    errlose, for those places where such cleanup is needed.

24 years ago.
roland [Wed, 26 Jun 1996 15:46:01 +0000 (15:46 +0000)]
.

24 years agoWed Jun 26 01:58:49 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Wed, 26 Jun 1996 15:29:33 +0000 (15:29 +0000)]
Wed Jun 26 01:58:49 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* nss/network-lookup.c (DEFAULT_CONFIG): New macro.
* nss/host-lookup.c (DEFAULT_CONFIG): New macro.

24 years agoWed Jun 26 01:58:49 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Wed, 26 Jun 1996 15:29:26 +0000 (15:29 +0000)]
Wed Jun 26 01:58:49 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

Move DB code into separate -ldb library.
* db/Makefile (extra-libs): New variable, list libdb.
(routines): Renamed to libdb-routines.
* shlib-versions: Add libdb=2.

24 years agoWed Jun 26 01:58:49 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Wed, 26 Jun 1996 15:29:23 +0000 (15:29 +0000)]
Wed Jun 26 01:58:49 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* nss/nsswitch.c (nss_parse_service_list): Use __strncasecmp instead
of strncasecmp.  Extend syntax to grok [!foo=bar].
* nss/nsswitch.c (nss_parse_file): Call __getline, not getline.
(service_alias): Variable removed.
(nss_parse_service_list): New function, broken out of nss_getline.
Remove alias conversion; we will just use symlinks.
(__nss_database_lookup): Take new string arg DEFCONFIG.
If no entry exists, make one with service list parsed from that.
* nss/nsswitch.h: Update protocol for __nss_database_lookup.
* nss/XXX-lookup.c (DEFAULT_CONFIG): New macro, set to 0 if undefined.
(DB_LOOKUP_FCT): Pass it to _nss_database_lookup.

24 years agoWed Jun 26 01:58:49 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Wed, 26 Jun 1996 15:29:16 +0000 (15:29 +0000)]
Wed Jun 26 01:58:49 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* sysdeps/generic/strncase.c: Define __strncasecmp with strncasecmp as
weak alias.
* string/string.h: Declare __strncasecmp.

24 years agoWed Jun 26 01:58:49 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Wed, 26 Jun 1996 15:29:12 +0000 (15:29 +0000)]
Wed Jun 26 01:58:49 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* nss/nss_files/files-parse.c (parse_list): Count null in EOL calc.

24 years agoWed Jun 26 01:58:49 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Wed, 26 Jun 1996 15:29:07 +0000 (15:29 +0000)]
Wed Jun 26 01:58:49 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* nss/nsswitch.c (nss_parse_file): Call __getline, not getline.
(service_alias): Variable removed.
(nss_parse_service_list): New function, broken out of nss_getline.
Remove alias conversion; we will just use symlinks.
(__nss_database_lookup): Take new string arg DEFCONFIG.
If no entry exists, make one with service list parsed from that.
* nss/nsswitch.h: Update protocol for __nss_database_lookup.
* nss/XXX-lookup.c (DEFAULT_CONFIG): New macro, set to 0 if undefined.
(DB_LOOKUP_FCT): Pass it to _nss_database_lookup.

24 years agouseless
roland [Wed, 26 Jun 1996 12:52:40 +0000 (12:52 +0000)]
useless

24 years agoWed Jun 26 01:58:49 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> libc-960626
roland [Wed, 26 Jun 1996 06:13:43 +0000 (06:13 +0000)]
Wed Jun 26 01:58:49 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* grp/initgroups.c: Rewritten using getgrent.  Handle unlimited group
list size.

24 years agoWed Jun 26 01:56:50 1996 Ulrich Drepper <drepper@cygnus.com>
roland [Wed, 26 Jun 1996 06:13:40 +0000 (06:13 +0000)]
Wed Jun 26 01:56:50 1996  Ulrich Drepper  <drepper@cygnus.com>

* locale/programs/locale.c (long_options): Short form of
--version option is `-V'.
(main): Recognize `-V' as option, not `-v'.
Call `usage' instead of printing error message for illegal
option.
(usage): Document `-V'.

24 years agoWed Jun 26 01:58:49 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Wed, 26 Jun 1996 06:13:37 +0000 (06:13 +0000)]
Wed Jun 26 01:58:49 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* sunrpc/xdr.c (xdr_int): #if 0 out unresolved references in dead code.

24 years ago.
miles [Tue, 25 Jun 1996 21:50:49 +0000 (21:50 +0000)]
.

24 years ago(_hurd_canonicalize_directory_name_internal): Initialize PARENT to
miles [Tue, 25 Jun 1996 21:48:49 +0000 (21:48 +0000)]
(_hurd_canonicalize_directory_name_internal): Initialize PARENT to
  THISDIR, and don't ever deallocate PARENT unless it != THISDIR.

24 years ago.
roland [Tue, 25 Jun 1996 18:22:06 +0000 (18:22 +0000)]
.

24 years agoTue Jun 25 10:58:23 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Tue, 25 Jun 1996 18:21:23 +0000 (18:21 +0000)]
Tue Jun 25 10:58:23 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* elf/dlsym.c (dlsym): Search the global scope if HANDLE is null.

24 years agoTue Jun 25 10:58:23 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Tue, 25 Jun 1996 18:21:21 +0000 (18:21 +0000)]
Tue Jun 25 10:58:23 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* inet/getrpcent.c: Fix macros.
* inet/getrpcent_r.c: Fix macros.

24 years agoTue Jun 25 10:58:23 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Tue, 25 Jun 1996 18:21:18 +0000 (18:21 +0000)]
Tue Jun 25 10:58:23 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* elf/dl-load.c (_dl_map_object_from_fd): Initialize L.

24 years ago.
roland [Tue, 25 Jun 1996 13:56:54 +0000 (13:56 +0000)]
.

24 years agoTue Jun 25 09:55:47 1996 David Mosberger-Tang <davidm@AZStarNet.com>
roland [Tue, 25 Jun 1996 13:56:31 +0000 (13:56 +0000)]
Tue Jun 25 09:55:47 1996  David Mosberger-Tang  <davidm@AZStarNet.com>

* catgets/gencat.c (write_out): Use %Zu to print variables of type
  size_t.
* resolv/res_debug.c (__p_rr): Print size_t variable as %lu and
cast it to (unsigned long) to make it work both on 32 and 64
bit architectures.

24 years agoSat Jun 22 13:05:25 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
roland [Tue, 25 Jun 1996 13:54:36 +0000 (13:54 +0000)]
Sat Jun 22 13:05:25 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* Makerules (distinfo-vars): Assign subdir directly so that `ifdef
subdir' works.

24 years agoSat Jun 22 13:05:25 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
roland [Tue, 25 Jun 1996 13:54:33 +0000 (13:54 +0000)]
Sat Jun 22 13:05:25 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* locale/Makefile (distribute): Add `programs/' prefix to all
files in that directory.

24 years agoSat Jun 22 13:05:25 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
roland [Tue, 25 Jun 1996 13:54:31 +0000 (13:54 +0000)]
Sat Jun 22 13:05:25 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* MakeTAGS (sources, headers): Make them simply expanded variables
so that all-dist is expanded before it is changed.

24 years ago.
roland [Tue, 25 Jun 1996 13:49:53 +0000 (13:49 +0000)]
.

24 years agoTue Jun 25 02:59:11 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Tue, 25 Jun 1996 13:49:29 +0000 (13:49 +0000)]
Tue Jun 25 02:59:11 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* Make-dist (dist): Don't depend on crypt tar file.  Remove that rule.
* Makefile (subdirs): Remove crypt.
* crypt: Directory removed.  It will be made an independent library
distribution.

24 years ago.
roland [Tue, 25 Jun 1996 13:46:05 +0000 (13:46 +0000)]
.

24 years agoTue Jun 25 02:59:11 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Tue, 25 Jun 1996 13:44:56 +0000 (13:44 +0000)]
Tue Jun 25 02:59:11 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* Makefile (subdirs): Remove crypt.
* crypt: Directory removed.  It will be made an independent library
distribution.
* Makefile (distribute): Add rpm/{Makefile,teplate,rpmrc}.

24 years ago.
roland [Tue, 25 Jun 1996 13:40:47 +0000 (13:40 +0000)]
.

24 years agoTue Jun 25 02:59:11 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Tue, 25 Jun 1996 13:40:19 +0000 (13:40 +0000)]
Tue Jun 25 02:59:11 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* inet/getrpcent_r.c (DATABASE_NAME): New macro.

24 years ago.
roland [Tue, 25 Jun 1996 12:13:01 +0000 (12:13 +0000)]
.

24 years agoTue Jun 25 02:59:11 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Tue, 25 Jun 1996 12:12:36 +0000 (12:12 +0000)]
Tue Jun 25 02:59:11 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* inet/getrpcbynumber.c (BUFLEN): New macro.

24 years agoTue Jun 25 02:59:11 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Tue, 25 Jun 1996 12:12:32 +0000 (12:12 +0000)]
Tue Jun 25 02:59:11 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* configure.in (--no-whole-archive check): Remove backslashes in cmd.

24 years agoRegenerated: autoconf configure.in
roland [Tue, 25 Jun 1996 12:12:14 +0000 (12:12 +0000)]
Regenerated: autoconf  configure.in

24 years ago.
roland [Tue, 25 Jun 1996 11:59:42 +0000 (11:59 +0000)]
.

24 years agoTue Jun 25 02:59:11 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Tue, 25 Jun 1996 11:59:19 +0000 (11:59 +0000)]
Tue Jun 25 02:59:11 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* elf/dl-load.c (_dl_map_object): Fix typo in last change.

24 years agoTue Jun 25 02:59:11 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Tue, 25 Jun 1996 11:59:13 +0000 (11:59 +0000)]
Tue Jun 25 02:59:11 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* Makefile (headers): Add libc-lock.h.
* sysdeps/stub/libc-lock.h: New file.

24 years agoTue Jun 25 02:59:11 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Tue, 25 Jun 1996 11:59:09 +0000 (11:59 +0000)]
Tue Jun 25 02:59:11 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* inet/getrpcbynumber.c: Remove _r typo.

24 years ago.
roland [Tue, 25 Jun 1996 10:52:53 +0000 (10:52 +0000)]
.

24 years agoSun Jun 23 19:42:05 1996 Ulrich Drepper <drepper@cygnus.com>
roland [Tue, 25 Jun 1996 10:52:26 +0000 (10:52 +0000)]
Sun Jun 23 19:42:05 1996  Ulrich Drepper  <drepper@cygnus.com>

* resolv/Makefile (distribute): Remove res_hconf.h; add mapv4v6addr.h
and mapv4v6hostent.h.
(routines): Move res* and gethnamaddr into libresolv-routines.
(libresolv-routines): New variable, put them there.
(extra-libs): New variable, list libresolv.
(CPPFLAGS): Add -D for get*by* to res_get*by*.

24 years agonote new malloc hacks
roland [Tue, 25 Jun 1996 10:46:28 +0000 (10:46 +0000)]
note new malloc hacks

24 years ago.
roland [Tue, 25 Jun 1996 10:20:09 +0000 (10:20 +0000)]
.

24 years agoTue Jun 25 02:59:11 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Tue, 25 Jun 1996 10:19:48 +0000 (10:19 +0000)]
Tue Jun 25 02:59:11 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* nss/nsswitch.c (__nss_database_lookup): If nsswitch.conf is missing
or doesn't mention DATABASE, use an internal default equivalent to
"DATABASE: compat [NOTFOUND=return] dns [NOTFOUND=return] files".
(nss_lookup_function): Call nss_new_service as needed.
(nss_parse_file): Don't bother calling nss_new_service here.

24 years agoTue Jun 25 02:59:11 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Tue, 25 Jun 1996 10:19:44 +0000 (10:19 +0000)]
Tue Jun 25 02:59:11 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* grp/fgetgrent.c (LINE_PARSER): Pass zero SWALLOW arg for fields.
* pwd/fgetpwent.c: Likewise.

24 years agoTue Jun 25 02:59:11 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Tue, 25 Jun 1996 10:19:42 +0000 (10:19 +0000)]
Tue Jun 25 02:59:11 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* nss/nss_files/files-parse.c (parse_list): Reset ELT for elements
after the first!