platform/upstream/glibc.git
20 years agoUpdate.
Ulrich Drepper [Thu, 1 Apr 2004 18:49:40 +0000 (18:49 +0000)]
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

20 years agoUpdate.
Ulrich Drepper [Thu, 1 Apr 2004 09:03:29 +0000 (09:03 +0000)]
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.

20 years ago(_dl_show_auxv): Add handling for ignored entries. Ignore AT_IGNOREPPC.
Ulrich Drepper [Thu, 1 Apr 2004 08:55:15 +0000 (08:55 +0000)]
(_dl_show_auxv): Add handling for ignored entries.  Ignore AT_IGNOREPPC.

20 years agoUpdate.
Andreas Jaeger [Thu, 1 Apr 2004 04:41:33 +0000 (04:41 +0000)]
Update.

2004-03-31  Andreas Jaeger  <aj@suse.de>

        * libio/fileops.c (new_do_write): Return _IO_size_t to make 64-bit
        clean.

20 years ago(new_do_write): Return _IO_size_t to make 64-bit clean.
Andreas Jaeger [Thu, 1 Apr 2004 04:41:12 +0000 (04:41 +0000)]
(new_do_write): Return _IO_size_t to make 64-bit clean.

20 years agoUpdate.
Ulrich Drepper [Thu, 1 Apr 2004 00:51:57 +0000 (00:51 +0000)]
Update.

2004-03-31  Ulrich Drepper  <drepper@redhat.com>

* locale/programs/localedef.c (construct_output_path): Remove
remnants of CEN locale names.

20 years agoUpdate.
Ulrich Drepper [Wed, 31 Mar 2004 09:04:57 +0000 (09:04 +0000)]
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.

20 years agoAdd IUTF8.
Ulrich Drepper [Wed, 31 Mar 2004 08:53:30 +0000 (08:53 +0000)]
Add IUTF8.

20 years ago * sysdeps/alpha/remqu.S: Detect power-of-two special case.
Richard Henderson [Wed, 31 Mar 2004 02:34:13 +0000 (02:34 +0000)]
    * 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.

20 years agoUpdate.
Ulrich Drepper [Wed, 31 Mar 2004 01:47:34 +0000 (01:47 +0000)]
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.

20 years agoUpdate.
Ulrich Drepper [Wed, 31 Mar 2004 00:16:53 +0000 (00:16 +0000)]
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.

20 years agoUpdate.
Ulrich Drepper [Tue, 30 Mar 2004 23:15:55 +0000 (23:15 +0000)]
Update.

* sysdeps/unix/sysv/linux/i386/setgroups.c (setgroups): Avoid
comparison with limit if we can rely on the syscall being available.

20 years agoUpdate.
Ulrich Drepper [Tue, 30 Mar 2004 18:34:08 +0000 (18:34 +0000)]
Update.

* nis/Makefile (distribute): Add nss.
* nis/nss: New file.

20 years agoUpdate.
Ulrich Drepper [Tue, 30 Mar 2004 18:23:15 +0000 (18:23 +0000)]
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.

20 years agoUpdate.
Ulrich Drepper [Tue, 30 Mar 2004 00:01:23 +0000 (00:01 +0000)]
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.

20 years agoUpdate.
Ulrich Drepper [Mon, 29 Mar 2004 22:04:09 +0000 (22:04 +0000)]
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.

20 years agoUpdate.
Ulrich Drepper [Mon, 29 Mar 2004 21:49:59 +0000 (21:49 +0000)]
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.

20 years agoUpdate.
Ulrich Drepper [Mon, 29 Mar 2004 21:46:58 +0000 (21:46 +0000)]
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.

20 years agoUpdate.
Ulrich Drepper [Mon, 29 Mar 2004 20:17:33 +0000 (20:17 +0000)]
Update.

2004-03-29  Ulrich Drepper  <drepper@redhat.com>

* nss/getXXbyYY_r.c: Return 0 for NSS_STATUS_NOTFOUND.

20 years agoUpdate.
Ulrich Drepper [Mon, 29 Mar 2004 20:04:20 +0000 (20:04 +0000)]
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.

20 years agoUpdate.
Ulrich Drepper [Sun, 28 Mar 2004 10:55:26 +0000 (10:55 +0000)]
Update.

2004-03-28  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Handle
_SC_SIGQUEUE_MAX.

20 years agoUpdate.
Ulrich Drepper [Sat, 27 Mar 2004 03:40:33 +0000 (03:40 +0000)]
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.

20 years agoHeader with call site checker definitions.
Ulrich Drepper [Sat, 27 Mar 2004 02:43:52 +0000 (02:43 +0000)]
Header with call site checker definitions.

20 years ago * sysdeps/alpha/Makefile <gnulib> (sysdep_routines): Merge divrem ...
Richard Henderson [Sat, 27 Mar 2004 00:32:28 +0000 (00:32 +0000)]
    * 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.

20 years agoUpdate.
Ulrich Drepper [Fri, 26 Mar 2004 21:25:35 +0000 (21:25 +0000)]
Update.

2004-03-26  Ulrich Drepper  <drepper@redhat.com>

* elf/dl-open.c (check_libc_caller): Fix typo.

20 years agoUpdate.
Ulrich Drepper [Fri, 26 Mar 2004 09:54:51 +0000 (09:54 +0000)]
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.

20 years agoInclude stddef.h and stdlib.h.
Ulrich Drepper [Fri, 26 Mar 2004 09:48:53 +0000 (09:48 +0000)]
Include stddef.h and stdlib.h.

20 years ago * sysdeps/alpha/backtrace.c: New.
Richard Henderson [Fri, 26 Mar 2004 07:56:26 +0000 (07:56 +0000)]
    * sysdeps/alpha/backtrace.c: New.

2003-03-25  Richard Henderson  <rth@redhat.com>

* sysdeps/alpha/backtrace.c: New.

20 years agoUpdate.
Ulrich Drepper [Fri, 26 Mar 2004 06:43:45 +0000 (06:43 +0000)]
Update.

2004-03-25  Ulrich Drepper  <drepper@redhat.com>

* iconvdata/utf-7.c: Remove inline from isdirect, isxdirect, and
isxbase64.

20 years agoUpdate.
Ulrich Drepper [Thu, 25 Mar 2004 23:04:58 +0000 (23:04 +0000)]
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.

20 years ago(__strtol_ul_max_tab, __strtol_ull_max_tab, __strtol_ull_rem_tab, __strtol_ul_rem_tab...
Ulrich Drepper [Thu, 25 Mar 2004 22:58:59 +0000 (22:58 +0000)]
(__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.

20 years ago* Makerules ($(common-objpfx)shlib.lds): Don't use \n in rhs of sed
Roland McGrath [Thu, 25 Mar 2004 03:54:03 +0000 (03:54 +0000)]
* 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.

20 years ago* Makefile ($(objpfx)c++-types-check.out): Reduce duplication in
Roland McGrath [Thu, 25 Mar 2004 02:01:48 +0000 (02:01 +0000)]
* Makefile ($(objpfx)c++-types-check.out): Reduce duplication in

defining this target.  Also elide -Wstrict-prototypes from CFLAGS.

20 years ago2004-03-24 Roland McGrath <roland@redhat.com>
Roland McGrath [Thu, 25 Mar 2004 02:01:27 +0000 (02:01 +0000)]
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.

20 years agoUpdate.
Ulrich Drepper [Wed, 24 Mar 2004 23:53:39 +0000 (23:53 +0000)]
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.

20 years agoUpdate.
Ulrich Drepper [Wed, 24 Mar 2004 22:05:34 +0000 (22:05 +0000)]
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.

20 years agoUpdate.
Ulrich Drepper [Wed, 24 Mar 2004 20:52:17 +0000 (20:52 +0000)]
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.

20 years ago(really_getpid): Reorganize code to avoid warning.
Ulrich Drepper [Wed, 24 Mar 2004 20:50:12 +0000 (20:50 +0000)]
(really_getpid): Reorganize code to avoid warning.

20 years ago(__pthread_attr_setaffinity_old): Remove const.
Andreas Jaeger [Wed, 24 Mar 2004 13:53:13 +0000 (13:53 +0000)]
(__pthread_attr_setaffinity_old): Remove const.

20 years ago(__pthread_attr_setaffinity_old): Remove const.
Andreas Jaeger [Wed, 24 Mar 2004 13:52:34 +0000 (13:52 +0000)]
(__pthread_attr_setaffinity_old): Remove const.

2004-03-24  Andreas Jaeger  <aj@suse.de>

* sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c
(__pthread_attr_setaffinity_old): Remove const.

20 years agoUpdate.
Ulrich Drepper [Wed, 24 Mar 2004 06:36:06 +0000 (06:36 +0000)]
Update.

* sysdeps/unix/sysv/linux/smp.h: New file.
* sysdeps/unix/sysv/linux/sh/smp.h: New file.
* init.c: Define __is_smp.
(__pthread_initialize_minimal_internal): Call is_smp_system to
initialize __is_smp.
* pthreadP.h: Declare __is_smp.
Define MAX_ADAPTIVE_COUNT is necessary.
* pthread_mutex_init.c: Add comment regarding __spins field.
* pthread_mutex_lock.c: Implement adaptive mutex type.
* pthread_mutex_timedlock.c: Likewise.
* sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Likewise.
* sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h (pthread_mutex_t):
Add __spins field.
* sysdeps/unix/sysv/linux/i386/bits/pthreadtypes.h: Likewise.
* sysdeps/unix/sysv/linux/ia64/bits/pthreadtypes.h: Likewise.
* sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Likewise.
* sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Likewise.
* sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Likewise.
* sysdeps/unix/sysv/linux/x86_64/bits/pthreadtypes.h: Likewise.
* sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: Define
lll_mutex_cond_trylock.
* sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Likewise.
* sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Likewise.
* sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Likewise.
* sysdeps/unix/sysv/linux/i386/bits/pthreadtypes.h: Likewise.
Define BUSY_WAIT_NOP.
* sysdeps/unix/sysv/linux/ia64/bits/pthreadtypes.h: Likewise.
* sysdeps/unix/sysv/linux/x86_64/bits/pthreadtypes.h: Likewise.

* tst-mutex5.c: Add support for testing adaptive mutexes.
* tst-mutex7.c: Likewise.
* tst-mutex5a.c: New file.
* tst-mutex7a.c: New file.
* Makefile (tests): Add tst-mutex5a and tst-mutex7a.

20 years agoUpdate.
Ulrich Drepper [Wed, 24 Mar 2004 01:56:21 +0000 (01:56 +0000)]
Update.

* sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
(__lll_mutex_timedlock_wait): Preserve r8 and r9 since the
vgettimeofday call miht destroy the content.

20 years agoUpdate.
Ulrich Drepper [Wed, 24 Mar 2004 00:06:13 +0000 (00:06 +0000)]
Update.

2004-03-23  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/unix/sysv/linux/alpha/sysdep.h (__NR_pread, __NR_pwrite):
Define to __NR_p{read,write}64 if not defined.
* sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (__NR_pread,
__NR_pwrite): Define to __NR_p{read,write}64 if not defined instead
of defining it the other way around.
* sysdeps/unix/sysv/linux/alpha/syscalls.list: Move common syscalls
for 64bit arches to sysdeps/unix/sysv/linux/wordsize-64/syscalls.list.
* sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/alpha/pread64.c: Removed.
* sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Removed.
* sysdeps/unix/sysv/linux/alpha/glob64.c: Removed.
* sysdeps/unix/sysv/linux/alpha/truncate64.c: Removed.
* sysdeps/unix/sysv/linux/alpha/xstat64.c: Removed.
* sysdeps/unix/sysv/linux/alpha/pwrite64.c: Removed.
* sysdeps/unix/sysv/linux/alpha/posix_fadvise.c: Removed.
* sysdeps/unix/sysv/linux/alpha/mmap64.c: Removed.
* sysdeps/unix/sysv/linux/alpha/fxstat64.c: Removed.
* sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Removed.
* sysdeps/unix/sysv/linux/alpha/ftruncate64.c: Removed.
* sysdeps/unix/sysv/linux/alpha/sendfile64.c: Removed.
* sysdeps/unix/sysv/linux/alpha/lxstat64.c: Removed.
* sysdeps/unix/sysv/linux/alpha/posix_fadvise64.c: Removed.
* sysdeps/unix/sysv/linux/alpha/statfs64.c: Removed.
* sysdeps/unix/sysv/linux/alpha/fstatfs64.c: Removed.
* sysdeps/unix/sysv/linux/s390/s390-64/pread64.c: Removed.
* sysdeps/unix/sysv/linux/s390/s390-64/getrlimit64.c: Removed.
* sysdeps/unix/sysv/linux/s390/s390-64/glob64.c: Removed.
* sysdeps/unix/sysv/linux/s390/s390-64/readdir64_r.c: Removed.
* sysdeps/unix/sysv/linux/s390/s390-64/truncate64.c: Removed.
* sysdeps/unix/sysv/linux/s390/s390-64/xstat64.c: Removed.
* sysdeps/unix/sysv/linux/s390/s390-64/pwrite64.c: Removed.
* sysdeps/unix/sysv/linux/s390/s390-64/getdents64.c: Removed.
* sysdeps/unix/sysv/linux/s390/s390-64/readdir_r.c: Removed.
* sysdeps/unix/sysv/linux/s390/s390-64/lxstat.c: Removed.
* sysdeps/unix/sysv/linux/s390/s390-64/readdir.c: Removed.
* sysdeps/unix/sysv/linux/s390/s390-64/posix_fadvise.c: Removed.
* sysdeps/unix/sysv/linux/s390/s390-64/mmap64.c: Removed.
* sysdeps/unix/sysv/linux/s390/s390-64/xstat.c: Removed.
* sysdeps/unix/sysv/linux/s390/s390-64/fxstat64.c: Removed.
* sysdeps/unix/sysv/linux/s390/s390-64/setrlimit64.c: Removed.
* sysdeps/unix/sysv/linux/s390/s390-64/ftruncate64.c: Removed.
* sysdeps/unix/sysv/linux/s390/s390-64/getdents.c: Removed.
* sysdeps/unix/sysv/linux/s390/s390-64/lxstat64.c: Removed.
* sysdeps/unix/sysv/linux/s390/s390-64/posix_fadvise64.c: Removed.
* sysdeps/unix/sysv/linux/s390/s390-64/readdir64.c: Removed.
* sysdeps/unix/sysv/linux/s390/s390-64/fxstat.c: Removed.
* sysdeps/unix/sysv/linux/s390/s390-64/statfs64.c: Removed.
* sysdeps/unix/sysv/linux/s390/s390-64/fstatfs64.c: Removed.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/glob64.c: Removed.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/truncate64.c: Removed.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/xstat64.c: Removed.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/posix_fadvise.c: Removed.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/fxstat64.c: Removed.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/ftruncate64.c: Removed.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/lxstat64.c: Removed.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/posix_fadvise64.c: Removed.
* sysdeps/unix/sysv/linux/sparc/sparc64/pread64.c: Removed.
* sysdeps/unix/sysv/linux/sparc/sparc64/getrlimit64.c: Removed.
* sysdeps/unix/sysv/linux/sparc/sparc64/glob64.c: Removed.
* sysdeps/unix/sysv/linux/sparc/sparc64/readdir64_r.c: Removed.
* sysdeps/unix/sysv/linux/sparc/sparc64/truncate64.c: Removed.
* sysdeps/unix/sysv/linux/sparc/sparc64/xstat64.c: Removed.
* sysdeps/unix/sysv/linux/sparc/sparc64/pwrite64.c: Removed.
* sysdeps/unix/sysv/linux/sparc/sparc64/getdents64.c: Removed.
* sysdeps/unix/sysv/linux/sparc/sparc64/readdir_r.c: Removed.
* sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c: Removed.
* sysdeps/unix/sysv/linux/sparc/sparc64/posix_fadvise.c: Removed.
* sysdeps/unix/sysv/linux/sparc/sparc64/mmap64.c: Removed.
* sysdeps/unix/sysv/linux/sparc/sparc64/fxstat64.c: Removed.
* sysdeps/unix/sysv/linux/sparc/sparc64/setrlimit64.c: Removed.
* sysdeps/unix/sysv/linux/sparc/sparc64/ftruncate64.c: Removed.
* sysdeps/unix/sysv/linux/sparc/sparc64/sendfile64.c: Removed.
* sysdeps/unix/sysv/linux/sparc/sparc64/getdents.c: Removed.
* sysdeps/unix/sysv/linux/sparc/sparc64/lxstat64.c: Removed.
* sysdeps/unix/sysv/linux/sparc/sparc64/posix_fadvise64.c: Removed.
* sysdeps/unix/sysv/linux/sparc/sparc64/readdir64.c: Removed.
* sysdeps/unix/sysv/linux/sparc/sparc64/statfs64.c: Removed.
* sysdeps/unix/sysv/linux/sparc/sparc64/fstatfs64.c: Removed.
* sysdeps/unix/sysv/linux/ia64/pread64.c: Removed.
* sysdeps/unix/sysv/linux/ia64/getrlimit64.c: Removed.
* sysdeps/unix/sysv/linux/ia64/glob64.c: Removed.
* sysdeps/unix/sysv/linux/ia64/readdir64_r.c: Removed.
* sysdeps/unix/sysv/linux/ia64/truncate64.c: Removed.
* sysdeps/unix/sysv/linux/ia64/xstat64.c: Removed.
* sysdeps/unix/sysv/linux/ia64/pwrite64.c: Removed.
* sysdeps/unix/sysv/linux/ia64/getdents64.c: Removed.
* sysdeps/unix/sysv/linux/ia64/readdir_r.c: Removed.
* sysdeps/unix/sysv/linux/ia64/lxstat.c: Removed.
* sysdeps/unix/sysv/linux/ia64/readdir.c: Removed.
* sysdeps/unix/sysv/linux/ia64/posix_fadvise.c: Removed.
* sysdeps/unix/sysv/linux/ia64/mmap64.c: Removed.
* sysdeps/unix/sysv/linux/ia64/xstat.c: Removed.
* sysdeps/unix/sysv/linux/ia64/fxstat64.c: Removed.
* sysdeps/unix/sysv/linux/ia64/setrlimit64.c: Removed.
* sysdeps/unix/sysv/linux/ia64/ftruncate64.c: Removed.
* sysdeps/unix/sysv/linux/ia64/sendfile64.c: Removed.
* sysdeps/unix/sysv/linux/ia64/getdents.c: Removed.
* sysdeps/unix/sysv/linux/ia64/lxstat64.c: Removed.
* sysdeps/unix/sysv/linux/ia64/posix_fadvise64.c: Removed.
* sysdeps/unix/sysv/linux/ia64/readdir64.c: Removed.
* sysdeps/unix/sysv/linux/ia64/fxstat.c: Removed.
* sysdeps/unix/sysv/linux/ia64/statfs64.c: Removed.
* sysdeps/unix/sysv/linux/ia64/fstatfs64.c: Removed.
* sysdeps/unix/sysv/linux/x86_64/pread64.c: Removed.
* sysdeps/unix/sysv/linux/x86_64/getrlimit64.c: Removed.
* sysdeps/unix/sysv/linux/x86_64/glob64.c: Removed.
* sysdeps/unix/sysv/linux/x86_64/readdir64_r.c: Removed.
* sysdeps/unix/sysv/linux/x86_64/truncate64.c: Removed.
* sysdeps/unix/sysv/linux/x86_64/xstat64.c: Removed.
* sysdeps/unix/sysv/linux/x86_64/pwrite64.c: Removed.
* sysdeps/unix/sysv/linux/x86_64/getdents64.c: Removed.
* sysdeps/unix/sysv/linux/x86_64/readdir_r.c: Removed.
* sysdeps/unix/sysv/linux/x86_64/lxstat.c: Removed.
* sysdeps/unix/sysv/linux/x86_64/readdir.c: Removed.
* sysdeps/unix/sysv/linux/x86_64/posix_fadvise.c: Removed.
* sysdeps/unix/sysv/linux/x86_64/mmap64.c: Removed.
* sysdeps/unix/sysv/linux/x86_64/xstat.c: Removed.
* sysdeps/unix/sysv/linux/x86_64/fxstat64.c: Removed.
* sysdeps/unix/sysv/linux/x86_64/setrlimit64.c: Removed.
* sysdeps/unix/sysv/linux/x86_64/ftruncate64.c: Removed.
* sysdeps/unix/sysv/linux/x86_64/sendfile64.c: Removed.
* sysdeps/unix/sysv/linux/x86_64/getdents.c: Removed.
* sysdeps/unix/sysv/linux/x86_64/lxstat64.c: Removed.
* sysdeps/unix/sysv/linux/x86_64/posix_fadvise64.c: Removed.
* sysdeps/unix/sysv/linux/x86_64/readdir64.c: Removed.
* sysdeps/unix/sysv/linux/x86_64/fxstat.c: Removed.
* sysdeps/unix/sysv/linux/x86_64/statfs64.c: Removed.
* sysdeps/unix/sysv/linux/x86_64/fstatfs64.c: Removed.
* sysdeps/unix/sysv/linux/alpha/Implies: New file.
* sysdeps/unix/sysv/linux/alpha/getdents64.c: New file.
* sysdeps/unix/sysv/linux/s390/s390-64/Implies: New file.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/Implies: New file.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: New file.
* sysdeps/unix/sysv/linux/sparc/sparc64/Implies: New file.
* sysdeps/unix/sysv/linux/sparc/sparc64/lxstat.c: New file.
* sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: New file.
* sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: New file.
* sysdeps/unix/sysv/linux/wordsize-64/statvfs64.c: New file.
* sysdeps/unix/sysv/linux/wordsize-64/fstatvfs64.c: New file.
* sysdeps/unix/sysv/linux/wordsize-64/pread64.c: New file.
* sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c: New file.
* sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: New file.
* sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
* sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: New file.
* sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: New file.
* sysdeps/unix/sysv/linux/wordsize-64/xstat64.c: New file.
* sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: New file.
* sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: New file.
* sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: New file.
* sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: New file.
* sysdeps/unix/sysv/linux/wordsize-64/readdir.c: New file.
* sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: New file.
* sysdeps/unix/sysv/linux/wordsize-64/mmap64.c: New file.
* sysdeps/unix/sysv/linux/wordsize-64/xstat.c: New file.
* sysdeps/unix/sysv/linux/wordsize-64/fxstat64.c: New file.
* sysdeps/unix/sysv/linux/wordsize-64/setrlimit64.c: New file.
* sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: New file.
* sysdeps/unix/sysv/linux/wordsize-64/sendfile64.c: New file.
* sysdeps/unix/sysv/linux/wordsize-64/getdents.c: New file.
* sysdeps/unix/sysv/linux/wordsize-64/statvfs.c: New file.
* sysdeps/unix/sysv/linux/wordsize-64/lxstat64.c: New file.
* sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: New file.
* sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: New file.
* sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: New file.
* sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: New file.
* sysdeps/unix/sysv/linux/wordsize-64/statfs64.c: New file.
* sysdeps/unix/sysv/linux/wordsize-64/fstatfs64.c: New file.
* sysdeps/unix/sysv/linux/ia64/Implies: New file.
* sysdeps/unix/sysv/linux/x86_64/Implies: New file.

20 years agoUpdate.
Ulrich Drepper [Tue, 23 Mar 2004 10:01:06 +0000 (10:01 +0000)]
Update.

2004-03-23  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/ia64/pt-machine.h (BUSY_WAIT_NOP): Define.
* sysdeps/x86_64/pt-machine.h (BUSY_WAIT_NOP): Likewise.

20 years agoUpdate.
Ulrich Drepper [Tue, 23 Mar 2004 08:39:26 +0000 (08:39 +0000)]
Update.

2004-03-23  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_mutex_trylock):
Remove unnecessary setne instruction.

20 years agoUpdate.
Ulrich Drepper [Tue, 23 Mar 2004 07:37:19 +0000 (07:37 +0000)]
Update.

2004-03-19  Petter Reinholdtsen  <pere@hungry.com>

* localedata/locales/af_ZA: Make sure yesexpr and noexpr regex
start with '^'.
* localedata/locales/ar_TN: Likewise.
* localedata/locales/ar_YE: Likewise.
* localedata/locales/bn_BD: Likewise.
* localedata/locales/br_FR: Likewise.
* localedata/locales/ca_ES: Likewise.
* localedata/locales/cy_GB: Likewise.
* localedata/locales/gd_GB: Likewise.
* localedata/locales/gv_GB: Likewise.
* localedata/locales/hy_AM: Likewise.
* localedata/locales/id_ID: Likewise.
* localedata/locales/ka_GE: Likewise.
* localedata/locales/kw_GB: Likewise.
* localedata/locales/lg_UG: Likewise.
* localedata/locales/mk_MK: Likewise.
* localedata/locales/oc_FR: Likewise.
* localedata/locales/ru_UA: Likewise.
* localedata/locales/sk_SK: Likewise.
* localedata/locales/sr_YU: Likewise.
* localedata/locales/sr_YU@cyrillic: Likewise.
* localedata/locales/uk_UA: Likewise.
* localedata/locales/ur_PK: Likewise.
* localedata/locales/wa_BE: Likewise.

20 years agoMake sure yesexpr and noexpr regex start with '^'.
Ulrich Drepper [Tue, 23 Mar 2004 07:36:58 +0000 (07:36 +0000)]
Make sure yesexpr and noexpr regex start with '^'.

20 years ago * sysdeps/alpha/s_fabs.S: Remove file. * sysdeps/alpha/s_copysign...
Richard Henderson [Tue, 23 Mar 2004 01:18:23 +0000 (01:18 +0000)]
    * sysdeps/alpha/s_fabs.S: Remove file.         * sysdeps/alpha/s_copysign.S: Remove file.

2004-03-22  Richard Henderson  <rth@redhat.com>

* sysdeps/alpha/s_fabs.S: Remove file.
* sysdeps/alpha/s_copysign.S: Remove file.

20 years agoUpdate.
Ulrich Drepper [Mon, 22 Mar 2004 19:54:06 +0000 (19:54 +0000)]
Update.

2004-03-22  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c
(__getpagesize): Avoid warning about writing into read-only memory.

* string/Makefile (routines): Add xpg-strerror.
* string/string.h (strerror_r): If __USE_XOPEN2K but not __USE_GNU,
redirect strerror_r to __xpg_strerror_r.
* string/Versions (libc): Add __xpg_strerror_r@@GLIBC_2.3.4.
* sysdeps/generic/xpg-strerror.c: New file.
* sysdeps/mach/xpg-strerror.c: New file.

20 years ago(__pthread_getaffinity_new): Use INT_MAX instead of UINT_MAX.
Ulrich Drepper [Mon, 22 Mar 2004 19:32:45 +0000 (19:32 +0000)]
(__pthread_getaffinity_new): Use INT_MAX instead of UINT_MAX.

20 years agoUpdate.
Andreas Jaeger [Mon, 22 Mar 2004 10:53:16 +0000 (10:53 +0000)]
Update.

2004-03-22  Joseph S. Myers  <jsm@polyomino.org.uk>

* sunrpc/rpc/xdr.h (IXDR_GET_LONG, IXDR_PUT_LONG): Do not use
casts as lvalues.

2004-03-22  Andreas Jaeger  <aj@suse.de>

* elf/tst-dlmodcount.c (unload): Remove unused variable.

* misc/tst-mntent.c (main): Use tmpfile instead of tmpnam.

20 years ago (main): Use tmpfile instead of tmpnam.
Andreas Jaeger [Mon, 22 Mar 2004 10:50:50 +0000 (10:50 +0000)]
 (main): Use tmpfile instead of tmpnam.

20 years ago(_dl_make_stack_executable): Disable for static linking.
Roland McGrath [Sat, 20 Mar 2004 20:30:05 +0000 (20:30 +0000)]
(_dl_make_stack_executable): Disable for static linking.

20 years ago* sysdeps/mach/hurd/dl-execstack.c: New file.
Roland McGrath [Sat, 20 Mar 2004 20:19:29 +0000 (20:19 +0000)]
* sysdeps/mach/hurd/dl-execstack.c: New file.

20 years ago2004-03-20 Roland McGrath <roland@frob.com>
Roland McGrath [Sat, 20 Mar 2004 20:19:09 +0000 (20:19 +0000)]
2004-03-20  Roland McGrath  <roland@frob.com>

* sysdeps/mach/hurd/dl-execstack.c: New file.

20 years agoUpdate.
Ulrich Drepper [Sat, 20 Mar 2004 17:26:44 +0000 (17:26 +0000)]
Update.

2004-03-20  Ulrich Drepper  <drepper@redhat.com>

* po/ca.po: Update from translation team.

20 years agoUpdate from translation team.
Ulrich Drepper [Sat, 20 Mar 2004 17:25:52 +0000 (17:25 +0000)]
Update from translation team.

20 years ago* sysdeps/unix/sysv/linux/pthread_setaffinity.c
Andreas Jaeger [Sat, 20 Mar 2004 07:39:03 +0000 (07:39 +0000)]
* sysdeps/unix/sysv/linux/pthread_setaffinity.c

(__pthread_setaffinity_old): Fix interface.
* sysdeps/unix/sysv/linux/pthread_getaffinity.c
(__pthread_getaffinity_old): Likewise.
* sysdeps/unix/sysv/linux/pthread_setaffinity.c
(__pthread_setaffinity_new): Remove duplicate declaration.
2004-03-20  Andreas Jaeger  <aj@suse.de>

* sysdeps/unix/sysv/linux/pthread_setaffinity.c
(__pthread_setaffinity_old): Fix interface.
* sysdeps/unix/sysv/linux/pthread_getaffinity.c
(__pthread_getaffinity_old): Likewise.

* sysdeps/unix/sysv/linux/pthread_setaffinity.c
(__pthread_setaffinity_new): Remove duplicate declaration.

20 years agoUpdate.
Andreas Jaeger [Sat, 20 Mar 2004 06:43:04 +0000 (06:43 +0000)]
Update.

2004-03-20  Andreas Jaeger  <aj@suse.de>

* sysdeps/unix/sysv/linux/sched_getaffinity.c
(__sched_getaffinity_old): Fix interface.
* sysdeps/unix/sysv/linux/sched_setaffinity.c
(__sched_setaffinity_old): Likewise.

* sysdeps/unix/sysv/linux/sched_setaffinity.c: Include <alloca.h>.

20 years ago(__sched_getaffinity_old): Fix interface.
Andreas Jaeger [Sat, 20 Mar 2004 06:42:17 +0000 (06:42 +0000)]
(__sched_getaffinity_old): Fix interface.

20 years agoUpdate.
Ulrich Drepper [Sat, 20 Mar 2004 06:16:26 +0000 (06:16 +0000)]
Update.

2004-03-17  Kaz Kojima  <kkojima@rr.iij4u.or.jp>

* sysdeps/unix/sysv/linux/kernel-features.h
(__ASSUME_CLONE_THREAD_FLAGS ): Define for newer SH kernel.
(__ASSUME_TGKILL, __ASSUME_UTIMES): Likewise.
* sysdeps/unix/sysv/linux/sh/socket.S: Add unwind information.

20 years agoUpdate.
Ulrich Drepper [Sat, 20 Mar 2004 04:42:40 +0000 (04:42 +0000)]
Update.

2004-03-20  Kaz Kojima  <kkojima@rr.iij4u.or.jp>

* sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (CENABLE): Save
the return value to a safe register.
(CDISABLE): Set the function argument correctly.

20 years agoUpdate.
Ulrich Drepper [Sat, 20 Mar 2004 00:38:50 +0000 (00:38 +0000)]
Update.

2004-03-19  Ulrich Drepper  <drepper@redhat.com>

* time/tzfile.c (__tzfile_default): Correct setting of rule_stdoff
and rule_dstoff after reading the posixrules file.

20 years agoUpdate.
Ulrich Drepper [Fri, 19 Mar 2004 07:16:54 +0000 (07:16 +0000)]
Update.

2004-03-18  Ulrich Drepper  <drepper@redhat.com>

* malloc/malloc.c (__posix_memalign): Correct alignment check.
Reported by Don Heller <dheller@cse.psu.edu>.

20 years agoUpdate.
Ulrich Drepper [Fri, 19 Mar 2004 00:37:59 +0000 (00:37 +0000)]
Update.

2004-03-18  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Remove hwcap
variable and weak_extern for _dl_hwcap.
(_DL_HWCAP_TLS_MASK): Define.
(HWCAP_CHECK): Fix checking of non-platform hwcap bits.  Use
lib->osversion instead of cache_new->libs[middle].osversion.

* stdio-common/asprintf.c: Remove USE_IN_LIBIO conditionals.
* stdio-common/dprintf.c: Likewise.
* stdio-common/fprintf.c: Likewise.
* stdio-common/getline.c: Likewise.
* stdio-common/getw.c: Likewise.
* stdio-common/perror.c: Likewise.
* stdio-common/printf-prs.c: Likewise.
* stdio-common/printf.c: Likewise.
* stdio-common/printf_size.c: Likewise.
* stdio-common/psignal.c: Likewise.
* stdio-common/putw.c: Likewise.
* stdio-common/scanf.c: Likewise.
* stdio-common/snprintf.c: Likewise.
* stdio-common/sprintf.c: Likewise.
* stdio-common/sscanf.c: Likewise.
* stdio-common/tstgetln.c: Likewise.
* stdio-common/vfprintf.c: Likewise.

2004-03-18  Paul Eggert  <eggert@cs.ucla.edu>

* posix/getopt.h (__GNUC_PREREQ) [!defined __THROW]: Define
if not defined, fixing a typo (it used to be defined if
__GNUC__ was not defined).

20 years agoUpdate.
Ulrich Drepper [Fri, 19 Mar 2004 00:14:42 +0000 (00:14 +0000)]
Update.

2004-03-18  Ulrich Drepper  <drepper@redhat.com>

* posix/sched.h: Change sched_getaffinity and sched_setaffinity
interfaces: add new second parameter.
* sysdeps/generic/sched_getaffinity.c: Implement interface change.
* sysdeps/generic/sched_setaffinity.c: Likewise.
* sysdeps/unix/sysv/linux/sched_getaffinity.c: Likewise.  Add
compatibility interface.
* sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
* sysdeps/unix/sysv/linux/Versions: Add versions for changed
interfaces.

20 years ago(struct pthread_attr): Add cpusetsize field, remove next.
Ulrich Drepper [Thu, 18 Mar 2004 23:54:14 +0000 (23:54 +0000)]
(struct pthread_attr): Add cpusetsize field, remove next.

20 years ago* manual/Makefile (stamp-summary): Use -k option to sort,
Roland McGrath [Thu, 18 Mar 2004 22:26:42 +0000 (22:26 +0000)]
* manual/Makefile (stamp-summary): Use -k option to sort,

not traditional key selection syntax.
Reported by Jim Gifford <giffordj@linkline.com>.

20 years ago* elf/ldconfig.c: Include stdbool.h.
Roland McGrath [Thu, 18 Mar 2004 21:28:37 +0000 (21:28 +0000)]
* elf/ldconfig.c: Include stdbool.h.

20 years ago* elf/ldconfig.c (parse_conf_include): New function.
Roland McGrath [Thu, 18 Mar 2004 08:43:41 +0000 (08:43 +0000)]
* elf/ldconfig.c (parse_conf_include): New function.

(parse_conf): Call it to parse lines starting with "include".
Remaining words are glob patterns for more config files to read.
Take additional bool argument to disable opt_chroot processing.
(main): Update caller.

20 years ago2004-03-17 Roland McGrath <roland@redhat.com>
Roland McGrath [Thu, 18 Mar 2004 07:47:54 +0000 (07:47 +0000)]
2004-03-17  Roland McGrath  <roland@redhat.com>

* sysdeps/unix/sysv/linux/timer_create.c (timer_create): Pass missing
first argument to clock_getres so we ever enable kernel timers.

20 years agoUpdate.
Ulrich Drepper [Wed, 17 Mar 2004 23:19:36 +0000 (23:19 +0000)]
Update.

* sysdeps/unix/sysv/linux/ia64/ioperm.c (_iopl): Match EPERM error
the x86 code produces in case of mission permissions.
Patch by Bernd Schmidt <bernds@redhat.com>.

20 years agoUpdate.
Ulrich Drepper [Wed, 17 Mar 2004 20:02:19 +0000 (20:02 +0000)]
Update.

2004-03-17  Ulrich Drepper  <drepper@redhat.com>

* resolv/netdb.h: Define AI_IDN_ALLOW_UNASSIGNED,
AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED, and
NI_IDN_USE_STD3_ASCII_RULES.
* inet/getnameinfo.c (getnameinfo): Implement handling of
NI_IDN_ALLOW_UNASSIGNED and NI_IDN_USE_STD3_ASCII_RULES.
* sysdeps/posix/getaddrinfo.c (gaih_inet): Implement handling of
AI_IDN_ALLOW_UNASSIGNED and AI_IDN_USE_STD3_ASCII_RULES.

20 years agoUpdate.
Ulrich Drepper [Wed, 17 Mar 2004 17:30:06 +0000 (17:30 +0000)]
Update.

2004-03-17  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/x86_64/hp-timing.h (HP_TIMING_NOW): Make asm volatile.

2004-03-16  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Spelling.
(JB_SIZE): Undefine before including __longjmp-common.S again.
* sysdeps/powerpc/powerpc32/fpu/setjmp.S: Spelling.
(JB_SIZE): Undefine before including setjmp-common.S again.
* sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Spelling.
* sysdeps/powerpc/powerpc64/bsd-setjmp.S: Spelling.
* sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Spelling.
* sysdeps/powerpc/powerpc32/bsd-setjmp.S: Spelling.
* sysdeps/powerpc/sigjmp.c: Spelling.

20 years agoUpdate.
Ulrich Drepper [Tue, 16 Mar 2004 10:10:13 +0000 (10:10 +0000)]
Update.

2004-03-16  Ulrich Drepper  <drepper@redhat.com>

* include/ctype.h: For libc, define isdigit, isdigit_l, and
__isdigit_l as simple comparison macros.
* include/wctype.h: For libc, define iswdigit, iswdigit_l, and
__iswdigit_l as simple comparison macros.
* wctype/wcfuncs_l.c: #undef iswdigit and __iswdigit.

* sysdeps/alpha/fpu/bits/mathdef.h: Remove INFINITY.
* sysdeps/arm/fpu/bits/mathdef.h: Likewise.
* sysdeps/generic/bits/mathdef.h: Likewise.
* sysdeps/i386/fpu/bits/mathdef.h: Likewise.
* sysdeps/ia64/fpu/bits/mathdef.h: Likewise.
* sysdeps/m68k/fpu/bits/mathdef.h: Likewise.
* sysdeps/mips/fpu/bits/mathdef.h: Likewise.
* sysdeps/powerpc/fpu/bits/mathdef.h: Likewise.
* sysdeps/sh/sh4/fpu/bits/mathdef.h: Likewise.
* sysdeps/sparc/fpu/bits/mathdef.h: Likewise.
* sysdeps/x86_64/fpu/bits/mathdef.h: Likewise.

20 years agoUpdate.
Ulrich Drepper [Tue, 16 Mar 2004 00:08:09 +0000 (00:08 +0000)]
Update.

2004-03-15  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/sparc/fpu/bits/mathinline.h: Restore missing #ifdef.
Patch by Richard Henderson.

2004-03-16  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/generic/strtold_l.c (STRING_TYPE, STRTOLD, __STRTOLD,
__STRTOD, INTERNAL, INTERNAL1): Define, use them.
[! USE_WIDE_CHAR] (INTERNAL (__STRTOLD)): Add libc_hidden_def.

* inet/getnameinfo.c: Include stdlib.h.

20 years agoUpdate.
Ulrich Drepper [Mon, 15 Mar 2004 22:41:44 +0000 (22:41 +0000)]
Update.

* iconv/gconv_simple.c (__gconv_transform_utf8_internal): Use only
one copy of error handling code.

20 years ago(__gconv_transform_utf8_internal): Use only one copy of error handling code.
Ulrich Drepper [Mon, 15 Mar 2004 22:37:31 +0000 (22:37 +0000)]
(__gconv_transform_utf8_internal): Use only one copy of error handling code.

20 years ago * math/Makefile (headers): Add bits/huge_valf.h, bits/huge_vall.h, ...
Richard Henderson [Mon, 15 Mar 2004 21:44:11 +0000 (21:44 +0000)]
    * math/Makefile (headers): Add bits/huge_valf.h, bits/huge_vall.h,         and bits/inf.h.         * math/math.h: Include them.

        * sysdeps/alpha/fpu/bits/mathdef.h, sysdeps/arm/fpu/bits/mathdef.h,
        sysdeps/generic/bits/mathdef.h, sysdeps/i386/fpu/bits/mathdef.h,
        sysdeps/ia64/fpu/bits/mathdef.h, sysdeps/m68k/fpu/bits/mathdef.h,
        sysdeps/mips/fpu/bits/mathdef.h, sysdeps/powerpc/fpu/bits/mathdef.h,
        sysdeps/sh/sh4/fpu/bits/mathdef.h, sysdeps/sparc/fpu/bits/mathdef.h,
        sysdeps/x86_64/fpu/bits/mathdef.h: Remove INFINITY.

        * sysdeps/arm/bits/huge_val.h (HUGE_VAL): Use __builtin_huge_val.
        (HUGE_VALF, HUGE_VALL): Remove.
        * sysdeps/ieee754/bits/huge_val.h: Likewise.
        * sysdeps/sh/bits/huge_val.h: Likewise.

        * sysdeps/generic/bits/huge_val.h (HUGE_VAL): Use __builtin_huge_val.
        * sysdeps/generic/bits/huge_valf.h: New file.
        * sysdeps/generic/bits/huge_vall.h: New file.
        * sysdeps/generic/bits/inf.h: New file.
        * sysdeps/ieee754/bits/huge_valf.h: New file.
        * sysdeps/ieee754/bits/inf.h: New file.
        * sysdeps/i386/bits/huge_val.h: Remove file.
        * sysdeps/i386/bits/huge_vall.h: New file.
        * sysdeps/ia64/bits/huge_val.h: Remove file.
        * sysdeps/ia64/bits/huge_vall.h: New file.
        * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: New file.
        * sysdeps/m68k/bits/huge_val.h: Remove file.
        * sysdeps/m68k/bits/huge_vall.h: New file.
        * sysdeps/s390/bits/huge_val.h: Remove file.
        * sysdeps/sh/sh4/fpu/bits/huge_val.h: Remove file.
        * sysdeps/sparc/bits/huge_vall.h: New file.
        * sysdeps/sparc/sparc32/fpu/bits/huge_val.h: Remove file.
        * sysdeps/sparc/sparc64/fpu/bits/huge_val.h: Remove file.

        * sysdeps/ieee754/bits/nan.h (NAN): Use __builtin_nanf.
        * sysdeps/mips/bits/nan.h (NAN): Likewise.
2004-03-15  Richard Henderson  <rth@redhat.com>

* math/Makefile (headers): Add bits/huge_valf.h, bits/huge_vall.h,
and bits/inf.h.
* math/math.h: Include them.

* sysdeps/alpha/fpu/bits/mathdef.h, sysdeps/arm/fpu/bits/mathdef.h,
sysdeps/generic/bits/mathdef.h, sysdeps/i386/fpu/bits/mathdef.h,
sysdeps/ia64/fpu/bits/mathdef.h, sysdeps/m68k/fpu/bits/mathdef.h,
sysdeps/mips/fpu/bits/mathdef.h, sysdeps/powerpc/fpu/bits/mathdef.h,
sysdeps/sh/sh4/fpu/bits/mathdef.h, sysdeps/sparc/fpu/bits/mathdef.h,
sysdeps/x86_64/fpu/bits/mathdef.h: Remove INFINITY.

* sysdeps/arm/bits/huge_val.h (HUGE_VAL): Use __builtin_huge_val.
(HUGE_VALF, HUGE_VALL): Remove.
* sysdeps/ieee754/bits/huge_val.h: Likewise.
* sysdeps/sh/bits/huge_val.h: Likewise.

* sysdeps/generic/bits/huge_val.h (HUGE_VAL): Use __builtin_huge_val.
* sysdeps/generic/bits/huge_valf.h: New file.
* sysdeps/generic/bits/huge_vall.h: New file.
* sysdeps/generic/bits/inf.h: New file.
* sysdeps/ieee754/bits/huge_valf.h: New file.
* sysdeps/ieee754/bits/inf.h: New file.
* sysdeps/i386/bits/huge_val.h: Remove file.
* sysdeps/i386/bits/huge_vall.h: New file.
* sysdeps/ia64/bits/huge_val.h: Remove file.
* sysdeps/ia64/bits/huge_vall.h: New file.
* sysdeps/ieee754/ldbl-128/bits/huge_vall.h: New file.
* sysdeps/m68k/bits/huge_val.h: Remove file.
* sysdeps/m68k/bits/huge_vall.h: New file.
* sysdeps/s390/bits/huge_val.h: Remove file.
* sysdeps/sh/sh4/fpu/bits/huge_val.h: Remove file.
* sysdeps/sparc/bits/huge_vall.h: New file.
* sysdeps/sparc/sparc32/fpu/bits/huge_val.h: Remove file.
* sysdeps/sparc/sparc64/fpu/bits/huge_val.h: Remove file.

* sysdeps/ieee754/bits/nan.h (NAN): Use __builtin_nanf.
* sysdeps/mips/bits/nan.h (NAN): Likewise.

20 years agoUpdate.
Ulrich Drepper [Mon, 15 Mar 2004 20:33:43 +0000 (20:33 +0000)]
Update.

* stdio-common/vfscanf.c: Simplify error handling macros.  Use
direct locale access functions.

20 years agoUpdate.
Ulrich Drepper [Mon, 15 Mar 2004 08:55:28 +0000 (08:55 +0000)]
Update.

2004-03-15  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/generic/strcasestr.c (__strcasestr): Optimize use of
tolower function.

20 years agoUpdate.
Ulrich Drepper [Mon, 15 Mar 2004 06:23:52 +0000 (06:23 +0000)]
Update.

2004-03-13  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Add const.
(handle_amd): New function.
(__sysconf): Handle _SC_LEVEL4_CACHE_LINESIZE here, not in
linux_sysconf.  Call handle_amd on AuthenticAMD.
* sysdeps/unix/sysv/linux/x86_64/sysconf.c: Likewise.

20 years agoUpdate.
Ulrich Drepper [Mon, 15 Mar 2004 01:09:34 +0000 (01:09 +0000)]
Update.

* wcsmbs/mbsrtowcs.c: Just a wrapper around __mbsrtowcs_l.
* wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Add real implementation here.

20 years agoUpdate.
Ulrich Drepper [Sun, 14 Mar 2004 21:12:06 +0000 (21:12 +0000)]
Update.

2004-03-14  Ulrich Drepper  <drepper@redhat.com>

Make the non-_l functions wrappers around the _l functions.
* include/monetary.h: Declare __vstrmon_l.
* include/string.h: Add libc_hidden_proto for __strcoll_l and
__strxfrm_l.
* include/time.h: Define ptime_locale_status.  Declare
__strptime_internal.
* include/wchar.h: Add libc_hidden_proto for __wcscoll_l and
__wcsxfrm_l.
* stdlib/strfmon.c: Move the code to strfmon_l.c.  Add little
wrapper around __vstrfmon_l.
* stdlib/strfmon_l.c: Add real implementation.  Split into new
function __vstrfmon_l to allow calling it from strfmon.
* stdlib/strtod.c: Move real code to strtod_l.c and add wrapper.
* stdlib/strtod_l.c: Add real implementation.
* stdlib/strtof.c: Adjust to changed strtod.c.
* stdlib/strtof_l.c: Include strtod_l.c now.
* stdlib/strtold.c: New file.
* stdlib/strtold_l.c: Removed.
* string/strcoll.c: Move real code to strcoll_l.c: Add wrapper.
* string/strcoll_l.c: Add real implementation.
* string/strxfrm.c: Move real code to strxfrm_l.c: Add wrapper.
* string/strxfrm_l.c: Add real implementation.
* sysdeps/generic/strtol.c: Move real implementation to strtol_l.c.
Add wrappers.
* sysdeps/generic/strtol_l.c: Add real implementation.
* sysdeps/generic/strtold.c: Removed.
* sysdeps/generic/strtold_l.c: New file.
* sysdeps/generic/strtoll_l.c: Include strtol_l.c now.  Adjust
#defines.
* sysdeps/generic/strtoul_l.c: Likewise.
* sysdeps/generic/strtoull_l.c: Likewise.
* sysdeps/generic/wcstol_l.c: Likewise.
* sysdeps/generic/wcstoll_l.c: Likewise.
* sysdeps/generic/wcstoul_l.c: Likewise.
* sysdeps/generic/wcstoull_l.c: Likewise.
* sysdeps/ieee754/ldbl-128/strtold.c: Removed.
* sysdeps/ieee754/ldbl-128/strtold_l.c: New file.
* sysdeps/ieee754/ldbl-96/strtold.c: Removed.
* sysdeps/ieee754/ldbl-96/strtold_l.c: New file.
* sysdeps/m68k/strtold.c: Removed.
* sysdeps/m68k/strtold_l.c: New file.
* time/strftime.c: Move real code to strftime_l.c.  Add wrapper.
* time/strftime_l.c: Add real implementation.
* time/strptime.c: Move real code to strptime_l.c.  Add wrapper.
* time/strptime_l.c: Add real implementation.
* time/wcsftime.c: Simplify since only wrappers are defined in
strftime.c.
* time/wcsftime_l.c: Include strftime_l.c.
* wcsmbs/wcscoll.c: Simplify since the file is not used by wcscoll_l.c
anymore.
* wcsmbs/wcscoll_l.c: Include strcoll_l.c.
* wcsmbs/wcsxfrm.c: Simplify since the file is not used by wcsxfrm_l.c
anymore.
* wcsmbs/wcsxfrm_l.c: Include strxfrm_l.c.
* wcsmbs/wcstod.c: Prepare to include new strtod.c.
* wcsmbs/wcstod_l.c: Include strtod_l.c.
* wcsmbs/wcstof.c: Prepare to include new strtof.c.
* wcsmbs/wcstof_l.c: Include strtof_l.c.
* wcsmbs/wcstold.c: Prepare to include new strtold.c.
* wcsmbs/wcstold_l.c: Include strtold_l.c.

* locale/uselocale.c: Use _NL_CURRENT_LOCALE instead of __libc_tsd_get.

* sysdeps/generic/strcasecmp.c: Optimize a bit.  It's better to get
a reference to the current locale and then use the _l functions.
* sysdeps/generic/strncase.c: Likewise.

20 years agoOptimize a bit. It's better to get a reference to the current locale and then use...
Ulrich Drepper [Sun, 14 Mar 2004 20:13:23 +0000 (20:13 +0000)]
Optimize a bit.  It's better to get a reference to the current locale and then use the _l functions.

20 years ago* cppflags-iterator.mk: Change libof-$(cpp-src) to
Roland McGrath [Sun, 14 Mar 2004 19:13:28 +0000 (19:13 +0000)]
* cppflags-iterator.mk: Change libof-$(cpp-src) to

libof-$(notdir $(cpp-src)).

20 years ago2004-03-11 Jeroen Dekkers <jeroen@dekkers.cx>
Roland McGrath [Sun, 14 Mar 2004 19:13:17 +0000 (19:13 +0000)]
2004-03-11  Jeroen Dekkers  <jeroen@dekkers.cx>

* cppflags-iterator.mk: Change libof-$(cpp-src) to
libof-$(notdir $(cpp-src)).

20 years agoUpdate.
Ulrich Drepper [Sun, 14 Mar 2004 09:18:16 +0000 (09:18 +0000)]
Update.

2004-03-14  Ulrich Drepper  <drepper@redhat.com>

* idn-stub.c (__idna_to_unicode_lzlz): Use __strchrnul, not strchrnul.

* idna.c (idna_to_ascii_4z): Revert last patch.

20 years ago(idna_to_ascii_4z): Revert last patch.
Ulrich Drepper [Sun, 14 Mar 2004 09:17:48 +0000 (09:17 +0000)]
(idna_to_ascii_4z): Revert last patch.

20 years ago* db_info.c: Don't use TLS_TP_OFFSET in the #if, but
Roland McGrath [Sun, 14 Mar 2004 03:40:12 +0000 (03:40 +0000)]
* db_info.c: Don't use TLS_TP_OFFSET in the #if, but

TLS_TCB_SIZE == 0 ?: in the DESC macro.

20 years ago2004-03-13 Jakub Jelinek <jakub@redhat.com>
Roland McGrath [Sun, 14 Mar 2004 03:39:57 +0000 (03:39 +0000)]
2004-03-13  Jakub Jelinek  <jakub@redhat.com>

* db_info.c: Don't use TLS_TP_OFFSET in the #if, but
TLS_TCB_SIZE == 0 ?: in the DESC macro.

20 years agoUpdate.
Ulrich Drepper [Sat, 13 Mar 2004 08:47:19 +0000 (08:47 +0000)]
Update.

2004-03-13  Ulrich Drepper  <drepper@redhat.com>

* resolv/netdb.h (EAI_OVERFLOW): Define.
(NI_IDN): Define.
* inet/getnameinfo.c (getnameinfo): Return error in case argument
buffers overflow.  Implement NI_IDN.

2004-03-12  Ulrich Drepper  <drepper@redhat.com>

* resolv/netdb.h: Define AI_CANONIDN.
* sysdeps/posix/getaddrinfo.c: Implement AI_CANONIDN.

20 years ago(EAI_OVERFLOW): Define.
Ulrich Drepper [Sat, 13 Mar 2004 08:41:44 +0000 (08:41 +0000)]
(EAI_OVERFLOW): Define.

20 years ago* db_info.c [TLS_DTV_AT_TP && TLS_TP_OFFSET > 0]
Roland McGrath [Sat, 13 Mar 2004 07:59:29 +0000 (07:59 +0000)]
* db_info.c [TLS_DTV_AT_TP && TLS_TP_OFFSET > 0]

(_thread_db_pthread_dtvp): Define differently for this case (PowerPC).

20 years ago2004-03-12 Roland McGrath <roland@redhat.com>
Roland McGrath [Sat, 13 Mar 2004 07:59:04 +0000 (07:59 +0000)]
2004-03-12  Roland McGrath  <roland@redhat.com>

* db_info.c [TLS_DTV_AT_TP && TLS_TP_OFFSET > 0]
(_thread_db_pthread_dtvp): Define differently for this case (PowerPC).

20 years agoImplement AI_CANONIDN.
Ulrich Drepper [Sat, 13 Mar 2004 06:53:42 +0000 (06:53 +0000)]
Implement AI_CANONIDN.

20 years agoUpdate.
Ulrich Drepper [Sat, 13 Mar 2004 06:50:10 +0000 (06:50 +0000)]
Update.

* idna.c (idna_to_ascii_4z): Use strdup if available.  Unify two ifs.

* idn-stub.c: Implement __idna_to_unicode_lzlz.  Split
__idna_to_ascii_lz in two parts so that loading can be shared with
the new function.
* Versions (libcidn): Export idna_to_unicode_lzlz.

20 years agoImplement __idna_to_unicode_lzlz. Split __idna_to_ascii_lz in two parts so that...
Ulrich Drepper [Sat, 13 Mar 2004 06:47:49 +0000 (06:47 +0000)]
Implement __idna_to_unicode_lzlz.  Split __idna_to_ascii_lz in two parts so that loading can be shared with the new function.

20 years ago * sysdeps/unix/sysv/linux/alpha/select.S: Fix unwind. Propagate ...
Richard Henderson [Sat, 13 Mar 2004 05:29:45 +0000 (05:29 +0000)]
    * sysdeps/unix/sysv/linux/alpha/select.S: Fix unwind.  Propagate         oldvalue from CENABLE to CDISABLE.

2004-03-12  Richard Henderson  <rth@redhat.com>

* sysdeps/unix/sysv/linux/alpha/select.S: Fix unwind.  Propagate
oldvalue from CENABLE to CDISABLE.

20 years ago * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Propagate oldvalue...
Richard Henderson [Sat, 13 Mar 2004 05:29:24 +0000 (05:29 +0000)]
    * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Propagate         oldvalue from CENABLE to CDISABLE.

2004-03-12  Richard Henderson  <rth@redhat.com>

        * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Propagate
        oldvalue from CENABLE to CDISABLE.