platform/upstream/glibc.git
20 years agoUpdate.
Ulrich Drepper [Sun, 4 Apr 2004 05:53:24 +0000 (05:53 +0000)]
Update.

* string/test-ffs.c: Also test ffsl and ffsll.

* sysdeps/powerpc/ffs.c: Don't define ffsl for ppc64.

20 years agoUpdate.
Ulrich Drepper [Sun, 4 Apr 2004 03:32:19 +0000 (03:32 +0000)]
Update.

* sysdeps/powerpc/powerpc64/bits/atomic.h: Never use matching
constraints for asm mem parameters.
* sysdeps/powerpc/bits/atomic.h: Likewise.

20 years agoUpdate.
Ulrich Drepper [Sun, 4 Apr 2004 01:07:05 +0000 (01:07 +0000)]
Update.

* sysdeps/powerpc/elf/libc-start.c: no need for a separate
function for __aux_init_cache.

20 years agoUpdate.
Ulrich Drepper [Sun, 4 Apr 2004 00:41:39 +0000 (00:41 +0000)]
Update.

* inet/test-ifaddrs.c: Fight warnings.

* argp/argp-help.c: Fight warnings.

* include/time.h: Declare __difftime.

20 years agoUpdate.
Ulrich Drepper [Sat, 3 Apr 2004 17:33:49 +0000 (17:33 +0000)]
Update.

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

* sysdeps/unix/sysv/linux/internal_statvfs.c: Restructure to avoid
duplication in 64-bit version.
* sysdeps/unix/sysv/linux/wordsize-64/internal_statvfs64.c: New file.

20 years agoRestructure to avoid duplication in 64-bit version.
Ulrich Drepper [Sat, 3 Apr 2004 17:32:18 +0000 (17:32 +0000)]
Restructure to avoid duplication in 64-bit version.

20 years agoUpdate.
Andreas Jaeger [Sat, 3 Apr 2004 10:04:36 +0000 (10:04 +0000)]
Update.

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

* nis/nss-nis.c: Include <string.h> for strncmp.

20 years agoInclude <string.h> for strncmp.
Andreas Jaeger [Sat, 3 Apr 2004 10:04:16 +0000 (10:04 +0000)]
Include <string.h> for strncmp.

20 years agoRegenerated.
Ulrich Drepper [Sat, 3 Apr 2004 08:53:29 +0000 (08:53 +0000)]
Regenerated.

20 years agoUpdate.
Ulrich Drepper [Sat, 3 Apr 2004 08:53:24 +0000 (08:53 +0000)]
Update.

2004-03-30  H.J. Lu  <hongjiu.lu@intel.com>

* Makeconfig (link-libc-static): Use $(static-gnulib) instead
of $(gnulib).
(libgcc_eh): New variable.
(gnulib): Use it variable.
(static-gnulib): New variable.
* Makerules (LDLIBS-c.so): Use $(static-gnulib) instead of $(gnulib).
* config.make.in (have-as-needed): New variable.
* configure.in: Check if linker supports --as-needed.

20 years agoUpdate.
Ulrich Drepper [Sat, 3 Apr 2004 07:50:20 +0000 (07:50 +0000)]
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.

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

20 years agoAdd SERVICES_AUTHORITATIVE.
Ulrich Drepper [Fri, 2 Apr 2004 09:14:48 +0000 (09:14 +0000)]
Add SERVICES_AUTHORITATIVE.

20 years ago* elf/tst-execstack.c (do_test): Make F static.
Roland McGrath [Fri, 2 Apr 2004 02:24:23 +0000 (02:24 +0000)]
* elf/tst-execstack.c (do_test): Make F static.

20 years ago2004-04-01 Roland McGrath <roland@redhat.com>
Roland McGrath [Fri, 2 Apr 2004 02:23:05 +0000 (02:23 +0000)]
2004-04-01  Roland McGrath  <roland@redhat.com>

* elf/tst-execstack.c (do_test): Make F static.

20 years agoUpdate.
Ulrich Drepper [Fri, 2 Apr 2004 00:42:24 +0000 (00:42 +0000)]
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.

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

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

20 years agoUpdate.
Ulrich Drepper [Thu, 1 Apr 2004 21:25:31 +0000 (21:25 +0000)]
Update.

* sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Use
__tcgetattr() instead of tcgetattr().

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

* sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S [SHARED]:
Use __GI_exit.

20 years agoUpdate.
Ulrich Drepper [Thu, 1 Apr 2004 21:14:56 +0000 (21:14 +0000)]
Update.

* sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S [SHARED]: Use
__GI__exit.

20 years agoUpdate.
Ulrich Drepper [Thu, 1 Apr 2004 20:31:01 +0000 (20:31 +0000)]
Update.

* sysdeps/powerpc/fpu/bits/mathinline.h: Addn __signbitf and
__signbit inlines.

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

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.