kopensolaris-gnu/glibc.git
24 years agoTue Jul 2 23:45:14 1996 Ulrich Drepper <drepper@cygnus.com>
roland [Thu, 4 Jul 1996 00:05:57 +0000 (00:05 +0000)]
Tue Jul  2 23:45:14 1996  Ulrich Drepper  <drepper@cygnus.com>

* stdlib/strtod.c, stdlib/strtol.c, string/strcoll.c,
string/strxfrm.c: Add some more casts to prevent signed<->unsigned
warnings.

24 years agoWed Jul 3 16:29:41 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Thu, 4 Jul 1996 00:05:47 +0000 (00:05 +0000)]
Wed Jul  3 16:29:41 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* sys/select.h: New file, wrapper header.
Tue Jul  2 23:45:14 1996  Ulrich Drepper  <drepper@cygnus.com>

New stuff described in P1003.1g.
* misc/Makefile (headers): Add sys/select.h.
(routines): Add pselect.
* misc/sys/select.h: New file.  Declare select functions and
needed data types and macros.
* sysdeps/generic/pselect.c: New file.  Add generic implementation
of pselect() function which uses select().

24 years agoTue Jul 2 23:45:14 1996 Ulrich Drepper <drepper@cygnus.com>
roland [Thu, 4 Jul 1996 00:05:44 +0000 (00:05 +0000)]
Tue Jul  2 23:45:14 1996  Ulrich Drepper  <drepper@cygnus.com>

* locale/weight.h (get_weight): Cast constants to prevent
        warnings.

24 years agoWed Jul 3 16:29:41 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Thu, 4 Jul 1996 00:05:41 +0000 (00:05 +0000)]
Wed Jul  3 16:29:41 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* nss/getXXbyYY_r.c (REENTRANT_NAME): Cast FCT in __nss_next call.

24 years agoWed Jul 3 16:29:41 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Thu, 4 Jul 1996 00:05:38 +0000 (00:05 +0000)]
Wed Jul  3 16:29:41 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* sysdeps/generic/sbrk.c: Always call __brk (0) to update __curbrk.

24 years agoTue Jul 2 23:45:14 1996 Ulrich Drepper <drepper@cygnus.com>
roland [Thu, 4 Jul 1996 00:05:29 +0000 (00:05 +0000)]
Tue Jul  2 23:45:14 1996  Ulrich Drepper  <drepper@cygnus.com>

New stuff described in P1003.1g.
* misc/Makefile (headers): Add sys/select.h.
(routines): Add pselect.
* misc/sys/select.h: New file.  Declare select functions and
needed data types and macros.
* sysdeps/generic/pselect.c: New file.  Add generic implementation
of pselect() function which uses select().

24 years agoTue Jul 2 23:45:14 1996 Ulrich Drepper <drepper@cygnus.com>
roland [Thu, 4 Jul 1996 00:05:19 +0000 (00:05 +0000)]
Tue Jul  2 23:45:14 1996  Ulrich Drepper  <drepper@cygnus.com>

* socket/Makefile (routines): Add isfdtype.
* sysdeps/generic/sys/socket.h: Add prototype for isfdtype.
* sysdeps/stub/isfdtype.c: New file.  Stub implementation of
isfdtype.

24 years agoWed Jul 3 16:29:41 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Thu, 4 Jul 1996 00:05:14 +0000 (00:05 +0000)]
Wed Jul  3 16:29:41 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* posix/sys/types.h [__USE_BSD]: Include <sys/select.h>; remove
fd_set, associated macros, and select decl.

24 years ago.
roland [Wed, 3 Jul 1996 19:07:09 +0000 (19:07 +0000)]
.

24 years agoWed Jul 3 11:26:28 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Wed, 3 Jul 1996 19:06:31 +0000 (19:06 +0000)]
Wed Jul  3 11:26:28 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* elf/Makefile (LDFLAGS-dl.so): New variable.
(libdl.so): Depend on eval.so.
(distribute): Add eval.c.
* elf/eval.c: New file.

24 years ago.
roland [Wed, 3 Jul 1996 18:51:10 +0000 (18:51 +0000)]
.

24 years agoWed Jul 3 11:26:28 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Wed, 3 Jul 1996 18:50:55 +0000 (18:50 +0000)]
Wed Jul  3 11:26:28 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* sysdeps/mach/hurd/Makefile (LDLIBS-c.so): Variable removed.
(libc.so): Instead, give this deps on lib{mach,hurd}user.so.

24 years agoWed Jul 3 11:26:28 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Wed, 3 Jul 1996 18:50:53 +0000 (18:50 +0000)]
Wed Jul  3 11:26:28 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* elf/dl-debug.c (_dl_debug_initialize): Use LDBASE arg instead of
extracting _dl_rtld_map.l_addr.

24 years agoWed Jul 3 11:26:28 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Wed, 3 Jul 1996 18:50:50 +0000 (18:50 +0000)]
Wed Jul  3 11:26:28 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* stdio/fwrite.c (fwrite: fill_buffer): Separate flushing for last
newline from flushing full buffer in loop, fix test so no fflush is
done when last byte written exactly fills the buffer.

24 years agoWed Jul 3 11:26:28 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Wed, 3 Jul 1996 18:50:47 +0000 (18:50 +0000)]
Wed Jul  3 11:26:28 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* sysdeps/i386/dl-machine.h (elf_machine_rel): Declare _dl_rtld_map as
weak.
* sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.

24 years agoWed Jul 3 11:26:28 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Wed, 3 Jul 1996 18:50:44 +0000 (18:50 +0000)]
Wed Jul  3 11:26:28 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* time/strftime.c (strftime: do_number): Adjust P and I after sprintf
in case it wrote fewer than MAXDIGITS chars.

24 years agoWed Jul 3 11:26:28 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Wed, 3 Jul 1996 18:50:41 +0000 (18:50 +0000)]
Wed Jul  3 11:26:28 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Depend on libc.so.

24 years agoWed Jul 3 11:26:28 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Wed, 3 Jul 1996 18:50:39 +0000 (18:50 +0000)]
Wed Jul  3 11:26:28 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* shlib-versions (*-*-*): Set libnss_db=1.

24 years ago(login): Only Frob OLD->ut_type if getutline_r actually found any entry. libc-960703
miles [Wed, 3 Jul 1996 05:22:21 +0000 (05:22 +0000)]
(login): Only Frob OLD->ut_type if getutline_r actually found any entry.

24 years agoTue Jul 2 10:44:37 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Tue, 2 Jul 1996 22:18:48 +0000 (22:18 +0000)]
Tue Jul  2 10:44:37 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* elf/rtld.c (dl_main): Set _dl_rtld_map's DT_DEBUG location too.

24 years ago.
roland [Tue, 2 Jul 1996 21:57:31 +0000 (21:57 +0000)]
.

24 years agoTue Jul 2 10:44:37 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Tue, 2 Jul 1996 21:57:16 +0000 (21:57 +0000)]
Tue Jul  2 10:44:37 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* rpm/template (%build): Use @prefix@ instead of always /usr.
Set up configparms only if @prefix@ is in fact /usr.
* rpm/Makefile ($(config)): Substitute $(prefix) for @prefix@.

24 years ago.
roland [Tue, 2 Jul 1996 21:53:43 +0000 (21:53 +0000)]
.

24 years agoTue Jul 2 10:44:37 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Tue, 2 Jul 1996 21:53:21 +0000 (21:53 +0000)]
Tue Jul  2 10:44:37 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* elf/Makefile: Add missing endif.

24 years ago.
roland [Tue, 2 Jul 1996 19:42:29 +0000 (19:42 +0000)]
.

24 years agoMon Jul 1 15:44:34 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Tue, 2 Jul 1996 19:41:06 +0000 (19:41 +0000)]
Mon Jul  1 15:44:34 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* stdio-common/tst-ungetc.c: Include unistd.h.

24 years agoTue Jul 2 10:44:37 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Tue, 2 Jul 1996 19:40:48 +0000 (19:40 +0000)]
Tue Jul  2 10:44:37 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* nss/nss_files/files-ethers.c (ntohost): Fix db key.

24 years ago.
roland [Tue, 2 Jul 1996 19:35:40 +0000 (19:35 +0000)]
.

24 years agoTue Jul 2 10:44:37 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Tue, 2 Jul 1996 19:35:05 +0000 (19:35 +0000)]
Tue Jul  2 10:44:37 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* nss/nss_db/db-XXX.c: New file.
* nss/Makefile (services): Add db.
(libnss_db-inhibit-o): New variable.
(libnss_db-routines): New variable.
(distribute): Append db-XXX.c.
(libnss_db.so): Depend on libdb.so and libnss_files.so.
($(libnss_db-routines:%=$(objpfx)%.c)): New static pattern rule.
* nss/Makefile (libnss_dns.so): Depend on libresolv.so.
(resobjdir, LDLIBS-nss_dns.so): Variables removed.

24 years agoTue Jul 2 10:44:37 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Tue, 2 Jul 1996 19:35:03 +0000 (19:35 +0000)]
Tue Jul  2 10:44:37 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* sunrpc/svc_tcp.c (abort): Don't declare.  Instead define as macro
casting abort to fn returning bool_t.

24 years agoTue Jul 2 10:44:37 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Tue, 2 Jul 1996 19:35:01 +0000 (19:35 +0000)]
Tue Jul  2 10:44:37 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* nss/nss_files/files-XXX.c (DB_LOOKUP): Add KEYSIZE and KEYPATTERN
args, ignored.
(DATAFILE): New macro.
* nss/nss_files/files-parse.c (GENERIC): If undefined, define to
"files-XXX.c".
* nss/nss_files/files-rpc.c: Include GENERIC instead of "files-XXX.c".
Pass db key args to DB_LOOKUP.
(DATAFILE): Macro removed.
(DATABASE): New macro replaces it, lacks "/etc/" prefix.
* nss/nss_files/files-service.c: Likewise.
* nss/nss_files/files-pwd.c: Likewise.
* nss/nss_files/files-proto.c: Likewise.
* nss/nss_files/files-grp.c: Likewise.
* nss/nss_files/files-ethers.c: Likewise.
* nss/nss_files/files-parse.c [EXTERN_PARSER]: Do an extern decl of
the parser function.
[EXTERN_PARSER] (LINE_PARSER): Define to empty.
* nss/nss_files/files-pwd.c (EXTERN_PARSER): Define it.
* nss/nss_files/files-grp.c: Likewise.

24 years agoTue Jul 2 10:44:37 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Tue, 2 Jul 1996 19:34:58 +0000 (19:34 +0000)]
Tue Jul  2 10:44:37 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* sunrpc/rpc/types.h: Include stdlib.h instead of declaring malloc.

24 years agoTue Jul 2 10:44:37 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Tue, 2 Jul 1996 19:34:54 +0000 (19:34 +0000)]
Tue Jul  2 10:44:37 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* nss/nss_files/files-XXX.c (DB_LOOKUP): Add KEYSIZE and KEYPATTERN
args, ignored.
(DATAFILE): New macro.
* nss/nss_files/files-parse.c (GENERIC): If undefined, define to
"files-XXX.c".
* nss/nss_files/files-rpc.c: Include GENERIC instead of "files-XXX.c".
Pass db key args to DB_LOOKUP.
(DATAFILE): Macro removed.
(DATABASE): New macro replaces it, lacks "/etc/" prefix.
* nss/nss_files/files-service.c: Likewise.
* nss/nss_files/files-pwd.c: Likewise.
* nss/nss_files/files-proto.c: Likewise.
* nss/nss_files/files-grp.c: Likewise.
* nss/nss_files/files-ethers.c: Likewise.

24 years agoTue Jul 2 10:44:37 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Tue, 2 Jul 1996 19:34:51 +0000 (19:34 +0000)]
Tue Jul  2 10:44:37 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* sunrpc/xdr.c: Remove malloc decl.
* sunrpc/portmap.c: Likewise.

24 years agoTue Jul 2 10:44:37 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Tue, 2 Jul 1996 19:34:48 +0000 (19:34 +0000)]
Tue Jul  2 10:44:37 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* elf/linux-compat.c: File removed.
* elf/Makefile (distribute): Remove linux-compat.c.
(ld-linux.so.1): Remove target and associated variables.

24 years agoTue Jul 2 10:44:37 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Tue, 2 Jul 1996 19:34:46 +0000 (19:34 +0000)]
Tue Jul  2 10:44:37 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* nss/nss_db/db-XXX.c: New file.
* nss/Makefile (services): Add db.
(libnss_db-inhibit-o): New variable.
(libnss_db-routines): New variable.
(distribute): Append db-XXX.c.
(libnss_db.so): Depend on libdb.so and libnss_files.so.
($(libnss_db-routines:%=$(objpfx)%.c)): New static pattern rule.

24 years agoTue Jul 2 10:44:37 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Tue, 2 Jul 1996 19:34:44 +0000 (19:34 +0000)]
Tue Jul  2 10:44:37 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* Makeconfig (BUILD_CC): If undefined, define to $(CC).
* Makeconfig (built-program-cmd): Use $(rtld-installed-name) in place
of ld.so so lookups for that soname find it.

24 years agoTue Jul 2 10:44:37 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Tue, 2 Jul 1996 19:34:41 +0000 (19:34 +0000)]
Tue Jul  2 10:44:37 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* nss/nss_files/files-network.c: Pass empty for new DB_LOOKUP args.
(DATABASE): Define this instead of DATAFILE.
* nss/nss_files/files-hosts.c: Likewise.
(hostbyname): Use LOOKUP_NAME macro.

24 years ago.
roland [Tue, 2 Jul 1996 17:43:35 +0000 (17:43 +0000)]
.

24 years agoTue Jul 2 10:44:37 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Tue, 2 Jul 1996 17:43:19 +0000 (17:43 +0000)]
Tue Jul  2 10:44:37 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* elf/rtld.c (dl_main): Set _dl_rtld_map.l_name from _dl_argv[0] when
invoked directly, and l_libname from that if PT_INTERP missing.
Set l_name from l_libname only if not set from argv.

24 years agoTue Jul 2 10:44:37 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Tue, 2 Jul 1996 17:43:17 +0000 (17:43 +0000)]
Tue Jul  2 10:44:37 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* elf/dl-load.c (_dl_map_object): Use any object with matching l_name
as well as any matching with l_libname.  Fix DT_SONAME lookup to use
string table properly.

24 years agoTue Jul 2 10:44:37 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Tue, 2 Jul 1996 17:43:14 +0000 (17:43 +0000)]
Tue Jul  2 10:44:37 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* nss/nss_files/files-XXX.c (internal_getent): Return
NSS_STATUS_TRYAGAIN for ERANGE error.

24 years agoTue Jul 2 10:44:37 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Tue, 2 Jul 1996 17:43:13 +0000 (17:43 +0000)]
Tue Jul  2 10:44:37 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* pwd/fgetpwent.c: Don't include ../nss/nss_files/files-parse.c to
define parse_line function.
(parse_line): #define to _nss_files_parse_pwent and
add extern decl for that.
* nss/nss_files/files-parse.c (LINE_PARSER): Take new first arg EOLSET.
Remove ; after `ENTDATA_DECL (data)'.
Truncate line at strpbrk (line, EOLSET "\n").
(ENTDATA_DECL): Put ; at end.
(MIDLINE_COMMENTS): Macro removed.
* nss/nss_files/files-ethers.c: Pass new argument.
* nss/nss_files/files-hosts.c: Likewise.
* nss/nss_files/files-network.c: Likewise.
* nss/nss_files/files-parse.c: Likewise.
* nss/nss_files/files-proto.c: Likewise.
* nss/nss_files/files-rpc.c: Likewise.
* nss/nss_files/files-service.c: Likewise.
* grp/fgetgrent.c: Likewise.
* pwd/fgetpwent.c: Likewise.
* nss/nss_files/files-pwd.c: Get parse_line with extern decl, since
fgetpwent.c already defines it.
* nss/nss_files/files-grp.c: Likewise.

24 years agoTue Jul 2 10:44:37 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Tue, 2 Jul 1996 17:43:06 +0000 (17:43 +0000)]
Tue Jul  2 10:44:37 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* nss/nss_files/files-parse.c (LINE_PARSER): Take new first arg EOLSET.
Remove ; after `ENTDATA_DECL (data)'.
Truncate line at strpbrk (line, EOLSET "\n").
(ENTDATA_DECL): Put ; at end.
(MIDLINE_COMMENTS): Macro removed.
* nss/nss_files/files-ethers.c: Pass new argument.
* nss/nss_files/files-hosts.c: Likewise.
* nss/nss_files/files-network.c: Likewise.
* nss/nss_files/files-parse.c: Likewise.
* nss/nss_files/files-proto.c: Likewise.
* nss/nss_files/files-rpc.c: Likewise.
* nss/nss_files/files-service.c: Likewise.
* grp/fgetgrent.c: Likewise.
* pwd/fgetpwent.c: Likewise.
* nss/nss_files/files-pwd.c: Get parse_line with extern decl, since
fgetpwent.c already defines it.
* nss/nss_files/files-grp.c: Likewise.

24 years agoTue Jul 2 10:44:37 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Tue, 2 Jul 1996 17:43:03 +0000 (17:43 +0000)]
Tue Jul  2 10:44:37 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* sysdeps/i386/strtok.S (LreturnNULL): Save current state ptr instead
of null, so next round returns null again instead of bombing.  Fix
from drepper.

24 years agoTue Jul 2 10:44:37 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Tue, 2 Jul 1996 14:45:06 +0000 (14:45 +0000)]
Tue Jul  2 10:44:37 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* time/europe, time/northamerica: Updated from ADO 96i.

24 years ago. libc-960702
roland [Mon, 1 Jul 1996 23:04:46 +0000 (23:04 +0000)]
.

24 years ago.
roland [Mon, 1 Jul 1996 23:04:26 +0000 (23:04 +0000)]
.

24 years agoThu Jun 27 14:22:31 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
roland [Mon, 1 Jul 1996 23:04:04 +0000 (23:04 +0000)]
Thu Jun 27 14:22:31 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* stdio/Makefile (routines): Add vscanf.
* stdio-common/Makefile (routines): Remove vscanf.
* stdio-common/vscanf.c: Move to ...
* stdio/vscanf.c: here.

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().