about summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
* * sysdeps/unix/sysv/linux/configure.in: Use version number in cacheRoland McGrath1996-07-094-14/+33
| | | | | variable name, so new a libc with new requirements won't fail to notice an insufficient Linux version.
* * sysdeps/unix/sysv/linux/direntry.h: New file from David Mosberger.Roland McGrath1996-07-091-0/+5
| | | | | * sysdeps/unix/sysv/linux/configure.in: Check for Linux 2.0.1 headers, instead of 2.0 headers.
* * sysdeps/mach/hurd/Makefile (stamp-errnos): Uncomment CVS commit cmds.Roland McGrath1996-07-093-4/+7
| | | | | * sysdeps/gnu/errlist.awk: Undo mib's bogus changes. The sysdeps/mach/hurd/errnos.awk bug fix was the only correct change.
* Tue Jul 9 06:19:29 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>Roland McGrath1996-07-093-41/+53
| | | | | | | | | | * sysdeps/generic/machine-gmon.h [NO_UNDERSCORES]: Declare _mcount before using it in lhs of weak_alias. * nss/getXXent_r.c (setup): New function, broken out of SETFUNC_NAME. Call __nss_lookup when not setting STARTP. (SETFUNC_NAME, ENDFUNC_NAME, REENTRANT_GETNAME): Call it to set up for function-calling loop.
* Roland McGrath1996-07-091-7/+2
| | | | | error is 0. The "placeholder" entries recently added to * sysdeps/stub/setdomain.c (setdomainname): Declare NAME parm
* Regenerated from ../sysdeps/gnu/errlist.awk ../manual/errno.texi cvs/libc-960709Thomas Bushnell, BSG1996-07-091-147/+0
|
* *** empty log message ***Thomas Bushnell, BSG1996-07-097-12/+79
| | | | | | | | | | | | | | | | | | | | | | | | | | | Tue Jul 9 00:14:52 1996 Michael I. Bushnell p/BSG <mib@gnu.ai.mit.edu> * sysdeps/mach/hurd/ioctls.h (MDMBUF, ECHO, TOSTOP, FLUSHO, PENDIN, NOFLSH): Undefine these at start if they are already defined to avoid collision with termbits.h. * sysdeps/generic/termbits.h (ECHO, TOSTOP, NOFLSH): Likewise. (MDMBUF, FLUSHO, PENDIN) [__USE_BSD]: Likewise. Mon Jul 8 13:10:50 1996 Michael I. Bushnell p/BSG <mib@gnu.ai.mit.edu> * sysdeps/mach/hurd/errnos.awk: Skip entries where the error is 0. The "placeholder" entries recently added to errno.texi convert to zero since `???/' is at the front of them. * sysdeps/gnu/errlist.awk (errnoh): Likewise. * sysdeps/stub/setdomain.c (setdomainname): Declare NAME parm __const to conform with unistd.h. * posix/regex.c (re_comp, re_exec): Use weak_function as keyword in function defns instead of weak_symbol (NAME) after the defn. * stdlib/stdlib.h (random): Declare return type to be int32_t.
* * stdlib/stdlib.h (random): Declare return type to be int32_t.Thomas Bushnell, BSG1996-07-091-2/+2
|
* Mon Jul 8 13:37:40 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>Roland McGrath1996-07-084-19/+63
| | | | | | | | | | | | | | | * math/math.h (_Mfloat_, _Mlong_double_): New macros, defined iff not already defined to float, long double. Use those macros for _Mdouble_ defns when including mathcalls.h. * math/Makefile [$(long-double-fcts) != yes] (CPPFLAGS): Append -D_Mlong_double_=double. Add more -lm functions to -lc because ldexp uses them. * math/Makefile (calls): Add s_finite, s_copysign, s_scalbn, s_modf. (routines): Remove s_modf, add s_frexpf, s_ldexpf; all but frexp and ldexp have both f and l code, and those have f though not l code. memcpy for possibly overlapping strings.
* Mon Jul 8 02:14:25 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>Roland McGrath1996-07-081-4/+6
| | | | | | | | | | | | * math/math.h (_Mfloat_, _Mlong_double_): New macros, defined iff not already defined to float, long double. Use those macros for _Mdouble_ defns when including mathcalls.h. * math/Makefile [$(long-double-fcts) != yes] (CPPFLAGS): Append -D_Mlong_double_=double. Add more -lm functions to -lc because ldexp uses them. * math/Makefile (calls): Add s_finite, s_copysign, s_scalbn, s_modf. (routines): Remove s_modf, add s_frexpf, s_ldexpf; all but frexp and ldexp have both f and l code, and those have f though not l code.
* *** empty log message ***Thomas Bushnell, BSG1996-07-081-0/+5
| | | | | | | Mon Jul 8 13:10:50 1996 Michael I. Bushnell p/BSG <mib@psilocin.gnu.ai.mit.edu> * string/argz-delete.c (argz_delete): Use memmove instead of memcpy for possbly overlapping strings.
* string/argz-delete.c (argz_delete): Use memmove instead of memcpy for ↵Thomas Bushnell, BSG1996-07-081-1/+1
| | | | possbly overlapping strings.
* Regenerated: autoconf sysdeps/generic/configure.inMiles Bader1996-07-082-10/+6
|
* Regenerated: autoconf sysdeps/unix/common/configure.inMiles Bader1996-07-081-3/+3
|
* * stdlib/strtod.c: Likewise.Roland McGrath1996-07-082-3/+4
|
* Mon Jul 8 02:14:25 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> cvs/libc-960708Roland McGrath1996-07-086-71/+116
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * libc-symbols.h [GCC >= 2.7] (strong_alias, weak_alias): Use extern storage class. GCC gives an error for non-extern data defns with the alias attribute. Mon Jul 8 00:11:15 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> * libc-symbols.h (weak_function): New macro. For GCC 2.7+ define as __attribute__ ((weak)). * elf/dl-minimal.c: Use weak_function as keyword in function defns instead of weak_symbol (NAME) after the defn. * stdlib/strtol.c: Likewise. * sysdeps/mach/hurd/dl-sysdep.c: Likewise. * sysdeps/alpha/dl-machine.h (elf_machine_rela) [RTLD_BOOTSTRAP]: If this is defined, don't declare _dl_rtld_map as weak, and don't check for MAP pointing to it. RESOLVE is always null in this case, so test with #ifdef instead of if. * libc-symbols.h (symbol_set_declare): Use weak_extern instead of weak_symbol. * csu/initfini.c (_init): Likewise. * locale/setlocale.c (DEFINE_CATEGORY): Likewise. * misc/efgcvt_r.c: Likewise. * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise. * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise. * libc-symbols.h [ASSEMBLER] (weak_symbol): Macro removed. It was not used in any assembler code. (weak_symbol_asm): Renamed to weak_extern_asm. (weak_extern): New macro replaces weak_symbol for weak extern refs; define to weak_extern_asm for [!ASSEMBLER]. * libc-symbols.h [! ASSEMBLER] [HAVE_WEAK_SYMBOLS] (weak_symbol_asm, weak_alias_asm): New macros, renamed from weak_symbol/weak_alias; define those now as aliases. Change conditional to use __attribute__ syntax for GCC 2.7+, not 2.8+ [GCC >= 2.7] [HAVE_WEAK_SYMBOLS] (weak_symbol): Do weak_symbol_asm after GCC weak attribute decl.
* Mon Jul 8 00:11:15 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>Roland McGrath1996-07-084-6/+5
| | | | | | | | | | * libc-symbols.h (symbol_set_declare): Use weak_extern instead of weak_symbol. * csu/initfini.c (_init): Likewise. * locale/setlocale.c (DEFINE_CATEGORY): Likewise. * misc/efgcvt_r.c: Likewise. * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise. * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
* *** empty log message ***Thomas Bushnell, BSG1996-07-081-1/+7
| | | | | | | | | | Mon Jul 8 01:37:34 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu> * string/argz-insert.c (__argz_insert): (__argz_insert): Use memmove instead of memcpy for possible overlapping strings. POINT_COL. Add POINT_OFFS field.
* (__argz_insert): Use memmove instead of memcpy for possible overlapping strings.Thomas Bushnell, BSG1996-07-081-2/+2
|
* * sysdeps/gnu/errlist.awk (BEGIN): Initialize associative array ALIAS,Roland McGrath1996-07-073-3/+11
| | | | | | map EWOULDBLOCK->EAGAIN, EDEADLOCK->EDEADLK. (element printer): Check for elt in ALIAS, instead of special case for EWOULDBLOCK.
* * io/Makefile (headers): Add sys/vfs.h.Roland McGrath1996-07-073-1/+8
| | | | * io/sys/vfs.h: New file.
* * stdio/linewrap.c (lwupdate): New function, mostly wasRoland McGrath1996-07-071-4/+4
| | | | | | __line_wrap_update. Use POINT_COL field instead of POINT. * stdio/linewrap.h (struct line_wrap_data): Rename POINT field to POINT_COL. Add POINT_OFFS field.
* Sun Jul 7 18:42:06 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>Roland McGrath1996-07-071-1/+7
| | | | | | | | * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Don't unlock the critical section lock before unlinking dying active resources. The unlock just before return is right (i.e. old code unlocked twice). * stdio/linewrap.c (lwupdate): Update D->point_offs when done.
* Sun Jul 7 18:42:06 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>Roland McGrath1996-07-071-1/+0
| | | | | | * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Don't unlock the critical section lock before unlinking dying active resources. The unlock just before return is right (i.e. old code unlocked twice).
* Recognize rtems as an o/s.Doug Evans1996-07-071-1/+1
|
* Sun Jun 2 22:28:43 1996 Miles Bader <miles@gnu.ai.mit.edu>Miles Bader1996-07-072-17/+51
| | | | | | | | | | | | | | | | | | | | | | | * linewrap.c (lwupdate): Update D->point_offs when done. Use memmove instead of memcpy where overlap is possible (not necessary using current implementation of memcpy, but...). (__line_wrap_update): Don't update D->point_offs (lwupdate does it). Fri May 31 11:48:46 1996 Miles Bader <miles@gnu.ai.mit.edu> * linewrap.c (lwupdate): New function, mostly was __line_wrap_update. Use POINT_COL field instead of POINT. (__line_wrap_output): Use lwupdate. (__line_wrap_update): New function. (ensure_unwrapped, ensure_wrapped): New functions. (line_wrap_set_lmargin, line_wrap_set_rmargin, line_wrap_set_wmargin, line_wrap_point): Use __line_wrap_update. * linewrap.h (struct line_wrap_data): Rename POINT field to POINT_COL. Add POINT_OFFS field. (__line_wrap_update): New decl. (line_wrap_set_lmargin, line_wrap_set_rmargin, line_wrap_set_wmargin, line_wrap_point): Use __line_wrap_update.
* (lwupdate): New function, mostly was __line_wrap_update. Use POINT_COL ↵Miles Bader1996-07-071-54/+122
| | | | field instead of POINT. Update D->point_offs when done. Use memmove instead of memcpy where overlap is possible (not necessary using current implementation of memcpy, but...). (__line_wrap_output): Use lwupdate. (__line_wrap_update): New function. (line_wrap_set_lmargin, line_wrap_set_rmargin, line_wrap_set_wmargin, line_wrap_point): Use __line_wrap_update. (ensure_unwrapped, ensure_wrapped): New functions.
* Fri Jul 5 12:22:51 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> cvs/libc-960707Roland McGrath1996-07-061-1/+1
|
* Fri Jul 5 12:22:51 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>Roland McGrath1996-07-063-91/+97
|
* Fri Jul 5 12:22:51 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>Roland McGrath1996-07-061-2/+3
| | | | | * math/Makefile (routines): Move s_ldexp, s_frexp, s_modf here from calls, since the f and l versions are not all there yet.
* Fri Jul 5 17:34:47 1996 Miles Bader <miles@gnu.ai.mit.edu> cvs/libc-960706Miles Bader1996-07-063-17/+36
| | | | | | | | | | | | | | | | * login/logout.c (logout): Do nothing if getutline_r returns ESRCH. * login/pututline_r.c (pututline_r): Since we assign RESULT from lseek now, check that it's >= 0, not == 0. Wed Jul 3 13:28:04 1996 Miles Bader <miles@gnu.ai.mit.edu> * login/login.c (login): Make a copy of *UT, fill in various fields that we supply (ut_line, ut_type, ut_pid), and use the copy in place of UT. * login/getutline_r.c (getutline_r): When we return ESRCH, mark UTMP_DATA->ubuf invalid (by setting UTMP_DATA->loc_utmp to 0).
* (pututline_r): Since we assign RESULT from lseek now, check that it's >= ↵Miles Bader1996-07-061-3/+3
| | | | 0, not == 0.
* Fri Jul 5 12:22:51 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>Roland McGrath1996-07-051-1/+1
| | | | | | * math/Makefile (calls): Add s_ldexp, s_frexp, s_modf. These functions are traditionally duplicated in libc and libm. Go with the flow.
* * hurd/hurdsig.c (_hurd_internal_post_signal): In case of handledRoland McGrath1996-07-051-0/+8
| | | | | | | | | signal during critical section doing interruptible RPC, if _hurdsig_abort_rpcs wants to change thread state, do thread_set_state before thread_resume. If in critical section, pass 0 for SIGNO to _hurdsig_abort_rpcs so rpc is interrupted regardless of SA_RESTART. * extra-lib.mk: Fix typo in $(extra-libs-others) conditional.
* (getutline_r): When we return ESRCH, mark UTMP_DATA->ubuf invalid (by ↵Miles Bader1996-07-051-0/+1
| | | | setting UTMP_DATA->loc_utmp to 0).
* Fri Jul 5 12:22:51 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>Roland McGrath1996-07-052-4/+26
| | | | | | | | * hurd/hurdsig.c (_hurd_internal_post_signal): In case of handled signal during critical section doing interruptible RPC, if _hurdsig_abort_rpcs wants to change thread state, do thread_set_state before thread_resume. If in critical section, pass 0 for SIGNO to _hurdsig_abort_rpcs so rpc is interrupted regardless of SA_RESTART.
* * sysdeps/unix/sysv/linux/sys/user.h: New file.Roland McGrath1996-07-054-1/+7
| | | | | * sysdeps/unix/sysv/linux/Dist: Add it. * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add sys/user.h.
* * nss/nss_files/files-parse.c (parse_list): Set EOL from LINE if itRoland McGrath1996-07-0512-136/+197
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | points within DATA->linebuffer; otherwise use all of DATA->linebuffer itself, no need to skip past a NUL. * 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. * misc/sys/select.h: #define __need_timespec before <sys/time.h> incl. (struct timeval): Add bodiless decl for scope. * 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. * time/sys/time.h (TIMEVAL_TO_TIMESPEC): Use `tv_*' instead of `ts_*' for `struct timespec' member names. (TIMESPEC_TO_TIMEVAL): Likewise. * nss/Makefile (extra-libs-others): New variable. * 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. Thu Jul 4 05:21:59 1996 David Mosberger-Tang <davidm@azstarnet.com> * login/utmp.h: Fix typos. * misc/syslog.c (vsyslog): Use __send instead of send and __connect instead of connect to avoid name-space collisions (e.g., with psgetty).
* Fri Jul 5 12:22:51 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>Roland McGrath1996-07-054-26/+59
| | | | | | | | | | | | * 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. * posix/unistd.h [__USE_BSD]: Declare getdomainname, setdomainname.
* Wed Jul 3 16:29:41 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> cvs/libc-960705 cvs/libc-960704Roland McGrath1996-07-0432-70/+528
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * nss/getXXbyYY_r.c (REENTRANT_NAME): Cast FCT in __nss_next call. * sysdeps/generic/sbrk.c: Always call __brk (0) to update __curbrk. * malloc/malloc-size.c (malloc_usable_size): Renamed from malloc_object_allocation_size. * malloc/malloc.h: Fix decl. * sys/select.h: New file, wrapper header. * posix/sys/types.h [__USE_BSD]: Include <sys/select.h>; remove fd_set, associated macros, and select decl. * sysdeps/posix/isfdtype.c: New file. 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. * locale/weight.h (get_weight): Cast constants to prevent warnings. * stdlib/strtod.c, stdlib/strtol.c, string/strcoll.c, string/strxfrm.c: Add some more casts to prevent signed<->unsigned warnings. 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(). * 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. * socket/Makefile (routines): Add isfdtype. * sysdeps/generic/sys/socket.h: Add prototype for isfdtype. * sysdeps/stub/isfdtype.c: New file. Stub implementation of isfdtype. * wcsmbs/wcrtomb.c (wcrtomb): Fix typo.
* * elf/Makefile (LDFLAGS-dl.so): New variable.Roland McGrath1996-07-033-1/+117
| | | | | | (libdl.so): Depend on eval.so. (distribute): Add eval.c. * elf/eval.c: New file.
* Wed Jul 3 11:26:28 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>Roland McGrath1996-07-038-53/+100
| | | | | | | | | | | | | | | | | | | | | | | | | * time/strftime.c (strftime: do_number): Adjust P and I after sprintf in case it wrote fewer than MAXDIGITS chars. * 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. * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Depend on libc.so. * sysdeps/mach/hurd/Makefile (LDLIBS-c.so): Variable removed. (libc.so): Instead, give this deps on lib{mach,hurd}user.so. * elf/dl-debug.c (_dl_debug_initialize): Use LDBASE arg instead of extracting _dl_rtld_map.l_addr. * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare _dl_rtld_map as weak. * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise. * shlib-versions (*-*-*): Set libnss_db=1. * elf/rtld.c (dl_main): Set _dl_rtld_map's DT_DEBUG location too.
* Wed Jul 3 11:26:28 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>Roland McGrath1996-07-031-0/+1
| | | | * shlib-versions (*-*-*): Set libnss_db=1.
* (login): Only Frob OLD->ut_type if getutline_r actually found any entry. cvs/libc-960703Miles Bader1996-07-031-1/+5
|
* Tue Jul 2 10:44:37 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>Roland McGrath1996-07-021-0/+5
| | | | * elf/rtld.c (dl_main): Set _dl_rtld_map's DT_DEBUG location too.
* * rpm/template (%build): Use @prefix@ instead of always /usr.Roland McGrath1996-07-023-3/+11
| | | | | Set up configparms only if @prefix@ is in fact /usr. * rpm/Makefile ($(config)): Substitute $(prefix) for @prefix@.
* * elf/Makefile: Add missing endif.Roland McGrath1996-07-022-0/+3
|
* * nss/nss_files/files-ethers.c (ntohost): Fix db key.Roland McGrath1996-07-023-2/+7
|
* * nss/nss_files/files-network.c: Pass empty for new DB_LOOKUP args.Roland McGrath1996-07-0220-123/+357
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (DATABASE): Define this instead of DATAFILE. * nss/nss_files/files-hosts.c: Likewise. (hostbyname): Use LOOKUP_NAME macro. * 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/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. * elf/linux-compat.c: File removed. * elf/Makefile (distribute): Remove linux-compat.c. (ld-linux.so.1): Remove target and associated variables. * sunrpc/xdr.c: Remove malloc decl. * sunrpc/portmap.c: Likewise. * sunrpc/svc_tcp.c (abort): Don't declare. Instead define as macro casting abort to fn returning bool_t. * 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. * Makeconfig (BUILD_CC): If undefined, define to $(CC). * sunrpc/rpc/types.h: Include stdlib.h instead of declaring malloc. * Makeconfig (built-program-cmd): Use $(rtld-installed-name) in place of ld.so so lookups for that soname find it. * nss/Makefile (libnss_dns.so): Depend on libresolv.so. (resobjdir, LDLIBS-nss_dns.so): Variables removed.
* Tue Jul 2 10:44:37 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>Roland McGrath1996-07-0218-218/+375
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-XXX.c (internal_getent): Return NSS_STATUS_TRYAGAIN for ERANGE error. * sysdeps/i386/strtok.S (LreturnNULL): Save current state ptr instead of null, so next round returns null again instead of bombing. Fix from drepper. * 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. * 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. * 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. * time/europe, time/northamerica: Updated from ADO 96i. * stdio-common/tst-ungetc.c: Include unistd.h.