Miles Bader [Sat, 29 Jun 1996 03:40:40 +0000 (29 03:40 +0000)]
.
Miles Bader [Sat, 29 Jun 1996 03:37:49 +0000 (29 03:37 +0000)]
(login): Initialize DATA so that setutent_r will actually do something.
Michael I. Bushnell [Fri, 28 Jun 1996 20:29:45 +0000 (28 20:29 +0000)]
(_hurd_internal_post_signal): In check-for-pending signals code,
release _hurd_siglock before jumping to deliver_pending.
Michael I. Bushnell [Fri, 28 Jun 1996 19:44:50 +0000 (28 19:44 +0000)]
(_hurd_internal_post_signal): In pending signal check for signal zero,
repair logical sense of test by parethisizing correctly.
Richard Kenner [Fri, 28 Jun 1996 17:28:58 +0000 (28 17:28 +0000)]
(mips:*:*:UMIPS): Fix typo in last change.
Roland McGrath [Fri, 28 Jun 1996 11:42:05 +0000 (28 11:42 +0000)]
.
Roland McGrath [Fri, 28 Jun 1996 11:41:48 +0000 (28 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.
Roland McGrath [Fri, 28 Jun 1996 09:59:59 +0000 (28 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).
Roland McGrath [Fri, 28 Jun 1996 08:59:50 +0000 (28 08:59 +0000)]
updates from uli
Roland McGrath [Fri, 28 Jun 1996 08:56:59 +0000 (28 08:56 +0000)]
.
Roland McGrath [Fri, 28 Jun 1996 08:56:37 +0000 (28 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'.
Roland McGrath [Fri, 28 Jun 1996 08:56:32 +0000 (28 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.
Roland McGrath [Fri, 28 Jun 1996 08:56:28 +0000 (28 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.
Roland McGrath [Fri, 28 Jun 1996 08:56:24 +0000 (28 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.
Roland McGrath [Fri, 28 Jun 1996 08:56:21 +0000 (28 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.
Roland McGrath [Fri, 28 Jun 1996 08:56:18 +0000 (28 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.
Roland McGrath [Fri, 28 Jun 1996 08:56:16 +0000 (28 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.
Roland McGrath [Fri, 28 Jun 1996 08:56:14 +0000 (28 08:56 +0000)]
Thu Jun 27 02:49:28 1996 Ulrich Drepper <drepper@cygnus.com>
* wcsmbs/mbsinit.c: Prepare for PS being NULL.
Roland McGrath [Fri, 28 Jun 1996 08:56:12 +0000 (28 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.
Roland McGrath [Fri, 28 Jun 1996 08:56:10 +0000 (28 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__].
Roland McGrath [Fri, 28 Jun 1996 08:56:08 +0000 (28 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.
Roland McGrath [Fri, 28 Jun 1996 08:56:04 +0000 (28 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.
Roland McGrath [Fri, 28 Jun 1996 08:56:03 +0000 (28 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.
Roland McGrath [Fri, 28 Jun 1996 08:56:00 +0000 (28 08:56 +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.
Roland McGrath [Fri, 28 Jun 1996 08:55:47 +0000 (28 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.
Roland McGrath [Fri, 28 Jun 1996 08:55:46 +0000 (28 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.
Roland McGrath [Fri, 28 Jun 1996 08:55:43 +0000 (28 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().
Roland McGrath [Fri, 28 Jun 1996 06:39:22 +0000 (28 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.
Miles Bader [Wed, 26 Jun 1996 21:07:21 +0000 (26 21:07 +0000)]
.
Miles Bader [Wed, 26 Jun 1996 21:05:35 +0000 (26 21:05 +0000)]
<fcntl.h>: New include.
Miles Bader [Wed, 26 Jun 1996 21:05:12 +0000 (26 21:05 +0000)]
(_hurd_set_host_config):
Include NEW in args to dir_link. Return NWROTE, not NREAD.
<fcntl.h>: New include.
Miles Bader [Wed, 26 Jun 1996 17:46:38 +0000 (26 17:46 +0000)]
.
Miles Bader [Wed, 26 Jun 1996 17:44:44 +0000 (26 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.
Roland McGrath [Wed, 26 Jun 1996 15:46:01 +0000 (26 15:46 +0000)]
.
Roland McGrath [Wed, 26 Jun 1996 15:29:34 +0000 (26 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.
Roland McGrath [Wed, 26 Jun 1996 15:29:29 +0000 (26 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.
Roland McGrath [Wed, 26 Jun 1996 15:29:23 +0000 (26 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.
Roland McGrath [Wed, 26 Jun 1996 15:29:18 +0000 (26 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.
Roland McGrath [Wed, 26 Jun 1996 15:29:12 +0000 (26 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.
Roland McGrath [Wed, 26 Jun 1996 15:29:08 +0000 (26 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.
Roland McGrath [Wed, 26 Jun 1996 12:52:40 +0000 (26 12:52 +0000)]
useless
Roland McGrath [Wed, 26 Jun 1996 06:13:43 +0000 (26 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.
Roland McGrath [Wed, 26 Jun 1996 06:13:40 +0000 (26 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'.
Roland McGrath [Wed, 26 Jun 1996 06:13:37 +0000 (26 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.
Miles Bader [Tue, 25 Jun 1996 21:50:49 +0000 (25 21:50 +0000)]
.
Miles Bader [Tue, 25 Jun 1996 21:48:49 +0000 (25 21:48 +0000)]
(_hurd_canonicalize_directory_name_internal): Initialize PARENT to
THISDIR, and don't ever deallocate PARENT unless it != THISDIR.
Roland McGrath [Tue, 25 Jun 1996 18:22:06 +0000 (25 18:22 +0000)]
.
Roland McGrath [Tue, 25 Jun 1996 18:21:23 +0000 (25 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.
Roland McGrath [Tue, 25 Jun 1996 18:21:21 +0000 (25 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.
Roland McGrath [Tue, 25 Jun 1996 18:21:18 +0000 (25 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.
Roland McGrath [Tue, 25 Jun 1996 13:56:54 +0000 (25 13:56 +0000)]
.
Roland McGrath [Tue, 25 Jun 1996 13:56:33 +0000 (25 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.
Roland McGrath [Tue, 25 Jun 1996 13:54:36 +0000 (25 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.
Roland McGrath [Tue, 25 Jun 1996 13:54:33 +0000 (25 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.
Roland McGrath [Tue, 25 Jun 1996 13:54:31 +0000 (25 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.
Roland McGrath [Tue, 25 Jun 1996 13:49:53 +0000 (25 13:49 +0000)]
.
Roland McGrath [Tue, 25 Jun 1996 13:49:29 +0000 (25 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.
Roland McGrath [Tue, 25 Jun 1996 13:46:05 +0000 (25 13:46 +0000)]
.
Roland McGrath [Tue, 25 Jun 1996 13:44:56 +0000 (25 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}.
Roland McGrath [Tue, 25 Jun 1996 13:40:47 +0000 (25 13:40 +0000)]
.
Roland McGrath [Tue, 25 Jun 1996 13:40:19 +0000 (25 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.
Roland McGrath [Tue, 25 Jun 1996 12:13:01 +0000 (25 12:13 +0000)]
.
Roland McGrath [Tue, 25 Jun 1996 12:12:36 +0000 (25 12:12 +0000)]
Tue Jun 25 02:59:11 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* inet/getrpcbynumber.c (BUFLEN): New macro.
Roland McGrath [Tue, 25 Jun 1996 12:12:32 +0000 (25 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.
Roland McGrath [Tue, 25 Jun 1996 12:12:14 +0000 (25 12:12 +0000)]
Regenerated: autoconf configure.in
Roland McGrath [Tue, 25 Jun 1996 11:59:42 +0000 (25 11:59 +0000)]
.
Roland McGrath [Tue, 25 Jun 1996 11:59:19 +0000 (25 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.
Roland McGrath [Tue, 25 Jun 1996 11:59:15 +0000 (25 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.
Roland McGrath [Tue, 25 Jun 1996 11:59:09 +0000 (25 11:59 +0000)]
Tue Jun 25 02:59:11 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* inet/getrpcbynumber.c: Remove _r typo.
Roland McGrath [Tue, 25 Jun 1996 10:52:53 +0000 (25 10:52 +0000)]
.
Roland McGrath [Tue, 25 Jun 1996 10:52:26 +0000 (25 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*.
Roland McGrath [Tue, 25 Jun 1996 10:46:28 +0000 (25 10:46 +0000)]
note new malloc hacks
Roland McGrath [Tue, 25 Jun 1996 10:20:09 +0000 (25 10:20 +0000)]
.
Roland McGrath [Tue, 25 Jun 1996 10:19:48 +0000 (25 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.
Roland McGrath [Tue, 25 Jun 1996 10:19:46 +0000 (25 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.
Roland McGrath [Tue, 25 Jun 1996 10:19:42 +0000 (25 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!
Roland McGrath [Tue, 25 Jun 1996 08:56:57 +0000 (25 08:56 +0000)]
.
Roland McGrath [Tue, 25 Jun 1996 08:56:35 +0000 (25 08:56 +0000)]
Tue Jun 25 02:59:11 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* elf/dl-load.c (_dl_map_object): If the requested name matches the
soname of a loaded object, use that object.
Roland McGrath [Tue, 25 Jun 1996 07:00:57 +0000 (25 07:00 +0000)]
Sat Jun 22 16:49:47 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* rpm/Makefile ($(config)): Make sure the word list in the for
loop is syntactically non-empty.
Roland McGrath [Tue, 25 Jun 1996 06:57:09 +0000 (25 06:57 +0000)]
Sun Jun 23 19:42:05 1996 Ulrich Drepper <drepper@cygnus.com>
* resolv/res_init.c: Remove res_hconf calls.
Roland McGrath [Tue, 25 Jun 1996 06:57:08 +0000 (25 06:57 +0000)]
Sun Jun 23 19:42:05 1996 Ulrich Drepper <drepper@cygnus.com>
* inet/herrno.c: New file.
Roland McGrath [Tue, 25 Jun 1996 06:57:06 +0000 (25 06:57 +0000)]
Sun Jun 23 19:42:05 1996 Ulrich Drepper <drepper@cygnus.com>
* resolv/netdb.h (_PATH_NSSWITCH_CONF): New macro.
Roland McGrath [Tue, 25 Jun 1996 06:55:41 +0000 (25 06:55 +0000)]
Sun Jun 23 19:42:05 1996 Ulrich Drepper <drepper@cygnus.com>
* resolv/inet_pton.c, resolv/gethnamaddr.c: Updated to bind-4.9.4-T5B.
Roland McGrath [Tue, 25 Jun 1996 06:50:52 +0000 (25 06:50 +0000)]
Mon Jun 24 19:57:01 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* nss/Makefile (routines): Add grp-lookup and pwd-lookup.
* nss/pwd-lookup.c, nss/grp-lookup.c: New files.
* nss/nss_files/files-grp.c: New file.
* nss/nss_files/files-pwd.c: New file.
Roland McGrath [Tue, 25 Jun 1996 06:50:47 +0000 (25 06:50 +0000)]
Mon Jun 24 19:57:01 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* pwd/getpwuid.c: Rewritten using nss.
* pwd/getpwnam.c: Likewise.
* pwd/getpwent.c: Likewise.
* grp/getgrnam.c: Likewise.
* grp/getgrgid.c: Likewise.
* grp/getgrent.c: Likewise.
* pwd/Makefile (routines): Add getpwent_r, getpwnam_r, getpwuid_r.
* pwd/getpwent_r.c: New file.
* pwd/getpwnam_r.c: New file.
* pwd/getpwuid_r.c: New file.
* grp/Makefile (routines): Add getgrent_r, getgrgid_r, getgrnam_r.
* grp/getgrnam_r.c: New file.
* grp/getgrgid_r.c: New file.
* grp/getgrent_r.c: New file.
* grp/Makefile (routines): Remove grpopen, grpread.
* pwd/Makefile (routines): Remove pwdopen, pwdread.
* grp/grpopen.c, grp/grpread.c, pwd/pwdopen.c, pwd/pwdread.c: Removed.
Roland McGrath [Tue, 25 Jun 1996 06:50:32 +0000 (25 06:50 +0000)]
Mon Jun 24 19:57:01 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* Makefile (subdirs): Add nss.
Roland McGrath [Tue, 25 Jun 1996 06:50:30 +0000 (25 06:50 +0000)]
Mon Jun 24 19:57:01 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* nss/nss_dns/dns-network.c: Don't include <pthread.h>.
Sun Jun 23 19:42:05 1996 Ulrich Drepper <drepper@cygnus.com>
* nss/Makefile, nss/XXX-lookup.c, nss/file-lookup.c,
nss/getXXbyYY.c, nss/getXXbyYY_r.c, nss/getXXent.c,
nss/getXXent_r.c, nss/host-lookup.c, nss/network-lookup.c,
nss/nsswitch.c, nss/nsswitch.h, nss/proto-lookup.c,
nss/service-lookup.c: New files. Implementation of name
service switch, following the approach in Solaris.
Interface specification and general structure inspired by Peter
Eriksson <pen@lysator.liu.se>.
* nss/nss_files/files-host.c, nss/nss_files/files-network.c,
nss/nss_files/files-proto.c, nss/nss_files/files-service.c:
Implementation of libnss_files.so module for file based databases
in NSS service.
* nss/nss_dns/dns-host.c, nss/nss_dns/dns-network.c: Implementation
if libnss_dns.so module for DNS name lookup in NSS service.
Roland McGrath [Tue, 25 Jun 1996 06:50:28 +0000 (25 06:50 +0000)]
Sun Jun 23 19:42:05 1996 Ulrich Drepper <drepper@cygnus.com>
* resolv/inet_pton.c: Updated to bind-4.9.4-T5B.
Roland McGrath [Tue, 25 Jun 1996 06:50:26 +0000 (25 06:50 +0000)]
Sun Jun 23 15:24:05 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* shlib-versions (*-*-*): Set libresolv=2, libnss_files=1,
libnss_dns=1.
Roland McGrath [Tue, 25 Jun 1996 06:50:25 +0000 (25 06:50 +0000)]
Mon Jun 24 19:57:01 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* inet/Makefile (routines): Add getrpcent, getrpcbyname,
getrpcbynumber, getrpcent_r, getrpcbyname_r, getrpcbynumber_r.
* inet/getrpcbynumber_r.c: New file.
* inet/getrpcbynumber.c: New file.
* inet/getrpcbyname.c: New file.
* inet/getrpcbyname_r.c: New file.
* inet/getrpcent_r.c: New file.
* inet/getrpcent.c: New file.
* nss/rpc-lookup.c: New file.
* nss/nss_files/files-rpc.c: New file.
* nss/Makefile (routines): Add rpc-lookup.
(libnss_files-routines): Add files-rpc.
* sunrpc/Makefile (routines): Remove getrpcent.
* sunrpc/getrpcent.c: File removed.
* nss/Makefile (routines): Add grp-lookup and pwd-lookup.
* nss/pwd-lookup.c, nss/grp-lookup.c: New files.
* nss/nss_files/files-grp.c: New file.
* nss/nss_files/files-pwd.c: New file.
* nss/Makefile (subdir-dirs): New variable; use it in vpath.
* nss/Makefile (libnss_files-routines): Remove files-host.
Add files-hosts, files-grp, files-pwd.
Sun Jun 23 19:42:05 1996 Ulrich Drepper <drepper@cygnus.com>
* nss/Makefile, nss/XXX-lookup.c, nss/file-lookup.c,
nss/getXXbyYY.c, nss/getXXbyYY_r.c, nss/getXXent.c,
nss/getXXent_r.c, nss/host-lookup.c, nss/network-lookup.c,
nss/nsswitch.c, nss/nsswitch.h, nss/proto-lookup.c,
nss/service-lookup.c: New files. Implementation of name
service switch, following the approach in Solaris.
Interface specification and general structure inspired by Peter
Eriksson <pen@lysator.liu.se>.
* nss/nss_files/files-host.c, nss/nss_files/files-network.c,
nss/nss_files/files-proto.c, nss/nss_files/files-service.c:
Implementation of libnss_files.so module for file based databases
in NSS service.
* nss/nss_dns/dns-host.c, nss/nss_dns/dns-network.c: Implementation
if libnss_dns.so module for DNS name lookup in NSS service.
Roland McGrath [Tue, 25 Jun 1996 06:50:23 +0000 (25 06:50 +0000)]
Mon Jun 24 19:57:01 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* nss/nss_files/files-parse.c: New file.
* nss/nss_files/files-XXX.c: New file.
* nss/nss_files/files-hosts.c, nss/nss_files/files-proto.c,
nss/nss_files/files-service.c, nss/nss_files/files-network.c:
Rewritten using them.
Roland McGrath [Tue, 25 Jun 1996 06:50:19 +0000 (25 06:50 +0000)]
Sun Jun 23 19:42:05 1996 Ulrich Drepper <drepper@cygnus.com>
* nss/Makefile, nss/XXX-lookup.c, nss/file-lookup.c,
nss/getXXbyYY.c, nss/getXXbyYY_r.c, nss/getXXent.c,
nss/getXXent_r.c, nss/host-lookup.c, nss/network-lookup.c,
nss/nsswitch.c, nss/nsswitch.h, nss/proto-lookup.c,
nss/service-lookup.c: New files. Implementation of name
service switch, following the approach in Solaris.
Interface specification and general structure inspired by Peter
Eriksson <pen@lysator.liu.se>.
* nss/nss_files/files-host.c, nss/nss_files/files-network.c,
nss/nss_files/files-proto.c, nss/nss_files/files-service.c:
Implementation of libnss_files.so module for file based databases
in NSS service.
* nss/nss_dns/dns-host.c, nss/nss_dns/dns-network.c: Implementation
if libnss_dns.so module for DNS name lookup in NSS service.
Roland McGrath [Tue, 25 Jun 1996 06:50:09 +0000 (25 06:50 +0000)]
Mon Jun 24 19:57:01 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* nss/nss_files/files-parse.c: New file.
* nss/nss_files/files-XXX.c: New file.
* nss/nss_files/files-hosts.c, nss/nss_files/files-proto.c,
nss/nss_files/files-service.c, nss/nss_files/files-network.c:
Rewritten using them.
Sun Jun 23 19:42:05 1996 Ulrich Drepper <drepper@cygnus.com>
* nss/Makefile, nss/XXX-lookup.c, nss/file-lookup.c,
nss/getXXbyYY.c, nss/getXXbyYY_r.c, nss/getXXent.c,
nss/getXXent_r.c, nss/host-lookup.c, nss/network-lookup.c,
nss/nsswitch.c, nss/nsswitch.h, nss/proto-lookup.c,
nss/service-lookup.c: New files. Implementation of name
service switch, following the approach in Solaris.
Interface specification and general structure inspired by Peter
Eriksson <pen@lysator.liu.se>.
* nss/nss_files/files-host.c, nss/nss_files/files-network.c,
nss/nss_files/files-proto.c, nss/nss_files/files-service.c:
Implementation of libnss_files.so module for file based databases
in NSS service.
* nss/nss_dns/dns-host.c, nss/nss_dns/dns-network.c: Implementation
if libnss_dns.so module for DNS name lookup in NSS service.
Roland McGrath [Tue, 25 Jun 1996 06:50:05 +0000 (25 06:50 +0000)]
Mon Jun 24 19:57:01 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* inet/Makefile (routines): Add getrpcent, getrpcbyname,
getrpcbynumber, getrpcent_r, getrpcbyname_r, getrpcbynumber_r.
* inet/getrpcbynumber_r.c: New file.
* inet/getrpcbynumber.c: New file.
* inet/getrpcbyname.c: New file.
* inet/getrpcbyname_r.c: New file.
* inet/getrpcent_r.c: New file.
* inet/getrpcent.c: New file.
* nss/rpc-lookup.c: New file.
* nss/nss_files/files-rpc.c: New file.
* nss/Makefile (routines): Add rpc-lookup.
(libnss_files-routines): Add files-rpc.
* sunrpc/Makefile (routines): Remove getrpcent.
* sunrpc/getrpcent.c: File removed.
Roland McGrath [Tue, 25 Jun 1996 06:49:50 +0000 (25 06:49 +0000)]
Mon Jun 24 19:57:01 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* nss/getXXent_r.c (REENTRANT_GETNAME): Clear NO_MORE when NIP is
non-null on entry.
Sun Jun 23 19:42:05 1996 Ulrich Drepper <drepper@cygnus.com>
* nss/Makefile, nss/XXX-lookup.c, nss/file-lookup.c,
nss/getXXbyYY.c, nss/getXXbyYY_r.c, nss/getXXent.c,
nss/getXXent_r.c, nss/host-lookup.c, nss/network-lookup.c,
nss/nsswitch.c, nss/nsswitch.h, nss/proto-lookup.c,
nss/service-lookup.c: New files. Implementation of name
service switch, following the approach in Solaris.
Interface specification and general structure inspired by Peter
Eriksson <pen@lysator.liu.se>.
* nss/nss_files/files-host.c, nss/nss_files/files-network.c,
nss/nss_files/files-proto.c, nss/nss_files/files-service.c:
Implementation of libnss_files.so module for file based databases
in NSS service.
* nss/nss_dns/dns-host.c, nss/nss_dns/dns-network.c: Implementation
if libnss_dns.so module for DNS name lookup in NSS service.
Roland McGrath [Tue, 25 Jun 1996 06:49:46 +0000 (25 06:49 +0000)]
Mon Jun 24 19:57:01 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* Makeconfig (rpath-link): Add $(nssobjdir).
(nssobjdir): New variable.
Roland McGrath [Tue, 25 Jun 1996 06:49:43 +0000 (25 06:49 +0000)]
Sun Jun 23 15:24:05 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* resolv.h: Fix wrapper for resolv/resolv.h.
Roland McGrath [Tue, 25 Jun 1996 06:49:39 +0000 (25 06:49 +0000)]
Sun Jun 23 15:24:05 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* configure.in (ld --no-whole-archive check): Use AC_TRY_COMMAND.
Compile dummy file and pass -nostdlib -nostartfiles so as not to
require installed libraries.
Roland McGrath [Tue, 25 Jun 1996 06:49:35 +0000 (25 06:49 +0000)]
Sun Jun 23 19:42:05 1996 Ulrich Drepper <drepper@cygnus.com>
* inet/getproto.c, inet/getprtent.c, inet/getprtname.c,
inet/getservent.c, inet/getsrvbynm.c, inet/getsrvbypt.c:
Changed to serve as interface to NSS.
* inet/gethstbyad.c, inet/gethstbyad_r.c, inet/gethstbynm.c,
inet/gethstbynm2.c, inet/gethstbynm2_r.c, inet/gethstbynm_r.c,
inet/gethstent.c, inet/gethstent_r.c, inet/getnetbynm.c,
inet/getnetbynm_r.c, inet/getnetbypt.c, inet/getnetbypt_r.c,
inet/getnetent.c, inet/getnetent_r.c, inet/getproto_r.c,
inet/getprtent_r.c, inet/getprtname_r.c, inet/getservent_r.c,
inet/getsrvbynm_r.c, inet/getsrvbypt_r.c: New files. Implement
interfaces to NSS, including reentrant functions.
Roland McGrath [Tue, 25 Jun 1996 06:49:17 +0000 (25 06:49 +0000)]
Sun Jun 23 19:42:05 1996 Ulrich Drepper <drepper@cygnus.com>
* resolv/mapv4v6addr.h, resolv/mapv4v6hostent.h: Extracted from
gethnamaddr.c. These private functions are now used in more
than one file.