Ulrich Drepper
08c9a553c7
Update.
...
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.
2004-04-03 07:50:20 +00:00
Ulrich Drepper
4eb6619c70
Update.
...
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.
2004-04-02 09:18:29 +00:00
Ulrich Drepper
0fce307092
Add SERVICES_AUTHORITATIVE.
2004-04-02 09:14:48 +00:00
Roland McGrath
49182069c7
* elf/tst-execstack.c (do_test): Make F static.
2004-04-02 02:24:23 +00:00
Roland McGrath
26e059c142
2004-04-01 Roland McGrath <roland@redhat.com>
...
* elf/tst-execstack.c (do_test): Make F static.
2004-04-02 02:23:05 +00:00
Ulrich Drepper
15a3340920
Update.
...
* 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.
2004-04-02 00:42:24 +00:00
Ulrich Drepper
758b215383
Update.
...
* 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>.
2004-04-01 23:29:52 +00:00
Ulrich Drepper
47eb6e76da
Update.
...
* time/difftime.c (__difftime): New renamed. Make old name alias.
Use __difftime in recursive call.
* sysdeps/powerpc/fpu/bits/mathinline.h: Add __signbitf and
2004-04-01 21:56:34 +00:00
Ulrich Drepper
e58ab813d6
Update.
...
* sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Use
__tcgetattr() instead of tcgetattr().
2004-04-01 21:25:31 +00:00
Ulrich Drepper
a99a3055da
Update.
...
* sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S [SHARED]:
Use __GI_exit.
2004-04-01 21:17:57 +00:00
Ulrich Drepper
7062ca8f6c
Update.
...
* sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S [SHARED]: Use
__GI__exit.
2004-04-01 21:14:56 +00:00
Ulrich Drepper
3c55cffa1e
Update.
...
* sysdeps/powerpc/fpu/bits/mathinline.h: Addn __signbitf and
__signbit inlines.
2004-04-01 20:31:01 +00:00
Ulrich Drepper
d980f41a7e
Update.
...
* 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 19:36:34 +00:00
Ulrich Drepper
8f23eb7abe
Update.
...
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 18:49:40 +00:00
Ulrich Drepper
dd047aa514
Update.
...
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-04-01 09:03:29 +00:00
Ulrich Drepper
bf244ee81f
(_dl_show_auxv): Add handling for ignored entries. Ignore AT_IGNOREPPC.
2004-04-01 08:55:15 +00:00
Andreas Jaeger
8820efe9f0
Update.
...
2004-03-31 Andreas Jaeger <aj@suse.de>
* libio/fileops.c (new_do_write): Return _IO_size_t to make 64-bit
clean.
2004-04-01 04:41:33 +00:00
Andreas Jaeger
ccf3ea4334
(new_do_write): Return _IO_size_t to make 64-bit clean.
2004-04-01 04:41:12 +00:00
Ulrich Drepper
c3d0870737
Update.
...
2004-03-31 Ulrich Drepper <drepper@redhat.com>
* locale/programs/localedef.c (construct_output_path): Remove
remnants of CEN locale names.
2004-04-01 00:51:57 +00:00
Ulrich Drepper
5bbbc42a2a
Update.
...
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-31 09:04:57 +00:00
Ulrich Drepper
a6f205b507
Add IUTF8.
2004-03-31 08:53:30 +00:00
Richard Henderson
b6f10974a7
* sysdeps/alpha/remqu.S: Detect power-of-two special case.
...
2004-03-30 Richard Henderson <rth@redhat.com>
* sysdeps/alpha/remqu.S: Detect power-of-two special case.
2004-03-31 02:34:13 +00:00
Ulrich Drepper
3fa21fd813
Update.
...
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-31 01:47:34 +00:00
Ulrich Drepper
a70e964ee0
Update.
...
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.
2004-03-31 00:16:53 +00:00
Ulrich Drepper
e0dbb48105
Update.
...
* sysdeps/unix/sysv/linux/i386/setgroups.c (setgroups): Avoid
comparison with limit if we can rely on the syscall being available.
2004-03-30 23:15:55 +00:00
Ulrich Drepper
e98fb1a617
Update.
...
* nis/Makefile (distribute): Add nss.
* nis/nss: New file.
2004-03-30 18:34:08 +00:00
Ulrich Drepper
ff0913d3a3
Update.
...
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 18:23:15 +00:00
Ulrich Drepper
3b0b6c369f
Update.
...
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-30 00:01:23 +00:00
Ulrich Drepper
8e32efa63f
Update.
...
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.
2004-03-29 22:04:09 +00:00
Ulrich Drepper
0dde8ba5ec
Update.
...
* 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.
2004-03-29 21:49:59 +00:00
Ulrich Drepper
b569ae3844
Update.
...
* 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 21:46:58 +00:00
Ulrich Drepper
95479dc273
Update.
...
2004-03-29 Ulrich Drepper <drepper@redhat.com>
* nss/getXXbyYY_r.c: Return 0 for NSS_STATUS_NOTFOUND.
2004-03-29 20:17:33 +00:00
Ulrich Drepper
0b3b45f937
Update.
...
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-29 20:04:20 +00:00
Ulrich Drepper
3bd1aa475d
Update.
...
2004-03-28 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Handle
_SC_SIGQUEUE_MAX.
2004-03-28 10:55:26 +00:00
Ulrich Drepper
eec8b6cae5
Update.
...
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.
2004-03-27 03:40:33 +00:00
Ulrich Drepper
17c263876b
Header with call site checker definitions.
2004-03-27 02:43:52 +00:00
Richard Henderson
fdc715a1f0
* 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 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-27 00:32:28 +00:00
Ulrich Drepper
4ba541a978
Update.
...
2004-03-26 Ulrich Drepper <drepper@redhat.com>
* elf/dl-open.c (check_libc_caller): Fix typo.
2004-03-26 21:25:35 +00:00
Ulrich Drepper
596e1f3978
Update.
...
2004-03-26 Jakub Jelinek <jakub@redhat.com>
* elf/tst-dlmodcount.c: Include stddef.h and stdlib.h.
* sysdeps/alpha/backtrace.c: New file.
2004-03-26 09:54:51 +00:00
Ulrich Drepper
fde9eb68f5
Include stddef.h and stdlib.h.
2004-03-26 09:48:53 +00:00
Richard Henderson
cee3b3930a
* sysdeps/alpha/backtrace.c: New.
...
2003-03-25 Richard Henderson <rth@redhat.com>
* sysdeps/alpha/backtrace.c: New.
2004-03-26 07:56:26 +00:00
Ulrich Drepper
ea0423321f
Update.
...
2004-03-25 Ulrich Drepper <drepper@redhat.com>
* iconvdata/utf-7.c: Remove inline from isdirect, isxdirect, and
isxbase64.
2004-03-26 06:43:45 +00:00
Ulrich Drepper
78f93ff3ae
Update.
...
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.
2004-03-25 23:04:58 +00:00
Ulrich Drepper
af15df12ee
(__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.
2004-03-25 22:58:59 +00:00
Roland McGrath
db2f05ba83
* Makerules ($(common-objpfx)shlib.lds): Don't use \n in rhs of sed
...
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.
2004-03-25 03:54:03 +00:00
Roland McGrath
61044c288a
* Makefile ($(objpfx)c++-types-check.out): Reduce duplication in
...
defining this target. Also elide -Wstrict-prototypes from CFLAGS.
2004-03-25 02:01:48 +00:00
Roland McGrath
ad243052be
2004-03-24 Roland McGrath <roland@redhat.com>
...
* Makefile ($(objpfx)c++-types-check.out): Reduce duplication in
defining this target. Also elide -Wstrict-prototypes from CFLAGS.
2004-03-25 02:01:27 +00:00
Ulrich Drepper
68dc4dcbdd
Update.
...
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 23:53:39 +00:00
Ulrich Drepper
9ce0ecbe38
Update.
...
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 22:05:34 +00:00
Ulrich Drepper
6abbc50157
Update.
...
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.
2004-03-24 20:52:17 +00:00