Age | Commit message (Collapse) | Author |
|
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.
|
|
|
|
|
|
* elf/tst-execstack.c (do_test): Make F static.
|
|
* sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Use
__sigprocmask not sigprocmask.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
* time/mktime.c: Likewise.
* misc/getpass.c: Likewise.
|
|
* include/string.h: Add libc_hidden_builtin_proto for memcmp.
* sysdeps/generic/memcmp.c: Add libc_hidden_builtin_def.
* sysdeps/i386/memcmp.S: Likewise.
* sysdeps/i386/i686/memcmp.S: Likewise.
* sysdeps/ia64/memcmp.S: Likewise.
* sysdeps/sparc/sparc64/memcmp.S: Likewise.
* sysdeps/unix/sysv/linux/sigprocmask.c: Include <string.h>.
|
|
* time/difftime.c (__difftime): New renamed. Make old name alias.
Use __difftime in recursive call.
* sysdeps/powerpc/fpu/bits/mathinline.h: Add __signbitf and
|
|
* sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Use
__tcgetattr() instead of tcgetattr().
|
|
* sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S [SHARED]:
Use __GI_exit.
|
|
* sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S [SHARED]: Use
__GI__exit.
|
|
* sysdeps/powerpc/fpu/bits/mathinline.h: Addn __signbitf and
__signbit inlines.
|
|
* sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Use
__sigprocmask not sigprocmask.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
|
|
2004-04-01 Ulrich Drepper <drepper@redhat.com>
* elf/elf.h: Define more ppc64 specific dynamic tags.
* libio/fileops.c (new_do_write): Return _IO_size_t to make 64-bit
|
|
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.
|
|
|
|
2004-03-31 Andreas Jaeger <aj@suse.de>
* libio/fileops.c (new_do_write): Return _IO_size_t to make 64-bit
clean.
|
|
|
|
2004-03-31 Ulrich Drepper <drepper@redhat.com>
* locale/programs/localedef.c (construct_output_path): Remove
remnants of CEN locale names.
|
|
2004-03-30 Thorsten Kukuk <kukuk@suse.de>
* sysdeps/unix/sysv/linux/alpha/bits/termios.h: Add IUTF8.
* sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
* sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
* sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
|
|
|
|
2004-03-30 Richard Henderson <rth@redhat.com>
* sysdeps/alpha/remqu.S: Detect power-of-two special case.
|
|
2004-03-30 Ulrich Drepper <drepper@redhat.com>
* sysdeps/generic/libc-start.c (LIBC_START_MAIN)
[HAVE_CLEANUP_JMP_BUF]: Call __nptl_deallocate_tsd.
|
|
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.
|
|
* sysdeps/unix/sysv/linux/i386/setgroups.c (setgroups): Avoid
comparison with limit if we can rely on the syscall being available.
|
|
* nis/Makefile (distribute): Add nss.
* nis/nss: New file.
|
|
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.
|
|
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.
|
|
2004-03-29 Alexandre Oliva <aoliva@redhat.com>
* sysdeps/unix/sysv/linux/sched_getaffinity.c: Prepend GLIBC_ to
version names is SHLIB_COMPAT check.
* sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
|
|
* nis/nss_nis/nis-rpc.c (saveit): Improve memory handling. No need to
* nis/nss_nis/nis-proto.c (saveit): Improve memory handling. No need
(internal_nis_endprotoent): Adjust accordingly.
* nis/nss_nis/nis-initgroups.c (saveit): Improve memory handling. No
need to allocate multiple blocks.
* nis/nss_nis/nis-ethers.c (saveit): Improve memory handling. No need
to allocate multiple blocks.
* nis/nss_nis/nis-service.c (saveit): Improve memory handling. No need
to allocate multiple blocks.
|
|
* 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.
|
|
2004-03-29 Ulrich Drepper <drepper@redhat.com>
* nss/getXXbyYY_r.c: Return 0 for NSS_STATUS_NOTFOUND.
|
|
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.
|
|
2004-03-28 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Handle
_SC_SIGQUEUE_MAX.
|
|
2004-03-26 Ulrich Drepper <drepper@redhat.com>
* elf/dl-caller.c: New file.
* include/caller.h: New file.
* Makefile (distribute): Add include/caller.h.
* elf/Makefile (dl-routines): Add dl-caller.
* elf/dl-load.c (_dl_map_object_from_fd): Record l_text_end.
* elf/dl-open.c (check_libc_caller): Removed.
(dl_open_worker): Use __check_caller instead.
* elf/rtld.c (_rtld_global_ro): Initialize _dl_check_caller.
(_dl_start_final): Record l_text_end for ld.so map.
(dl_main): Record l_text_end for main object and vdso.
* include/link.h (struct link_map): Add l_text_end field.
* sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add
_dl_check_caller field.
Define enum allowmask. Add declaration of _dl_check_caller.
* sysdeps/unix/sysv/linux/dl-execstack.c: Also use __check_caller test.
|
|
|
|
variable, add unsigned variants. * sysdeps/alpha/divrem.h: Remove file. * sysdeps/alpha/div_libc.h: New file. * sysdeps/alpha/divl.S: Rewrite from scratch. * sysdeps/alpha/reml.S: Likewise. * sysdeps/alpha/divq.S: Likewise. * sysdeps/alpha/remq.S: Likewise. * sysdeps/alpha/divlu.S: New file. * sysdeps/alpha/remlu.S: New file. * sysdeps/alpha/divqu.S: New file. * sysdeps/alpha/remqu.S: New file.
2004-03-26 Richard Henderson <rth@redhat.com>
* sysdeps/alpha/Makefile <gnulib> (sysdep_routines): Merge divrem
variable, add unsigned variants.
* sysdeps/alpha/divrem.h: Remove file.
* sysdeps/alpha/div_libc.h: New file.
* sysdeps/alpha/divl.S: Rewrite from scratch.
* sysdeps/alpha/reml.S: Likewise.
* sysdeps/alpha/divq.S: Likewise.
* sysdeps/alpha/remq.S: Likewise.
* sysdeps/alpha/divlu.S: New file.
* sysdeps/alpha/remlu.S: New file.
* sysdeps/alpha/divqu.S: New file.
* sysdeps/alpha/remqu.S: New file.
|
|
2004-03-26 Ulrich Drepper <drepper@redhat.com>
* elf/dl-open.c (check_libc_caller): Fix typo.
|
|
2004-03-26 Jakub Jelinek <jakub@redhat.com>
* elf/tst-dlmodcount.c: Include stddef.h and stdlib.h.
* sysdeps/alpha/backtrace.c: New file.
|
|
|
|
2003-03-25 Richard Henderson <rth@redhat.com>
* sysdeps/alpha/backtrace.c: New.
|
|
2004-03-25 Ulrich Drepper <drepper@redhat.com>
* iconvdata/utf-7.c: Remove inline from isdirect, isxdirect, and
isxbase64.
|
|
2004-03-25 Richard Henderson <rth@redhat.com>
* sysdeps/generic/strtol_l.c (__strtol_ul_max_tab,
__strtol_ull_max_tab, __strtol_ull_rem_tab, __strtol_ul_rem_tab,
cutoff_tab, cutlim_tab, jmax_tab): New.
(__strtol_l): Use them to avoid runtime division.
|
|
__strtol_ul_rem_tab, cutoff_tab, cutlim_tab, jmax_tab): New. (__strtol_l): Use them to avoid runtime division.
|
|
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.
|
|
defining this target. Also elide -Wstrict-prototypes from CFLAGS.
|
|
* Makefile ($(objpfx)c++-types-check.out): Reduce duplication in
defining this target. Also elide -Wstrict-prototypes from CFLAGS.
|
|
2004-03-24 Ulrich Drepper <drepper@redhat.com>
* stdio-common/vfscanf.c [!COMPILE_WSCANF] (TOLOWER): Cast first
parameter to unsigned char.
* sysdeps/generic/strcasestr.c [_LIBC] (TOLOWER): Likewise.
|
|
2004-03-24 Jakub Jelinek <jakub@redhat.com>
* stdlib/strtod_l.c (INTERNAL (__STRTOF)): Clear the rest of retval,
not just one limb if RETURN_LIMB_SIZE > 2. Fix shifting up if
RETURN_LIMB_SIZE > 2.
* stdio-common/printf_fp.c (__printf_fp): For IEEE quad long double
on 32-bit architectures reserve 8 limbs instead of 4.
|
|
2004-03-24 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/getpid.c (really_getpid): Reorganize
code to avoid warning.
vgettimeofday call might destroy the content.
|
|
|