kopensolaris-gnu/glibc.git
24 years agoFri Jul 5 12:22:51 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Fri, 5 Jul 1996 19:17:17 +0000 (19:17 +0000)]
Fri Jul  5 12:22:51 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* time/sys/time.h (TIMEVAL_TO_TIMESPEC): Use `tv_*' instead of `ts_*'
for `struct timespec' member names.
(TIMESPEC_TO_TIMEVAL): Likewise.

24 years agoFri Jul 5 12:22:51 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Fri, 5 Jul 1996 19:17:13 +0000 (19:17 +0000)]
Fri Jul  5 12:22:51 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* time/time.h (struct timespec): Rename members from `ts_*' to `tv_*'.
   Move struct timespec defn outside [_TIME_H] so it can be got with
  #define __need_timespec.

24 years agoFri Jul 5 12:22:51 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Fri, 5 Jul 1996 19:17:10 +0000 (19:17 +0000)]
Fri Jul  5 12:22:51 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* misc/sys/select.h: #define __need_timespec before <sys/time.h> incl.
(struct timeval): Add bodiless decl for scope.

24 years agoFri Jul 5 12:22:51 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Fri, 5 Jul 1996 19:17:07 +0000 (19:17 +0000)]
Fri Jul  5 12:22:51 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* nss/nss_files/files-parse.c (parse_list): Set EOL from LINE if it
points within DATA->linebuffer; otherwise use all of DATA->linebuffer
itself, no need to skip past a NUL.

24 years agoFri Jul 5 12:22:51 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Fri, 5 Jul 1996 19:17:03 +0000 (19:17 +0000)]
Fri Jul  5 12:22:51 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* nss/nsswitch.h (known_function): Comment fix.
* nss/nsswitch.c (nss_lookup_function): Rewritten using __tsearch
directly.  Do the lookup and insertion with a single call, and fill in
the tree node afterwards if new.
(known_compare, nss_find_entry, nss_insert_entry): Functions removed.

24 years agoFri Jul 5 12:22:51 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Fri, 5 Jul 1996 19:16:58 +0000 (19:16 +0000)]
Fri Jul  5 12:22:51 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* extra-lib.mk: Don't test for $($(lib)-no-lib-dep).  Instead match
$(lib) in $(extra-libs-others).
* sunrpc/Makefile (extra-libs-others): New variable.
(librpcsvc-no-lib-dep): Variable removed.

24 years agoFri Jul 5 12:22:51 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Fri, 5 Jul 1996 19:16:55 +0000 (19:16 +0000)]
Fri Jul  5 12:22:51 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* nss/Makefile (extra-libs-others): New variable.

24 years agoThu Jul 4 05:21:59 1996 David Mosberger-Tang <davidm@azstarnet.com>
roland [Fri, 5 Jul 1996 17:05:48 +0000 (17:05 +0000)]
Thu Jul  4 05:21:59 1996  David Mosberger-Tang  <davidm@azstarnet.com>

* login/utmp.h: Fix typos.

24 years agoThu Jul 4 05:21:59 1996 David Mosberger-Tang <davidm@azstarnet.com>
roland [Fri, 5 Jul 1996 17:05:43 +0000 (17:05 +0000)]
Thu Jul  4 05:21:59 1996  David Mosberger-Tang  <davidm@azstarnet.com>

* misc/syslog.c (vsyslog): Use __send instead of send and
  __connect instead of connect to avoid name-space collisions (e.g.,
  with psgetty).

24 years ago.
roland [Fri, 5 Jul 1996 17:05:14 +0000 (17:05 +0000)]
.

24 years agoFri Jul 5 12:22:51 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Fri, 5 Jul 1996 17:02:13 +0000 (17:02 +0000)]
Fri Jul  5 12:22:51 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* elf/rtld.c: Define RTLD_BOOTSTRAP before #include "dynamic-link.h".
* sysdeps/i386/dl-machine.h (elf_machine_rel): Remove weak decl for
_dl_rtld_map.
(RESOLVE): New macro, defined differently based on [RTLD_BOOTSTRAP].
(elf_machine_rel): Use it instead of testing fn ptr arg at runtime.
(elf_machine_rel: case R_386_32) [! RTLD_BOOTSTRAP]: Declare
_dl_rtld_map weak only here.

24 years agoFri Jul 5 12:22:51 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
roland [Fri, 5 Jul 1996 17:02:07 +0000 (17:02 +0000)]
Fri Jul  5 12:22:51 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

* posix/unistd.h [__USE_BSD]: Declare getdomainname, setdomainname.

24 years ago. libc-960705
roland [Thu, 4 Jul 1996 00:07:18 +0000 (00:07 +0000)]
.

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

* wcsmbs/wcrtomb.c (wcrtomb): Fix typo.

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

* posix/getconf.c: Recognize new variables from P1003.1g.
* posix/posix1_lim.h: Define _POSIX_FD_SETSIZE, _POSIX_QLIMIT,
_POSIX_HIWAT, and _POSIX_UIO_MAXIOV.
* posix/unistd.h: Add description of the P1003.1g variables.
* sysdeps/generic/confname.h: Define _SC_* values for new
variables.
* sysdeps/posix/fpathconf.c (fpathconf): Add handling of
_PC_SOCK_MAXBUF.
* sysdeps/stub/fpathconf.c (fpathconf): Ditto.
* sysdeps/posix/sysconf.c (sysconf): Add handling of new
P1003.1g variables.
* sysdeps/stub/sysconf.c (sysconf): Ditto.
* sysdeps/unix/sysv/linux/posix_opt.h: Define _POSIX_POLL and
_POSIX_SELECT since Linux has this.

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

* posix/getconf.c: Recognize new variables from P1003.1g.
* posix/posix1_lim.h: Define _POSIX_FD_SETSIZE, _POSIX_QLIMIT,
_POSIX_HIWAT, and _POSIX_UIO_MAXIOV.
* posix/unistd.h: Add description of the P1003.1g variables.
* sysdeps/generic/confname.h: Define _SC_* values for new
variables.
* sysdeps/posix/fpathconf.c (fpathconf): Add handling of
_PC_SOCK_MAXBUF.
* sysdeps/stub/fpathconf.c (fpathconf): Ditto.
* sysdeps/posix/sysconf.c (sysconf): Add handling of new
P1003.1g variables.
* sysdeps/stub/sysconf.c (sysconf): Ditto.
* sysdeps/unix/sysv/linux/posix_opt.h: Define _POSIX_POLL and
_POSIX_SELECT since Linux has this.

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

* sysdeps/posix/isfdtype.c: New file.

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

The latest Japanese proposal for POSIX locales renames the
CHARMAP keyword in locale definition files to CHARCONV.
* locale/programs/ld-ctype.c, locale/programs/locales.h: Rename
        function ctype_is_charmap to ctype_is_charconv.
* locale/programs/locfile-kw.gperf: Replace charmap keyword with
        charconv.
* locale/programs/locfile-token.h: Add definition of token
        charconv.
* locale/programs/locfile.c: Recognize charconv keyword.  Rename
        lables according to this.

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