about summary refs log tree commit diff
path: root/nis
Commit message (Collapse)AuthorAgeFilesLines
...
* Include <string.h> for strncmp.Andreas Jaeger2004-04-031-0/+1
|
* Update.Ulrich Drepper2004-04-035-10/+10
| | | | | | | | | | | | | | | | | | | | | | | | 2004-04-02 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/internal_statvfs64.c: New file. * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines): Add internal_statvfs64. * sysdeps/unix/sysv/linux/internal_statvfs.c: Allow to be used to compile 64bit version. * sysdeps/unix/sysv/linux/statvfs64.c: Use __fstatfs64 and skip compatibility code if __ASSUME_STATFS64 is defined. * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise. * sysdeps/unix/sysv/linux/statfs64.c: Don't add __no_statfs64 if __ASSUME_STATFS64 != 0. 2004-04-02 Thorsten Kukuk <kukuk@firun.suse.de> * nis/nss_nis/nis-ethers.c (saveit): Fix return codes in error case. * nis/nss_nis/nis-initgroups.c (saveit): Likewise. * nis/nss_nis/nis-proto.c (saveit): Likewise. * nis/nss_nis/nis-rpc.c (saveit): Likewise. * nis/nss_nis/nis-service.c (saveit): Likewise.
* Update.Ulrich Drepper2004-04-024-80/+100
| | | | | | | | | | | | | | | | | | | | | 2004-04-02 Jakub Jelinek <jakub@redhat.com> * nis/nss: Add SERVICES_AUTHORITATIVE. * nis/nss-nis.h (NSS_FLAG_SET, NSS_FLAG_NETID_AUTHORITATIVE, NSS_FLAG_SERVICES_AUTHORITATIVE): Define. (_nis_default_nss_flags, _nis_check_default_nss): New decls. (_nis_default_nss): New inline. * nis/nss-nis.c: Include ctype.h, stdio.h and stdio_ext.h. (_nis_default_nss_flags, default_nss): New variables. (_nis_check_default_nss): New function. * nis/nss_nis/nis-initgroups.c: Don't include stdio.h and stdio_ext.h. (check_default_nss, default_nss): Move to nss-nis.c. (init): Removed. (_nss_nis_initgroups_dyn): Use _nis_default_nss (). * nis/nss_nis/nis-services.c (_nss_nis_getservbyname_r): If NSS_FLAG_SERVICES_AUTHORITATIVE and services.byservicename lookup fails, return immediately.
* Add SERVICES_AUTHORITATIVE.Ulrich Drepper2004-04-021-3/+11
|
* Update.Ulrich Drepper2004-04-011-46/+42
| | | | | | | | | | | | | 2004-04-01 Jakub Jelinek <jakub@redhat.com> * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r): If protocol is NULL, instead of trying yp_match (name/tcp), yp_match (name/udp), yp_all, try yp_match (name), yp_all. 2004-04-01 Ulrich Drepper <drepper@redhat.com> * sysdeps/generic/dl-sysdep.c (_dl_show_auxv): Add handling for ignored entries. Ignore AT_IGNOREPPC.
* Update.Ulrich Drepper2004-03-311-11/+19
| | | | | | | | | | | | | | | | | 2004-03-30 Jakub Jelinek <jakub@redhat.com> * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r): If protocol == NULL, try name/tcp and name/udp first before falling back into the sequential scanning. Use services.byname database for sequential scanning. (_nss_nis_getservbyport_r): Likewise. Just allocate sizeof (int) * 3 chars for integer. * nis/nss_nis/nis-service.c (_nss_nis_getservbyport_r): Convert proto to host by order for snprintf. * nss/getent.c (services_keys): Don't implement lookups with missing protocol using getservent loop, just pass NULL.
* Update.Ulrich Drepper2004-03-303-2/+18
| | | | | * nis/Makefile (distribute): Add nss. * nis/nss: New file.
* Update.Ulrich Drepper2004-03-301-7/+204
| | | | | | | | | | 2004-03-30 Ulrich Drepper <drepper@redhat.com> * nis/nss_nis/nis-initgroups.c: Implement getting the information from the netid.byname map if the system administrator allows this. * grp/initgroups.c (initgroups): Limit the initial allocation to 64 entries to not allocate too much on systems with really high limits.
* Update.Ulrich Drepper2004-03-301-54/+120
| | | | | | | | | | 2004-03-30 Jakub Jelinek <jakub@redhat.com> * nis/nss_nis/nis-service.c (struct search_t): New type. (dosearch): New function. (_nss_nis_getservbyname_r): Use it. Call yp_get_default_domain unconditionally. (_nss_nis_getservbyport_r): Likewise.
* Update.Ulrich Drepper2004-03-295-111/+63
| | | | | | | | | | | | | | | | | | * nis/nss_nis/nis-rpc.c (saveit): Improve memory. No need to allocate multiple blocks. (internal_nis_endrpcent): Adjust accordingly. * nis/nss_nis/nis-proto.c (saveit): Improve memory. No need to allocate multiple blocks. (internal_nis_endprotoent): Adjust accordingly. * nis/nss_nis/nis-initgroups.c (saveit): Improve memory. No need to allocate multiple blocks. (_nss_nis_initgroups_dyn): Adjust accordingly. * nis/nss_nis/nis-ethers.c (saveit): Improve memory. No need to allocate multiple blocks. (internal_nis_endetherent): Adjust accordingly. * nis/nss_nis/nis-service.c (saveit): Improve memory. No need to allocate multiple blocks. (internal_nis_endservent): Adjust accordingly.
* Update.Ulrich Drepper2004-03-291-4/+2
| | | | | | | 2004-03-26 Thorsten Kukuk <kukuk@suse.de> * nis/nss_nis/nis-grp.c (_nss_nis_getgrnam_r): Don't set errno if group does not exist.
* * Makerules ($(common-objpfx)shlib.lds): Don't use \n in rhs of sedRoland McGrath2004-03-251-11/+9
| | | | | | | | | | | | | | | | | | | | | | | substitutions; the semicolon terminators are enough for ld anyway. * elf/dl-deps.c (_dl_map_object_deps): Use alloca instead of dynamically sized auto array in function already using alloca. * locale/programs/ld-ctype.c (ctype_output): Likewise. * locale/programs/ld-time.c (time_output): Likewise. * elf/dl-misc.c (_dl_debug_vdprintf): Use macro instead of const for IOV array size. * locale/programs/charmap.c (charmap_read): Avoid alloca (or strdupa) when also using dynamically-sized auto array. * locale/programs/locfile.c (locfile_read): Likewise. * locale/programs/repertoire.c (repertoire_read): Likewise. * nis/nis_print_group_entry.c (nis_print_group_entry): Likewise. * locale/programs/locarchive.c (enlarge_archive): Likewise. * posix/annexc.c (check_header): Likewise. * iconv/gconv_int.h (norm_add_slashes): Don't handle null SUFFIX. strlen ("") gets optimized away just as well. * intl/loadmsgcat.c (_nl_init_domain_conv): Update caller. * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
* Cleanup last patch.Ulrich Drepper2004-02-091-12/+12
|
* * nis/ypclnt.c (__yp_bind_client_create): New, small chunkRoland McGrath2004-02-091-154/+168
| | | | | | | | | | | of duplicated code from __yp_bind. (__yp_bind_file): New, binding dir code from __yp_bind. (__yp_bind_client_create): New, ypbind code from __yp_bind. (__ypclnt_call): New, make NIS query. (do_ypcall): At first use cached data, then try data from binding directory, after this ask ypbind for a working ypserv. Based on a patch from Jeff Bastian <jmbastia@ti.com> and Chris Barrera <cbarrera@ti.com>
* Update.Ulrich Drepper2003-09-2513-93/+275
| | | | | | | | | | | | | | | | | | | * nis/nis_table.c (nis_list): Always strdup string used with ibreq->ibr_name. Add several NULL pointer checks. * nis/nss_nisplus/nisplus-alias.c: Add check for NULL return value of nis_list. * nis/nss_nisplus/nisplus-ethers.c: Likewise. * nis/nss_nisplus/nisplus-grp.c: Likewise. * nis/nss_nisplus/nisplus-hosts.c: Likewise. * nis/nss_nisplus/nisplus-netgrp.c: Likewise. * nis/nss_nisplus/nisplus-network.c: Likewise. * nis/nss_nisplus/nisplus-proto.c: Likewise. * nis/nss_nisplus/nisplus-publickey.c: Likewise. * nis/nss_nisplus/nisplus-pwd.c: Likewise. * nis/nss_nisplus/nisplus-rpc.c: Likewise. * nis/nss_nisplus/nisplus-service.c: Likewise. * nis/nss_nisplus/nisplus-spwd.c: Likewise.
* Update.Ulrich Drepper2003-09-021-38/+28
| | | | | | | | | | | | | | | | | | 2003-09-01 Thorsten Kukuk <kukuk@suse.de> * nis/nss_compat/compat-spwd.c (getspnam_plususer): Return NSS_STATUS_SUCCESS if entry was found. (getspent_next_file): Store user in blacklist after entry was found, use innetgr. 2003-09-01 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: New. * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: New. * sysdeps/generic/dl-tls.c (_dl_determine_tlsoffset): Fix tls offset computation for TCB_AT_TP. Support l_firstbyte_offset != 0 for DTV_AT_TP, optimize.
* Update.Ulrich Drepper2003-06-282-5/+6
| | | | | | | 2003-06-28 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop): Add real implementation.
* Update.Ulrich Drepper2003-06-283-466/+248
| | | | | | | | | | | | | | | | | | | | | | | 2003-06-07 Thorsten Kukuk <kukuk@suse.de> * nis/nss_compat/compat-grp.c: Remove unused nis_first variable (getgrent_next_file) Don't store group name to early in blacklist. * nis/nss_compat/compat-pwd.c (internal_getpwuid_r): Save strlen result and use memcpy instead of strcpy. 2003-06-28 Ulrich Drepper <drepper@redhat.com> * nis/nss_compat/compat-grp.c: Optimize several little things. Use stream unlocked. * nis/nss_compat/compat-initgroups.c: Likewise. * nis/nss_compat/compat-pwd.c: Likewise. * nis/nss_compat/compat-spwd.c: Likewise. 2003-06-27 Thorsten Kukuk <kukuk@suse.de> * nis/nss_compat/compat-initgroups.c: Don't use our own NIS/NIS+ functions, dlopen corresponding NSS module instead.
* Optimize several little things. Use stream unlocked.Ulrich Drepper2003-06-283-35/+46
|
* Update.Ulrich Drepper2003-06-265-1764/+558
| | | | | | | | | | | | | | | | | | | | | 2003-06-17 Thorsten Kukuk <kukuk@suse.de> * nis/Makefile: Remove NIS/NIS+ files from nss_compat module. * nis/nss_compat/compat-grp.c: Don't use our own NIS/NIS+ functions, dlopen corresponding NSS module instead. * nis/nss_compat/compat-pwd.c: Likewise. * nis/nss_compat/compat-spwd.c: Likewise. * nis/nss_compat/compat-initgroups.c: Disabled for now. * nss/Versions: Export __nss_lookup_function. 2003-06-19 Daniel Jacobowitz <drow@mvista.com> * sysdeps/unix/sysv/linux/kernel-features.h: Update kernel features for the SH architecture. 2003-06-25 Thorsten Kukuk <kukuk@suse.de> * csu/Makefile: Use CPPFLAGS to find correct linux/version.h.
* Update.Ulrich Drepper2003-04-231-26/+10
| | | | | | * nis/ypclnt.c (__yp_bind): Expect ypdb parameter to always we != NULL. Remove code made redundant by this assumption. (__yp_unbind): Add call to free. Adjust all callers.
* Update.Ulrich Drepper2003-04-231-4/+11
| | | | | * nis/ypclnt.c (yp_all): Free the dom_binding object after unwinding it.
* Update.Ulrich Drepper2003-04-231-7/+5
| | | | | | | | | | 2003-04-23 Ulrich Drepper <drepper@redhat.com> * grp/initgroups.c (getgrouplist): Don't copy too much into the user buffer if more groups are found than fit into it. * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Use extend_alloca.
* * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r): int -> size_tRoland McGrath2003-03-164-5/+5
| | | | | | * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise. * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Likewise. * nis/nis_table.c (__create_ib_request): Likewise.
* Update.Ulrich Drepper2003-01-197-128/+80
| | | | | | | | | | | | | | | | | | | | | | 2003-01-19 Ulrich Drepper <drepper@redhat.com> * nis/nss_nis/nis-spwd.c: Make _nss_nis_endspent an alias of _nss_nis_setspent. Work around the different prototypes. * nis/nss_nis/nis-rpc.c (internal_nis_setrpcent): Use internal_nis_endrpcent. (internal_nis_endrpcent): Change return type to void. Change callers. * nis/nss_nis/nis-pwd.c: Make _nss_nis_endpwent an alias of _nss_nis_setpwent. Work around the different prototypes. * nis/nss_nis/nis-proto.c (_nss_nis_endprotoent): Split out body of the function to... (internal_nis_endprotoent): ... here. New function. (internal_nis_setprotoent): Use internal_nis_endprotoent. * nis/nss_nis/nis-network.c: Make _nss_nis_endnetent an alias of _nss_nis_setnetent. Work around the different prototypes. * nis/nss_nis/nis-netgrp.c (_nss_nis_endnetgrent): Split out body of the function to... (internal_nis_endnetgrent): ... here. New function. (_nss_nis_setnetgrent): Use internal_nis_endnetgrent.
* Update.Ulrich Drepper2003-01-185-119/+72
| | | | | | | | | | | | | | | * nis/nss_nis/nis-hosts.c: Make _nss_nis_endhostent an alias of _nss_nis_sethostent. Work around the different prototypes. * nis/nss_nis/nis-grp.c: Make _nss_nis_endgrent an alias of _nss_nis_setgrent. Work around the different prototypes. * nis/nss_nis/nis-ethers.c (internal_nis_endetherent): New function. Split out from _nss_nis_endetherent. (internal_nis_setetherent): Use internal_nis_endetherent instead of duplicating the code. * nis/nss_nis/nis-alias.c: Make _nss_nss_nis_endaliasent an alias of _nss_nis_setaliasent. * nis/nss_nis/nis-service.c (internal_nis_setservent): Reuse internal_nis_endservent code, don't duplicate it.
* Update.Ulrich Drepper2002-08-2627-362/+232
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * nss/getXXbyYY_r.c (REENTRANT_NAME): Return ENOENT if status is neither SUCCESS nor TRYAGAIN [PR libc/4259]. * nss/nss_files/files-XXX.c (internal_getent): Don't set *errnop to ENOENT if no entry is found. * nis/nss_compat/compat-grp.c: Don't set errno in case of lookup failure. * nis/nss_compat/compat-initgroups.c: Likewise. * nis/nss_compat/compat-pwd.c: Likewise. * nis/nss_compat/compat-spwd.c: Likewise. * nis/nss_nis/nis-alias.c: Likewise. * nis/nss_nis/nis-ethers.c: Likewise. * nis/nss_nis/nis-grp.c: Likewise. * nis/nss_nis/nis-hosts.c: Likewise. * nis/nss_nis/nis-initgroups.c: Likewise. * nis/nss_nis/nis-netgrp.c: Likewise. * nis/nss_nis/nis-network.c: Likewise. * nis/nss_nis/nis-proto.c: Likewise. * nis/nss_nis/nis-publickey.c: Likewise. * nis/nss_nis/nis-pwd.c: Likewise. * nis/nss_nis/nis-rpc.c: Likewise. * nis/nss_nis/nis-service.c: Likewise. * nis/nss_nis/nis-spwd.c: Likewise. * resolv/nss_dns/dns-host.c: Likewise. * resolv/nss_dns/dns-network.c: Likewise. * nis/nss_nisplus/nisplus-alias.c: Save errno around NIS calls. * nis/nss_nisplus/nisplus-ethers.c: Likewise. * nis/nss_nisplus/nisplus-grp.c: Likewise. * nis/nss_nisplus/nisplus-hosts.c: Likewise. * nis/nss_nisplus/nisplus-network.c: Likewise. * nis/nss_nisplus/nisplus-proto.c: Likewise. * nis/nss_nisplus/nisplus-pwd.c: Likewise. * nis/nss_nisplus/nisplus-rpc.c: Likewise. * nis/nss_nisplus/nisplus-service.c: Likewise. * nis/nss_nisplus/nisplus-spwd.c: Likewise. * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Preserve errno value. * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise. * hesiod/nss_hesiod/hesiod-grp.c (lookup): Likewise. * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
* (yp_all): Remove the hack introduced on 1998-09-29. Correctly close the UDP ↵Ulrich Drepper2002-03-211-6/+5
| | | | connection right away.
* Update.Ulrich Drepper2002-02-011-7/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-02-01 Jakub Jelinek <jakub@redhat.com> * Versions.def (libc): Add GLIBC_PRIVATE. (libdb, libnss_db, libdb1): Remove. (libnss_compat, libnss_dns, libnss_files, libnss_hesiod, libnss_nis, libnss_nisplus): Move all symbols to GLIBC_PRIVATE. (libpthread): Add GLIBC_PRIVATE. (libresolv): Likewise, remove GLIBC_2.1. (ld): Add GLIBC_PRIVATE, remove GLIBC_2.1.1, GLIBC_2.2, GLIBC_2.2.1, GLIBC_2.2.3, GLIBC_2.3. * catgets/Versions (__open_catalog): Move to GLIBC_PRIVATE. * elf/Versions (_dl_open, _dl_close, _dl_addr, _dl_init_first, _dl_sym, _dl_vsym): Likewise. (__libc_enable_secure, __libc_stack_end, _dl_argv, _dl_catch_error, _dl_check_all_versions, _dl_check_map_versions, _dl_debug_initialize, _dl_debug_printf, _dl_debug_state, _dl_dst_count, _dl_dst_substitute, _dl_init, _dl_lookup_symbol, _dl_lookup_symbol_skip, _dl_lookup_versioned_symbol, _dl_lookup_versioned_symbol_skip, _dl_map_object, _dl_map_object_deps, _dl_out_of_memory, _dl_relocate_object, _dl_signal_error, _dl_start_profile, _dl_starting_up, _dl_sysdep_start, _dl_unload_cache, _rtld_global): Likewise. (_dl_object_relocation_scope): Remove. * hesiod/Versions: Move all symbols to GLIBC_PRIVATE. * iconv/Versions (__gconv_alias_db, __gconv_modules_db, __gconv_cache): Move to GLIBC_PRIVATE. * inet/Versions (__internal_endnetgrent, __internal_getnetgrent_r, __internal_setnetgrent): Likewise. * io/Versions (__libc_open, __libc_close, __libc_read, __libc_write, __libc_lseek, __libc_fcntl, __libc_open64, __libc_lseek64): Likewise. * locale/Versions (__collate_element_hash, __collate_element_strings, __collate_symbol_classes, __collate_symbol_hash, __collate_symbol_strings, _nl_current_LC_COLLATE, _nl_current_LC_CTYPE): Likewise. * misc/Versions (__libc_fsync, __libc_msync): Likewise. * nis/Versions (libnss_compat): Move all symbols to GLIBC_PRIVATE. (libnss_nis, libnss_nisplus): Likewise. * nss/Versions (_nss_files_parse_grent, _nss_files_parse_pwent, _nss_files_parse_spent): Move to GLIBC_PRIVATE. (libnss_files): Move all symbols to GLIBC_PRIVATE. * posix/Versions (__libc_wait, __libc_waitpid, __libc_pause, __libc_nanosleep, __libc_fork, __libc_pread, __libc_pread64, __libc_pwrite, __libc_pwrite64): Move to GLIBC_PRIVATE. * resolv/Versions (__gai_sigqueue, __ns_name_unpack, __ns_name_ntop, __ns_get16, __ns_samename): Likewise. (libnss_dns): Move all symbols to GLIBC_PRIVATE. * setjmp/Versions (__libc_longjmp, __libc_siglongjmp): Move to GLIBC_PRIVATE. * socket/Versions (__libc_accept, __libc_send, __libc_recvfrom, __libc_recvmsg, __libc_sendmsg, __libc_recv, __libc_sendto, __libc_connect): Likewise. * stdio-common/Versions (_itoa_lower_digits, _itoa_upper_digits): Likewise. * stdlib/Versions (__libc_system): Likewise. * sunrpc/Versions (__rpc_thread_destroy): Likewise. * sysdeps/hppa/Versions: Move all symbols to GLIBC_PRIVATE. * sysdeps/ia64/fpu/Versions: Likewise. * sysdeps/ia64/Versions: Likewise. * sysdeps/unix/sysv/linux/ia64/Versions: Likewise. * sysdeps/unix/sysv/linux/i386/Versions (__modify_ldt): Move to GLIBC_PRIVATE. * sysdeps/unix/sysv/linux/x86_64/Versions (__modify_ldt): Likewise. * sysdeps/unix/sysv/linux/Versions (__syscall_rt_sigqueueinfo, __libc_sigaction): Likewise. * termios/Versions (__libc_tcdrain): Likewise. * misc/sys/cdefs (__attribute_noinline__): Define. * elf/dl-lookup.c (_dl_do_lookup, _dl_do_lookup_versioned): Add __attribute_noinline__. * elf/Makefile (rtld-routines): Add dl-xstat64, dl-fxstat64. * elf/dl-xstat64.c: New file. * elf/dl-fxstat64.c: New file. * sysdeps/unix/sysv/linux/fxstat64.c: If RTLD_STAT64 is defined, don't export __fxstat64 at multiple versions. * sysdeps/unix/sysv/linux/lxstat64.c: Similarly. * sysdeps/unix/sysv/linux/xstat64.c: Similarly.
* Update.Ulrich Drepper2001-12-132-43/+60
| | | | | | | | | | | | 2001-12-12 Ulrich Drepper <drepper@redhat.com> * nis/nis_findserv.c (__nis_findfastest_with_timeout): Mostly the code from __nis_findfastest. Take timeout value from parameter. (__nis_findfastest): Call __nis_findfastest_with_timeout repeatedly. * nis/nis_intern.h: Define parameters controlling __nis_findfastest. Patch by Alexander Belopolsky <alexb@rentec.com>. * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix typo in last patch.
* Update.Ulrich Drepper2001-11-279-25/+33
| | | | | | 2001-11-21 Bruno Haible <bruno@clisp.org> * charmaps/ISO-8859-16: Swap 0xa5 and 0xab entries.
* Update.Ulrich Drepper2001-08-291-22/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-08-29 Ulrich Drepper <drepper@redhat.com> * nis/nis_findserv.c (__nis_findfastest): Don't fail if reply received first is from a previous call. Patch by Alexander Belopolsky <alexb@rentec.com> for [PR libc/3670]. 2001-08-29 Andreas Schwab <schwab@suse.de> * sysdeps/ia64/fpu/libm-test-ulps: Updated. 2001-08-25 Maciej W. Rozycki <macro@ds2.pg.gda.pl> * config.make.in (INSTALL_SCRIPT): Define. * Makeconfig (INSTALL_SCRIPT): Define. * Makerules (do-install-script): New macro to install scripts using INSTALL_SCRIPT. (install-bin-script): New rule to install scripts with do-install-script. (install-bin-script-nosubdir): New rule. (install-no-libc.a-nosubdir): Add install-bin-script-nosubdir. (distinfo-vars): Add $(install-bin-script). * Rules (others): Likewise. * Makefile (glibcbug): Install with install-bin-script. * debug/Makefile (xtrace): Likewise. (catchsegv): Likewise. * elf/Makefile (ldd): Likewise. * malloc/Makefile (mtrace): Likewise. * timezone/Makefile (tzselect): Likewise. 2001-08-29 H.J. Lu <hjl@gnu.org> * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Pass ELF_RTYPE_CLASS_PLT, instead of R_MIPS_REL32, to _dl_lookup_versioned_symbol () and _dl_lookup_symbol (). Add it to LDFLAGS.so, LDFLAGS-rtld, and +link.
* Update to LGPL v2.1.Andreas Jaeger2001-07-0676-608/+608
| | | | | | | | | | | | | | 2001-07-06 Paul Eggert <eggert@twinsun.com> * manual/argp.texi: Remove ignored LGPL copyright notice; it's not appropriate for documentation anyway. * manual/libc-texinfo.sh: "Library General Public License" -> "Lesser General Public License". 2001-07-06 Andreas Jaeger <aj@suse.de> * All files under GPL/LGPL version 2: Place under LGPL version 2.1.
* Update.Andreas Jaeger2001-06-061-2/+2
| | | | | | | 2001-06-05 Philipp Thomas <pthomas@suse.de> * nis/nis_call.c (__nisbind_connect): Don't mark for translation what can't be translated.
* Update.Ulrich Drepper2001-05-271-8/+11
| | | | | | | | | | | | | | | | | | | | | | | | | 2001-05-25 Bruce Mitchener <bruce@cubik.org> * manual/ctype.texi: Minor fix. * manual/install.texi: Likewise. * manual/startup.texi: Likewise. * manual/examples/dir.c: Use perror() rather than puts(). 2001-05-25 David Mosberger <davidm@hpl.hp.com> * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Put stuff following #endif directive inside a comment to avoid compiler warnings. 2001-05-25 Philipp Thomas <pthomas@suse.de> * nis/nis_print.c (nis_nstype2str): Don't mark names of naming services for translation, only UNKNOWN needs it. Add comment to prevent it for the future. 2001-05-25 Joseph S. Myers <jsm28@cam.ac.uk> * misc/sys/cdefs.h (__restrict_arr): Define appropriately for GCC 3.1 and non-GCC C99 compilers.
* Update.Ulrich Drepper2001-04-281-1/+1
| | | | * nis/Makefile (libnss_compat-rountines): Add nss-nisplus.
* Update.Ulrich Drepper2001-04-282-4/+4
| | | | | | | 2001-04-27 Ulrich Drepper <drepper@redhat.com> * nis/nss-nis.h: Correct test for invalid error number. * nis/nss-nisplus.h: Likewise.
* Update.Ulrich Drepper2001-04-2621-82/+82
| | | | | | | | | | | | | | * nss_nis/nis-alias.c: Likewise. * nss_nis/nis-ethers.c: Likewise. * nss_nis/nis-grp.c: Likewise. * nss_nis/nis-network.c: Likewise. * nss_nis/nis-proto.c: Likewise. * nss_nis/nis-pwd.c: Likewise. * nss_nis/nis-spwd.c: Likewise. * nss_compat/compat-grp.c: Likewise. * nss_compat/compat-initgroups.c: Likewise. * nss_compat/compat-pwd.c: Likewise. * nss_compat/compat-spwd.c: Likewise.
* Update.Ulrich Drepper2001-04-263-55/+85
| | | | | | | | | | | | | | | | | | | * nis/nss-nisplus.h: Move niserr2nss_tab definition into separate file and rename to __niserr2nss_tab. Change NISERR_COUNT into variable __niserr2nss_count. * nis/nss-nisplus.c: New file. (libnss_nisplus-routines): Add nss-nisplus. * nss_nisplus/nisplus-alias.c: Remove unnecessary initializations. * nss_nisplus/nisplus-ethers.c: Likewise. * nss_nisplus/nisplus-grp.c: Likewise. * nss_nisplus/nisplus-hosts.c: Likewise. * nss_nisplus/nisplus-network.c: Likewise. * nss_nisplus/nisplus-proto.c: Likewise. * nss_nisplus/nisplus-pwd.c: Likewise. * nss_nisplus/nisplus-rpc.c: Likewise. * nss_nisplus/nisplus-service.c: Likewise. * nss_nisplus/nisplus-spwd.c: Likewise.
* Update.Ulrich Drepper2001-04-263-25/+54
| | | | | | | | | | | | | | 2001-04-26 Ulrich Drepper <drepper@redhat.com> * nis/nss-nis.h: Move yperr2nss_tab definition into separate file and rename to __yperr2nss_tab. Change YPERR_COUNT into variable __yperr2nss_count. * nis/nss-nis.c: New file. * nis/Makefile (libnss_compat-routines): Add nss-nis. (libnss_nis-routines): Likewise. * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Some more optimizations. Patch by Jakub Jelinek <jakub@redhat.com>.
* Update.Ulrich Drepper2001-04-041-2/+4
| | | | | | | | 2001-04-04 Ulrich Drepper <drepper@redhat.com> * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r): Pass pointer to int as last parameter of yp_match. Patch by kanazawa@flab.fujitsu.co.jp.
* Update.Ulrich Drepper2001-04-041-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-04-03 Ulrich Drepper <drepper@redhat.com> * misc/dirname.c (dirname): Handle multiple slashes correctly. 2001-04-03 Martin Schwidefsky <schwidefsky@de.ibm.com> * sysdeps/s390/s390-64/initfini.c: Fix __gmon_start__ GOT access. 2001-04-03 Martin Schwidefsky <schwidefsky@de.ibm.com> * sysdeps/s390/s390-32/bcopy.S: Optimize for speed. * sysdeps/s390/s390-64/bcopy.S: Likewise. * sysdeps/s390/s390-32/mempcy.S: Likewise. * sysdeps/s390/s390-64/memcpy.S: Likewise. 2001-04-02 Bruno Haible <haible@clisp.cons.org> * manual/message.texi (Advanced gettext functions): More specific syntax in the plural formula examples. 2001-04-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> * sysdeps/powerpc/atomicity.h: Silence warnings. * sysdeps/powerpc/dl-machine.h: Likewise. * sysdeps/powerpc/register-dump.h: Likewise. * sysdeps/powerpc/fpu/s_lrint.c: Likewise. 2001-04-02 Andreas Jaeger <aj@suse.de> * misc/tst-dirname.c (main): Add more tests, derived from a bug report by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>. 2001-04-01 Andreas Jaeger <aj@suse.de> * debug/xtrace.sh (pcprofileso): Use SLIBDIR since libpcprofile.so is installed there. * malloc/memusage.sh (memusageso): Likewise for libmemusage.so. 2001-04-01 H.J. Lu <hjl@gnu.org> * posix/annexc.c (macrofile): Renamed from TMPFILE and set to tmpnam (NULL). * stdlib/isomac.c (macrofile): Likewise. 2001-03-30 Thorsten Kukuk <kukuk@suse.de> * inet/rcmd.c: Allow AF_UNSPEC as parameter. * nis/ypclnt.c (yp_all): Print error message only at last try, check for protocoll error only if we don't have a network error.
* Update.Ulrich Drepper2001-03-181-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-03-18 Ulrich Drepper <drepper@redhat.com> * Makerules (build-shlib): Remove unnecessary slashes introduced in last change. * configure.in: Test for -Bgroup option of linker. * config.make.in: Define have-Bgroup. * conform/data/unistd.h-data: Require gethostname. * posix/unistd.h: Make gethostname prototype available for __USE_XOPEN2K. * crypt/Makefile: When generating DSO link with libc_nonshared.a. * debug/Makefile: Likewise. * dlfcn/Makefile: Likewise. * hesiod/Makefile: Likewise. * iconvdata/extra-module.mk: Likewise. * locale/Makefile: Likewise. * login/Makefile: Likewise. * math/Makefile: Likewise. * nis/Makefile: Likewise. * nss/Makefile: Likewise. * resolv/Makefile: Likewise. * rt/Makefile: Likewise. * posix/unistd.h (gethostname): Change type of second parameter back to size_t as per upcoming XPG6.
* Update.Ulrich Drepper2001-02-021-2/+2
| | | | | | | | | | | | | | | | | 2001-02-02 Ulrich Drepper <drepper@redhat.com> * string/tst-svc.input: Add two more test cases. * string/tst-svc.expect: Modify to reflect new test cases. 2001-02-01 Jakub Jelinek <jakub@redhat.com> * sysdeps/posix/getaddrinfo.c (gaih_local, gaih_inet): Replace all tp->name tests with tp->name[0] tests. 2001-01-29 Ben Collins <bcollins@debian.org> * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r): Fix check for name == NULL.
* Update.Ulrich Drepper2001-01-311-1/+2
| | | | | | | | | 2001-01-30 Ulrich Drepper <drepper@redhat.com> * iconv/gconv_open.c (__gconv_open): Set conv_flags if IGNORE is seen, not flags. * nis/nis_findserv.c: Include <time.h>.
* (main): Use return instead of exit to avoid warning.Andreas Jaeger2000-12-313-92/+92
| | | | | | 2000-12-31 Andreas Jaeger <aj@suse.de> * tst-fmon.c (main): Use return instead of exit to avoid warning.
* Add prototype for foo.Andreas Jaeger2000-12-273-4/+7
|
* * nis/nss_nisplus/nisplus-ethers.c (struct etherent): Removed. Andreas Jaeger2000-12-212-21/+7
| | | | | | | | | | | | | | | | | | | | | * inet/ether_hton.c: Likewise * inet/ether_ntoh.c: Likewise. * nis/nss_nis/nis-ethers.c (_nss_nis_getntohost_r): Fix declaration to match prototype. * include/netinet/ether.h (struct etherent): Declare here so that all implementations use the same struct. * nis/nss_nis/nis-ethers.c: Include netinet/ether.h to get prototypes. (struct ether): Removed. Use struct etherent instead of ether everywhere. * include/rpc/auth.h (DECLARE_NSS_PROTOTYPES): New. * include/rpc/auth_des.h (DECLARE_NSS_PROTOTYPES): New. * sunrpc/publickey.c: Include auth_des.h for prototypes.
* (_nss_nis_setrpcent): Fix declaration to match prototype.Andreas Jaeger2000-12-191-1/+1
|
* * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): New.Andreas Jaeger2000-12-192-2/+6
| | | | | | | | | | | | | * nis/nis_intern.h: Add prototype for __do_niscall3. * nis/nss_nis/nis-rpc.c (_nss_nis_setrpcent): Fix declaration to match prototype. * include/netdb.h (DECLARE_NSS_PROTOTYPES): Reformat. * include/rpc/netdb.h (DECLARE_NSS_PROTOTYPES): New. * include/aliases.h (DECLARE_NSS_PROTOTYPES): New.