kopensolaris-gnu/glibc.git
23 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.

23 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.

23 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.

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

23 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.

23 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'.

23 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.

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

23 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.

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

23 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.

23 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.

23 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.

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

23 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.

23 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.

23 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.

23 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.

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

23 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.

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

23 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}.

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

23 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.

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

23 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.

23 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.

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

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

23 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.

23 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.

23 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.

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

23 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*.

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

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

23 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.

23 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.

23 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!

23 years ago. libc-960625
roland [Tue, 25 Jun 1996 08:56:57 +0000 (08:56 +0000)]
.

23 years agoTue Jun 25 02:59:11 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Tue, 25 Jun 1996 08:56:35 +0000 (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.

23 years agoSat Jun 22 16:49:47 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
roland [Tue, 25 Jun 1996 07:00:57 +0000 (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.

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

* resolv/res_init.c: Remove res_hconf calls.

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

* inet/herrno.c: New file.

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

* resolv/netdb.h (_PATH_NSSWITCH_CONF): New macro.

23 years agoSun Jun 23 19:42:05 1996 Ulrich Drepper <drepper@cygnus.com>
roland [Tue, 25 Jun 1996 06:55:41 +0000 (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.

23 years agoMon Jun 24 19:57:01 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Tue, 25 Jun 1996 06:50:49 +0000 (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.

23 years agoMon Jun 24 19:57:01 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Tue, 25 Jun 1996 06:50:36 +0000 (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.

23 years agoMon Jun 24 19:57:01 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Tue, 25 Jun 1996 06:50:32 +0000 (06:50 +0000)]
Mon Jun 24 19:57:01 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* Makefile (subdirs): Add nss.

23 years agoMon Jun 24 19:57:01 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Tue, 25 Jun 1996 06:50:30 +0000 (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.

23 years agoSun Jun 23 19:42:05 1996 Ulrich Drepper <drepper@cygnus.com>
roland [Tue, 25 Jun 1996 06:50:28 +0000 (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.

23 years agoSun Jun 23 15:24:05 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Tue, 25 Jun 1996 06:50:26 +0000 (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.

23 years agoMon Jun 24 19:57:01 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Tue, 25 Jun 1996 06:50:25 +0000 (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.

23 years agoMon Jun 24 19:57:01 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Tue, 25 Jun 1996 06:50:21 +0000 (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.

23 years agoSun Jun 23 19:42:05 1996 Ulrich Drepper <drepper@cygnus.com>
roland [Tue, 25 Jun 1996 06:50:12 +0000 (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.

23 years agoMon Jun 24 19:57:01 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Tue, 25 Jun 1996 06:50:08 +0000 (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.

23 years agoMon Jun 24 19:57:01 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Tue, 25 Jun 1996 06:49:54 +0000 (06:49 +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.

23 years agoMon Jun 24 19:57:01 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Tue, 25 Jun 1996 06:49:50 +0000 (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.

23 years agoMon Jun 24 19:57:01 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Tue, 25 Jun 1996 06:49:46 +0000 (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.

23 years agoSun Jun 23 15:24:05 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Tue, 25 Jun 1996 06:49:43 +0000 (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.

23 years agoSun Jun 23 15:24:05 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Tue, 25 Jun 1996 06:49:39 +0000 (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.

23 years agoSun Jun 23 19:42:05 1996 Ulrich Drepper <drepper@cygnus.com>
roland [Tue, 25 Jun 1996 06:49:20 +0000 (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.

23 years agoSun Jun 23 19:42:05 1996 Ulrich Drepper <drepper@cygnus.com>
roland [Tue, 25 Jun 1996 06:49:17 +0000 (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.

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

* resolv/getnetbyaddr.c, resolv/getnetbyname.c, resolv/getnetent.c,
resolv/sethostent.c: Removed:  Obsoleted by NSS.

23 years agoSun Jun 23 15:24:05 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Tue, 25 Jun 1996 06:49:11 +0000 (06:49 +0000)]
Sun Jun 23 15:24:05 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* time/Makefile ($(installed-localtime-file) rule): Do
$(make-target-directory) first.

23 years agoMon Jun 24 19:57:01 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Tue, 25 Jun 1996 06:49:07 +0000 (06:49 +0000)]
Mon Jun 24 19:57:01 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* pwd/fgetpwent.c: Rewritten using files-parse.c.
* grp/fgetgrent.c: Likewise.

23 years agoMon Jun 24 19:57:01 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Tue, 25 Jun 1996 06:49:01 +0000 (06:49 +0000)]
Mon Jun 24 19:57:01 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* Makerules: Move shared library building before objects rules, so
versions are known before extra-lib.mk gets included.
* extra-lib.mk (lib-noranlib): Depend on the shared object too.

23 years agoMon Jun 24 22:39:12 1996 Richard Henderson <rth@tamu.edu>
roland [Tue, 25 Jun 1996 03:59:46 +0000 (03:59 +0000)]
Mon Jun 24 22:39:12 1996  Richard Henderson  <rth@tamu.edu>

* sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
A .plt entry now loads the .rela.plt offset directly rather
than making us calculate it.

23 years agonote nss
roland [Tue, 25 Jun 1996 01:54:12 +0000 (01:54 +0000)]
note nss

23 years agoUpdated from ../gpl2lgpl.sed /home/gd/gnu/lib/getopt.c
roland [Tue, 25 Jun 1996 01:35:12 +0000 (01:35 +0000)]
Updated from ../gpl2lgpl.sed /home/gd/gnu/lib/getopt.c

23 years agoRegenerated: autoconf configure.in libc-960624
roland [Sun, 23 Jun 1996 22:54:48 +0000 (22:54 +0000)]
Regenerated: autoconf  configure.in

23 years agoUpdated from ../gpl2lgpl.sed /home/gd/gnu/lib/regex.c
roland [Sun, 23 Jun 1996 20:05:04 +0000 (20:05 +0000)]
Updated from ../gpl2lgpl.sed /home/gd/gnu/lib/regex.c

23 years ago. libc-960623
roland [Sun, 23 Jun 1996 01:31:00 +0000 (01:31 +0000)]
.

23 years agoSat Jun 22 23:30:07 1996 David Mosberger-Tang <davidm@azstarnet.com>
roland [Sun, 23 Jun 1996 01:30:18 +0000 (01:30 +0000)]
Sat Jun 22 23:30:07 1996  David Mosberger-Tang  <davidm@azstarnet.com>

* posix/unistd.h (syscall): Change sysno arg and return value
to int long.

23 years agoSat Jun 22 23:30:07 1996 David Mosberger-Tang <davidm@azstarnet.com>
roland [Sun, 23 Jun 1996 01:30:14 +0000 (01:30 +0000)]
Sat Jun 22 23:30:07 1996  David Mosberger-Tang  <davidm@azstarnet.com>

* sysdeps/unix/sysv/linux/syscalls.list (ksyslog_ctl): Rename
to klogctl to match prototype in sys/klog.h.

23 years agoSat Jun 22 23:30:07 1996 David Mosberger-Tang <davidm@azstarnet.com>
roland [Sun, 23 Jun 1996 01:30:10 +0000 (01:30 +0000)]
Sat Jun 22 23:30:07 1996  David Mosberger-Tang  <davidm@azstarnet.com>

* sysdeps/alpha/Makefile (CFLAGS-rtld.c): Add -mbuild-constants
only when building ELF version of library.

23 years agoSat Jun 22 23:30:07 1996 David Mosberger-Tang <davidm@azstarnet.com>
roland [Sun, 23 Jun 1996 01:30:05 +0000 (01:30 +0000)]
Sat Jun 22 23:30:07 1996  David Mosberger-Tang  <davidm@azstarnet.com>

* libio/libioP.h (_IO_vscanf): Add prototype.

23 years agoSat Jun 22 23:30:07 1996 David Mosberger-Tang <davidm@azstarnet.com>
roland [Sun, 23 Jun 1996 01:30:01 +0000 (01:30 +0000)]
Sat Jun 22 23:30:07 1996  David Mosberger-Tang  <davidm@azstarnet.com>

* sysdeps/posix/getcwd.c (__canonicalize_directory_name_internal):
Remove.  Code is now part of __getcwd again.  The old function
never really worked for anything but THISDIR==".".

23 years agoSat Jun 22 23:30:07 1996 David Mosberger-Tang <davidm@azstarnet.com>
roland [Sun, 23 Jun 1996 01:29:52 +0000 (01:29 +0000)]
Sat Jun 22 23:30:07 1996  David Mosberger-Tang  <davidm@azstarnet.com>

* sysdeps/posix/libc_fatal.c: Add include of <string.h>.
* sysdeps/unix/sysv/linux/gethostid.c: Ditto.

23 years agoRemade for alpha-1.92
roland [Sat, 22 Jun 1996 22:10:26 +0000 (22:10 +0000)]
Remade for alpha-1.92

23 years agoRegenerated: autoconf configure.in
roland [Sat, 22 Jun 1996 22:06:37 +0000 (22:06 +0000)]
Regenerated: autoconf  configure.in

23 years ago.
roland [Sat, 22 Jun 1996 22:06:08 +0000 (22:06 +0000)]
.

23 years agoSat Jun 22 10:44:09 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Sat, 22 Jun 1996 22:05:53 +0000 (22:05 +0000)]
Sat Jun 22 10:44:09 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* version.h (VERSION): Version 1.92 test release.

23 years agoSat Jun 22 10:44:09 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Sat, 22 Jun 1996 22:05:16 +0000 (22:05 +0000)]
Sat Jun 22 10:44:09 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* config.make.in (BUILD_CC): New variable.
* configure.in: Check for BUILD_CC if $host != $build.

23 years agoSat Jun 22 10:44:09 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Sat, 22 Jun 1996 22:05:13 +0000 (22:05 +0000)]
Sat Jun 22 10:44:09 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* Makerules [! objects] (subdir_lib): Depend on the stamp$o files.
(stamp$o files): New targets, create them empty, no deps.

23 years agoSat Jun 22 10:44:09 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Sat, 22 Jun 1996 22:05:09 +0000 (22:05 +0000)]
Sat Jun 22 10:44:09 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* posix/glob.c: Include <alloca.h> only [HAVE_ALLOCA_H], not [sparc].

23 years agoSat Jun 22 10:44:09 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Sat, 22 Jun 1996 22:05:05 +0000 (22:05 +0000)]
Sat Jun 22 10:44:09 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* misc/Makefile (headers): Add ar.h.
* misc/ar.h: New file.

23 years agoRegenerated
roland [Sat, 22 Jun 1996 21:14:17 +0000 (21:14 +0000)]
Regenerated

23 years agoRegenerated: autoconf configure.in
roland [Sat, 22 Jun 1996 20:30:45 +0000 (20:30 +0000)]
Regenerated: autoconf  configure.in

23 years agobring more or less up to date
roland [Sat, 22 Jun 1996 15:24:06 +0000 (15:24 +0000)]
bring more or less up to date

23 years ago.
roland [Sat, 22 Jun 1996 15:00:08 +0000 (15:00 +0000)]
.

23 years agoSat Jun 22 10:44:09 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Sat, 22 Jun 1996 14:59:52 +0000 (14:59 +0000)]
Sat Jun 22 10:44:09 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* rpm/template (Source): New field.
(%prep, %build, %install): New sections.
(%files): Add %doc FAQ NEWS NOTES README.
* rpm/rpmrc (builddir): Removed.

23 years agoupdates from drepper libc-960622
roland [Sat, 22 Jun 1996 00:20:38 +0000 (00:20 +0000)]
updates from drepper

23 years ago.
roland [Fri, 21 Jun 1996 21:37:08 +0000 (21:37 +0000)]
.

23 years agoFri Jun 21 00:27:51 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Fri, 21 Jun 1996 21:36:48 +0000 (21:36 +0000)]
Fri Jun 21 00:27:51 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* elf/dl-load.c (_dl_map_object_from_fd): Fix mapping and l_phdr
  guessing to not assume p_vaddr of first load cmd is zero.

23 years ago.
roland [Fri, 21 Jun 1996 21:01:27 +0000 (21:01 +0000)]
.

23 years agoFri Jun 21 00:27:51 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Fri, 21 Jun 1996 21:01:13 +0000 (21:01 +0000)]
Fri Jun 21 00:27:51 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* posix/fnmatch.c (fnmatch): Fix \*[*?]+ case to increment name ptr
  only for ?s, not for *s.  Fix from Chet Ramey.

23 years agoFri Jun 21 00:27:51 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Fri, 21 Jun 1996 21:01:09 +0000 (21:01 +0000)]
Fri Jun 21 00:27:51 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* sysdeps/sparc/elf/start.S: New file.
* sysdeps/sparc/dl-machine.h: New file.

23 years agoFri Jun 21 00:27:51 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Fri, 21 Jun 1996 21:01:07 +0000 (21:01 +0000)]
Fri Jun 21 00:27:51 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* version.c (banner): Add trailing newline.

23 years agoFri Jun 21 00:27:51 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Fri, 21 Jun 1996 21:01:00 +0000 (21:01 +0000)]
Fri Jun 21 00:27:51 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

Fixes thanks to Raja R Harinath <harinath@cs.umn.edu>:
* sysdeps/unix/sysv/utmpbits.h: Define _HAVE_UT_{TYPE,ID,TV,HOST}.
Use __{BEGIN,END}_DECLS.
(_PATH_WTMP, _PATH_UTMP, _PATH_LASTLOG): New macros.
* login/utmp.h (UTMP_FILE, UTMP_FILENAME, WTMP_FILE, WTMP_FILENAME):
New macros, moved here from sysdeps/gnu/utmpbits.h.
* sysdeps/generic/utmpbits.h (_HAVE_UT_HOST): Define it.
* sysdeps/gnu/utmpbits.h (_HAVE_UT_HOST): Likewise.
* login/logout.c: Use ut_host only #if _HAVE_UT_HOST.
Use sizeof instead of UT_*SIZE.
* login/logwtmp.c: Likewise.