platform/upstream/glibc.git
19 years ago* sysdeps/arm/sysdep.h: Define __USE_BX__ if bx is available.
Roland McGrath [Sat, 4 Dec 2004 21:20:42 +0000 (21:20 +0000)]
* sysdeps/arm/sysdep.h: Define __USE_BX__ if bx is available.

Use it instead of __THUMB_INTERWORK__.  Make RETINSTR take
only a condition and a register.
* sysdeps/arm/dl-machine.h: Use __USE_BX__ instead of
__THUMB_INTERWORK__.
(_dl_start_user): Use BX.
* sysdeps/arm/strlen.S: Use DO_RET.
* sysdeps/unix/arm/brk.S, sysdeps/unix/arm/fork.S,
sysdeps/unix/arm/sysdep.S, sysdeps/unix/arm/sysdep.h: Likewise.
* sysdeps/unix/sysv/linux/arm/clone.S,
sysdeps/unix/sysv/linux/arm/mmap.S,
sysdeps/unix/sysv/linux/arm/mmap64.S,
sysdeps/unix/sysv/linux/arm/socket.S,
sysdeps/unix/sysv/linux/arm/sysdep.h,
sysdeps/unix/sysv/linux/arm/vfork.S: Update uses of RETINSTR.

19 years ago* extra-lib.mk (object-suffixes-$(lib)): Add .oS when cvs/fedora-glibc-20041203T0935
Roland McGrath [Thu, 2 Dec 2004 22:55:30 +0000 (22:55 +0000)]
* extra-lib.mk (object-suffixes-$(lib)): Add .oS when

$(lib)-static-only-routines is nonempty.
(extra-objs, o-iterator.mk rule): Filter out .oS from generators.
Add a special rule for .oS objects -> _nonshared.a library.

19 years ago* time/mktime.c (__mktime_internal): If SEC_REQUESTED != SEC,
Roland McGrath [Thu, 2 Dec 2004 22:16:35 +0000 (22:16 +0000)]
* time/mktime.c (__mktime_internal): If SEC_REQUESTED != SEC,

convert T2, not T.
* time/Makefile (tests): Add tst-mktime3.
* time/tst-mktime3.c: New test.

2004-12-01  Jakub Jelinek  <jakub@redhat.com>

19 years ago* posix/fnmatch_loop.c (internal_fnmatch): Clear is_seqval after
Roland McGrath [Wed, 1 Dec 2004 19:55:58 +0000 (19:55 +0000)]
* posix/fnmatch_loop.c (internal_fnmatch): Clear is_seqval after

normal_bracket label.

* time/tst-mktime2.c (bigtime_test): Initialize tm.tm_isdst to -1.

19 years ago* stdlib/stdlib.h (realpath): Remove nonnull attribute.
Roland McGrath [Wed, 1 Dec 2004 19:54:41 +0000 (19:54 +0000)]
* stdlib/stdlib.h (realpath): Remove nonnull attribute.

19 years ago* sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c):
Roland McGrath [Wed, 1 Dec 2004 19:44:39 +0000 (19:44 +0000)]
* sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c):

Do $(make-target-directory).

19 years ago* posix/confstr.c: Avoid punctuation in #error text. cvs/fedora-glibc-20041130T0624
Roland McGrath [Tue, 30 Nov 2004 03:37:32 +0000 (03:37 +0000)]
* posix/confstr.c: Avoid punctuation in #error text.

19 years ago2004-11-29 Roland McGrath <roland@redhat.com>
Roland McGrath [Tue, 30 Nov 2004 03:37:14 +0000 (03:37 +0000)]
2004-11-29  Roland McGrath  <roland@redhat.com>

* posix/confstr.c: Avoid punctuation in #error text.

19 years agoUpdate.
Ulrich Drepper [Sat, 27 Nov 2004 22:47:48 +0000 (22:47 +0000)]
Update.

* posix/Makefile (tests): Add tst-sysconf.
* posix/tst-sysconf.c: New file.

19 years agoUpdate.
Ulrich Drepper [Sat, 27 Nov 2004 20:57:44 +0000 (20:57 +0000)]
Update.

2004-11-27  Ulrich Drepper  <drepper@redhat.com>

* posix/getconf.c (vars): Add support for _SC_IPV6 and
_SC_RAW_SOCKETS.
* sysdeps/posix/sysconf.c (__sysconf): Add support for _SC_IPV6
and _SC_RAW_SOCKETS.
* sysdeps/generic/bits/confname.h: Define _SC_IPV6 and
_SC_RAW_SOCKETS.

19 years agoUpdate.
Ulrich Drepper [Sat, 27 Nov 2004 20:38:06 +0000 (20:38 +0000)]
Update.

2004-11-26  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add GETCONF_DIR.

2004-11-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>

* sysdeps/unix/sysv/linux/mips/pread.c: Include sgidefs.h only if
NO_SGIDEFS_H isn't defined.  Don't include sgidefs.h twice.
* sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
* sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
* sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.

19 years agoUpdate.
Ulrich Drepper [Sat, 27 Nov 2004 19:32:49 +0000 (19:32 +0000)]
Update.

2004-11-27  Ulrich Drepper  <drepper@redhat.com>

* include/dlfcn.h (__libc_dlopen): Add __RTLD_DLOPEN to the mode
parameter.  Reported by VY Newsum <newsum@fel.tno.nl>.

2004-11-10  Daniel Jacobowitz  <dan@debian.org>

* libio/iolibio.h (_IO_fclose, _IO_new_fclose, _IO_old_fclose,
_IO_fflush, _IO_fgetpos, _IO_fgetpos64, _IO_fgets, _IO_fopen,
_IO_old_fopen, _IO_new_fopen, _IO_fopen64, __fopen_internal,
_IO_fprintf, _IO_fputs, _IO_fsetpos, _IO_fsetpos64, _IO_ftell,
_IO_fread, _IO_fwrite, _IO_gets, _IO_printf, _IO_puts, _IO_scanf,
_IO_fflush_internal, _IO_ftell_internal, _IO_fputs_internal)
_IO_fwrite_internal): Remove incorrect __THROW.
* libio/libioP.h (_IO_default_xsputn, _IO_wdefault_xsputn,
_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_default_write,
_IO_default_read, _IO_getline, _IO_getline_info, _IO_getwline,
_IO_getwline_info, _IO_file_read_internal, _IO_sgetn_internal,
_IO_wdo_write_internal, _IO_do_write_internal,
_IO_getline_info_internal, _IO_getline_internal,
_IO_vfprintf_internal, _IO_putc_internal, _IO_read, _IO_write,
_IO_close): Likewise.

19 years agoUpdate. cvs/fedora-glibc-20041126T1318
Ulrich Drepper [Fri, 26 Nov 2004 08:19:03 +0000 (08:19 +0000)]
Update.

19 years agoUpdate.
Ulrich Drepper [Fri, 26 Nov 2004 08:16:33 +0000 (08:16 +0000)]
Update.

* posix/Makefile (install-others): Add $(inst_libexecdir)/getconf.
(CFLAGS-sysconf.c): Add -D_GETCONF_DIR.
(CFLAGS-getconf.c): New.
($(inst_libexecdir)/getconf): New.
* posix/confstr.c (confstr): Use __sysconf to query specifications
that don't have _POSIX_V6_* macros defined.  Use __*_{C,LD}FLAGS
macros defined in bits/environments.h.
* sysdeps/posix/sysconf.c: Include stdlib.h, string.h and
sys/stat.h.
(__sysconf_check_spec): New routine.
(__sysconf): Use it.
* posix/getconf.c (specs): Change into structure array.
(main): If -v is not given, try to get default from
$(libexecdir)/getconf/default.  If specification is not
supported by this getconf, try to execute
$(libexecdir)/getconf/$(specification).
* sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: New file.
* sysdeps/unix/sysv/linux/s390/bits/environments.h: New file.
* sysdeps/unix/sysv/linux/powerpc/bits/environments.h: New file.
* sysdeps/unix/sysv/linux/sparc/bits/environments.h: New file.
* sysdeps/unix/sysv/linux/i386/bits/environments.h: New file.
* sysdeps/unix/sysv/linux/x86_64/bits/environments.h: New file.
* sysdeps/generic/bits/environments.h (__ILP32_OFFBIG_CFLAGS):
Define.

2004-11-26  Jakub Jelinek  <jakub@redhat.com>

19 years agoUpdate.
Ulrich Drepper [Fri, 26 Nov 2004 07:16:57 +0000 (07:16 +0000)]
Update.

2004-11-26  Jakub Jelinek  <jakub@redhat.com>

* stdlib/stdlib.h (setenv): Use nonnull only for second argument.
(unsetenv): Remove.

19 years agoUpdate.
Ulrich Drepper [Thu, 25 Nov 2004 22:32:18 +0000 (22:32 +0000)]
Update.

2004-11-23  Paolo Bonzini  <bonzini@gnu.org>

* posix/regcomp.c (analyze_tree): Always call calc_epsdest.
(calc_inveclosure): Use re_node_set_insert_last.
(parse_dup_op): Lower X{1,5} to (X(X(X(XX?)?)?)?)?
rather than X?X?X?X?X?.
* posix/regex_internal.h (re_node_set_insert_last): New declaration.
* posix/regex_internal.c (re_node_set_insert_last): New function.
* posix/PCRE.tests: Add testcases.

19 years agoUpdate.
Ulrich Drepper [Thu, 25 Nov 2004 20:16:31 +0000 (20:16 +0000)]
Update.

* dlfcn/dlfcn.h: Remove nonnull attribute from dlopen.

19 years agoUpdate.
Ulrich Drepper [Thu, 25 Nov 2004 17:28:52 +0000 (17:28 +0000)]
Update.

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

* posix/confstr.c (confstr): Return appropriate strings for
_CS_LFS_LINTFLAGS, _CS_LFS64_CFLAGS, and _CS_LFS64_LINTFLAGS.

19 years agoUpdate.
Ulrich Drepper [Thu, 25 Nov 2004 06:25:42 +0000 (06:25 +0000)]
Update.

* sysdeps/x86_64/Makefile [nptl]: Define CFLAGS-pthread_create.c.

19 years agoUpdate.
Ulrich Drepper [Wed, 24 Nov 2004 22:59:03 +0000 (22:59 +0000)]
Update.

2004-11-24  Ulrich Drepper  <drepper@redhat.com>

* Makefile (libpthread-routines): Add pthread_setschedprio.
* Versions [libpthread, GLIBC_2.3.4]: Add pthread_setschedprio.
* sysdeps/pthread/pthread.h: Declare pthread_setschedprio.
* pthread_setschedprio.c: New file.

19 years agoImplementation of pthread_setschedprio.
Ulrich Drepper [Wed, 24 Nov 2004 22:52:48 +0000 (22:52 +0000)]
Implementation of pthread_setschedprio.

19 years agoRemove whitespace from last change cvs/fedora-glibc-20041124T0741
Andreas Jaeger [Wed, 24 Nov 2004 04:43:30 +0000 (04:43 +0000)]
Remove whitespace from last change

* sysdeps/mips/sgidefs.h: Prevent <asm/sgidefs.h> from being
included by kernel headers and undo its settings if already
included.  Define _ABIO32, _ABIN32 and _ABI64 if missing and use
them to define _MIPS_SIM_ABI32, _MIPS_SIM_NABI32 and

19 years agoUpdate.
Andreas Jaeger [Wed, 24 Nov 2004 04:39:24 +0000 (04:39 +0000)]
Update.

2004-11-05  Maciej W. Rozycki  <macro@mips.com>

* sysdeps/mips/dl-machine.h: Include <sgidefs.h>.  Use _ABIO32,
_ABIN32 and _ABI64 for ABI selection throughout.
* sysdeps/mips/elf/start.S: Likewise.
* sysdeps/mips/mips64/__longjmp.c: Likewise.
* sysdeps/mips/mips64/bsd-_setjmp.S: Likewise.
* sysdeps/mips/mips64/bsd-setjmp.S: Likewise.
* sysdeps/mips/mips64/setjmp.S: Likewise.
* sysdeps/mips/mips64/setjmp_aux.c: Likewise.
* sysdeps/mips/sys/regdef.h: Likewise.
* sysdeps/mips/sys/ucontext.h: Likewise.
* sysdeps/unix/mips/sysdep.h: Likewise.
* sysdeps/unix/sysv/linux/kernel-features.h: Likewise.
* sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
* sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
* sysdeps/unix/sysv/linux/mips/ptrace.c: Likewise.
* sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
* sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
* sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
* sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
* sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Likewise.

* sysdeps/mips/atomicity.h: Use _ABIO32, _ABIN32 and _ABI64 for
ABI selection throughout.
* sysdeps/mips/bits/setjmp.h: Likewise.
* sysdeps/mips/fpu/bits/mathdef.h: Likewise.
* sysdeps/mips/machine-gmon.h: Likewise.
* sysdeps/mips/sys/asm.h: Likewise.
* sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
* sysdeps/unix/sysv/linux/mips/bits/sigcontext.h: Likewise.
* sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
* sysdeps/unix/sysv/linux/mips/kernel_stat.h: Likewise.
* sysdeps/unix/sysv/linux/mips/sigcontextinfo.h: Likewise.
* sysdeps/unix/sysv/linux/mips/sys/ptrace.h: Likewise.
* sysdeps/unix/sysv/linux/mips/sys/tas.h: Likewise.
* sysdeps/unix/sysv/linux/mips/sys/user.h: Likewise.

* sysdeps/mips/sgidefs.h: Prevent <asm/sgidefs.h> from being
included by kernel headers and undo its settings if already
included.  Define _ABIO32, _ABIN32 and _ABI64 if missing and use
them to define _MIPS_SIM_ABI32, _MIPS_SIM_NABI32 and
_MIPS_SIM_ABI64 for compatibility.
* sysdeps/unix/sysv/linux/mips/Makefile: Use _ABIO32, _ABIN32 and
_ABI64 for ABI selection in generated syscall-list.h
* sysdeps/unix/sysv/linux/mips/configure.in: Use _ABIO32, _ABIN32
and _ABI64 for ABI selection in generated asm-unistd.h.
* sysdeps/unix/sysv/linux/mips/configure: Regenerate.

* sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Correct
an inverted _MIPS_SIM conditional.

19 years agoInclude <sgidefs.h>. Use _ABIO32, _ABIN32 and _ABI64 for ABI selection throughout.
Andreas Jaeger [Wed, 24 Nov 2004 04:33:22 +0000 (04:33 +0000)]
Include <sgidefs.h>.  Use _ABIO32, _ABIN32 and _ABI64 for ABI selection throughout.

19 years agoUpdate.
Ulrich Drepper [Tue, 23 Nov 2004 22:57:42 +0000 (22:57 +0000)]
Update.

2004-11-23  Alexandre Oliva  <aoliva@redhat.com>

* sysdeps/generic/dl-tls.c (_dl_determine_tlsoffset): Use free
range even if it doesn't match exactly.

19 years agoUpdate.
Ulrich Drepper [Tue, 23 Nov 2004 21:18:36 +0000 (21:18 +0000)]
Update.

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

* nss/nss_files/files-XXX.c (internal_getent): If parse_line returned
-1, also do H_ERRNO_SET (NETDB_INTERNAL).

19 years agoUpdate.
Ulrich Drepper [Mon, 22 Nov 2004 19:03:42 +0000 (19:03 +0000)]
Update.

2004-11-22  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/i386/fpu_control.h: Add volatile to the asms.
Patch by Alexander Stohr.

19 years agoUpdate.
Ulrich Drepper [Mon, 22 Nov 2004 18:43:44 +0000 (18:43 +0000)]
Update.

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

* nscd/nscd_getai (__nscd_getai): Avoid memory and file descriptor
leaks.
* sysdeps/posix/getaddrinfo.c (gaih_inet): Free air.

* sysdeps/unix/sysv/linux/mips/bits/siginfo.h (__SI_MAX_SIZE):
* dirent/dirent.h: Add nonnull attributes.

19 years ago(__nscd_getai): Avoid memory and file descriptor leaks.
Ulrich Drepper [Mon, 22 Nov 2004 18:41:05 +0000 (18:41 +0000)]
(__nscd_getai): Avoid memory and file descriptor leaks.

19 years ago* sysdeps/unix/sysv/linux/mips/bits/siginfo.h (__SI_MAX_SIZE):
Andreas Jaeger [Mon, 22 Nov 2004 12:48:01 +0000 (12:48 +0000)]
* sysdeps/unix/sysv/linux/mips/bits/siginfo.h (__SI_MAX_SIZE):

Define appropriately based on __WORDSIZE.
[struct siginfo] (__pad0): Add for explicit padding.

* sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Formatting fixes
throughout.

19 years ago* sysdeps/unix/sysv/linux/mips/bits/siginfo.h (__SI_MAX_SIZE):
Andreas Jaeger [Mon, 22 Nov 2004 12:47:50 +0000 (12:47 +0000)]
* sysdeps/unix/sysv/linux/mips/bits/siginfo.h (__SI_MAX_SIZE):

Define appropriately based on __WORDSIZE.
[struct siginfo] (__pad0): Add for explicit padding.
* sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Formatting fixes
throughout.

19 years agoUpdate.
Ulrich Drepper [Mon, 22 Nov 2004 09:54:11 +0000 (09:54 +0000)]
Update.

2004-11-22  Ulrich Drepper  <drepper@redhat.com>

* dirent/dirent.h: Add __nonnull attributes.
* dlfcn/dlfcn.h: Likewise.

19 years ago[BZ #552]
Ulrich Drepper [Sun, 21 Nov 2004 19:58:34 +0000 (19:58 +0000)]
[BZ #552]

Update.
2004-11-20  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/ieee754/k_standard.c: Document code 50.
(__kernel_standard) <case 50>: Avoid raising div-by-zero
exception again.

2004-11-19  H.J. Lu  <hongjiu.lu@intel.com>

[BZ #552]
* math/libm-test.inc (tgamma_test): Update tgamma (0) and
tgamma (-0).
* sysdeps/generic/w_tgamma.c (__tgamma): Properly handle |x| == 0.
* sysdeps/generic/w_tgammaf.c (__tgammaf): Likewise.
* sysdeps/generic/w_tgammal.c (__tgammal): Likewise.
* sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
* sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
* sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
* sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
* sysdeps/ieee754/k_standard.c (__kernel_standard): Handle
tgamma (0) and tgamma (-0).

19 years agoUpdate. cvs/fedora-glibc-20041121T1116
Ulrich Drepper [Sat, 20 Nov 2004 20:23:45 +0000 (20:23 +0000)]
Update.

* time/tzfile.c (__tzfile_read): Avoid open for checking whether
the file we already use changed.

19 years agoUpdate.
Ulrich Drepper [Sat, 20 Nov 2004 18:59:37 +0000 (18:59 +0000)]
Update.

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

* misc/syslog.c: Remove !USE_IN_LIBIO code.

19 years agoUpdate.
Ulrich Drepper [Sat, 20 Nov 2004 17:58:06 +0000 (17:58 +0000)]
Update.

2004-11-20  Jakub Jelinek  <jakub@redhat.com>

* signal/signal.h (__sysv_signal, sysv_signal, signal, bsd_signal,
ssignal): Remove __nonnull attribute.

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

* sysdeps/unix/sysv/linux/sh/sys/procfs.h: New file.

19 years agoUpdate. cvs/fedora-glibc-20041120T0949
Ulrich Drepper [Sat, 20 Nov 2004 09:55:44 +0000 (09:55 +0000)]
Update.

* signal/signal.h: Add nonnull attributes.

19 years agoUpdate.
Ulrich Drepper [Sat, 20 Nov 2004 09:01:22 +0000 (09:01 +0000)]
Update.

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

* signal/signal.h: Add deprecated attributes to sigstack,
sigpause, sigblock, sigsetmask, siggetmask.

19 years agoUpdate.
Ulrich Drepper [Sat, 20 Nov 2004 07:16:31 +0000 (07:16 +0000)]
Update.

2004-11-20  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/unix/sysv/linux/bits/socket.h (SCM_RIGHTS): Avoid
comma at the end of enum if __USE_BSD is not defined.

(calc_inveclosure, calc_eclosure): Skip OP_DELETED_SUBEXP nodes.

19 years agoUpdate.
Ulrich Drepper [Sat, 20 Nov 2004 04:45:06 +0000 (04:45 +0000)]
Update.

* malloc/malloc.c (_int_malloc): Check for corruption of chunk
which is about to be returned.

19 years agoUpdate.
Ulrich Drepper [Fri, 19 Nov 2004 21:35:00 +0000 (21:35 +0000)]
Update.

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

* malloc/malloc.c (_int_free): Add a few more cheap tests for
corruption.

* debug/fprintf_chk.c: Adjust all users.

19 years agoUpdate. cvs/fedora-glibc-20041119T0003
Ulrich Drepper [Fri, 19 Nov 2004 00:01:34 +0000 (00:01 +0000)]
Update.

2004-11-17  Randolph Chung  <tausq@debian.org>

* sysdeps/hppa/dl-machine.h (TRAMPOLINE_TEMPLATE): Add unwind
annotations.

19 years ago[BZ #544]
Ulrich Drepper [Thu, 18 Nov 2004 23:57:34 +0000 (23:57 +0000)]
[BZ #544]

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

[BZ #544]
* posix/regex.h (RE_NO_SUB): New define.
* posix/regex_internal.h (OP_DELETED_SUBEXP): New.
(re_dfa_t): Add subexp_map.
* posix/regcomp.c (struct subexp_optimize): New type.
(optimize_subexps): New routine.
(re_compile_internal): Call it.
(re_compile_pattern): Set preg->no_sub to 1 if RE_NO_SUB.
(free_dfa_content): Free subexp_map.
(calc_inveclosure, calc_eclosure): Skip OP_DELETED_SUBEXP
nodes.
* posix/regexec.c (re_search_internal): If subexp_map
is not NULL, duplicate registers as needed.
* posix/Makefile: Add rules to build and run tst-regex2.
* posix/tst-regex2.c: New test.
* posix/rxspencer/tests: Fix last two tests (\0 -> \1).
Add some new tests for nested subexpressions.

19 years agoUpdate.
Ulrich Drepper [Thu, 18 Nov 2004 23:25:46 +0000 (23:25 +0000)]
Update.

2004-11-18  Ulrich Drepper  <drepper@redhat.com>
* libio/libio.h (_IO_FLAGS2_FORTIFY): Renamed from
_IO_FLAGS2_CHECK_PERCENT_N.
* debug/fprintff_chk.c: Adjust all users.
* debug/printf_chk.c: Likewise.
* debug/vfprintf_chk.c: Likewise.
* debug/vprintf_chk.c: Likewise.
* debug/vsnprintf_chk.c: Likewise.
* debug/vsprintf_chk.c: Likewise.
* stdio-common/vfprintf.c: Likewise.  Detect missing %N$ formats.
* debug/tst-chk1.c: Test detection of missing %N$ formats.

19 years ago(_IO_FLAGS2_FORTIFY): Renamed from _IO_FLAGS2_CHECK_PERCENT_N.
Ulrich Drepper [Thu, 18 Nov 2004 23:18:45 +0000 (23:18 +0000)]
(_IO_FLAGS2_FORTIFY): Renamed from _IO_FLAGS2_CHECK_PERCENT_N.

19 years ago* sysdeps/unix/sysv/linux/timer_routines.c (__start_helper_thread):
Roland McGrath [Wed, 17 Nov 2004 21:27:16 +0000 (21:27 +0000)]
* sysdeps/unix/sysv/linux/timer_routines.c (__start_helper_thread):

Make sure SIGCANCEL is blocked as well.

19 years ago2004-11-17 Roland McGrath <roland@redhat.com>
Roland McGrath [Wed, 17 Nov 2004 21:26:59 +0000 (21:26 +0000)]
2004-11-17  Roland McGrath  <roland@redhat.com>

* sysdeps/unix/sysv/linux/timer_routines.c (__start_helper_thread):
Make sure SIGCANCEL is blocked as well.

19 years agoUpdate.
Ulrich Drepper [Wed, 17 Nov 2004 09:10:08 +0000 (09:10 +0000)]
Update.

2004-11-17  Alfred M. Szmidt  <ams@gnu.org>

* sysdeps/posix/libc_fatal.c: Include <sys/uio.h>.

19 years agoUpdate. cvs/fedora-glibc-20041116T0856
Ulrich Drepper [Mon, 15 Nov 2004 22:00:25 +0000 (22:00 +0000)]
Update.

2004-11-15  Jakub Jelinek  <jakub@redhat.com>

* posix/bug-regex24.c: Include string.h.

* nis/nis_clone_obj.c (nis_clone_object): Rename out3 label to out2
and out2 to out.  Remove out label.  Formatting.

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

* include/stdio.h: Do not mark __libc_message as noreturn.
* sysdeps/unix/sysv/linux/libc_fatal.c (__libc_fatal): Add loop to
fool gcc.  Include <stdbool.h>.
* sysdeps/posix/libc_fatal.c (__libc_fatal): Add loop to fool gcc.
(__libc_message): Fix typo.

19 years agoUpdate. cvs/fedora-glibc-20041115T0915
Ulrich Drepper [Sat, 13 Nov 2004 19:50:50 +0000 (19:50 +0000)]
Update.

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

* malloc/malloc.c (malloc_state): stat_lock_* elements need only
be defined if THREAD_STATS is defined.  Remove pad0_ since it does
not align with cache line sizes in general anyway.

19 years agoUpdate.
Ulrich Drepper [Sat, 13 Nov 2004 18:58:01 +0000 (18:58 +0000)]
Update.

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

* elf/rtld.c (print_statistics): Avoid segfaults if not all namespaces
are used.  Fix computation of num_relative_relocations on RELA
architectures other than IA-64 and Alpha.

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

* malloc/malloc.c (_int_free): Use munmap_chunk for handling
mmaped memory.

19 years agoUpdate.
Ulrich Drepper [Sat, 13 Nov 2004 05:43:36 +0000 (05:43 +0000)]
Update.

* malloc/malloc.c (_int_free): Remove test for NULL parameter.
(_int_realloc): Call _int_free only if memory parameter is not NULL.

19 years agoUpdate.
Ulrich Drepper [Sat, 13 Nov 2004 03:13:00 +0000 (03:13 +0000)]
Update.

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

* sysdeps/unix/sysv/linux/libc_fatal.c: Add new function __libc_message
which performs the printing and simple format string handling.  The
string is written to tty, stderr, syslog in this order, stopping after
the first successful output.
(__libc_fatal): Call __libc_message.
* include/stdio.h: Declare __libc_message.
* malloc/malloc.c (malloc_printerr): Use __libc_message.
* debug/chk_fail.c: Also print message with __libc_message.
* debug/test-strcpy_chk.c: Ensure that debug messages are not printed
to the terminal or stderr.
* debug/tst-chk1.c: Likewise.

* posix/Makefile: Remove gpl2lgpl variable.

19 years agoAdd new function __libc_message which performs the printing and simple format string...
Ulrich Drepper [Sat, 13 Nov 2004 03:09:30 +0000 (03:09 +0000)]
Add new function __libc_message which performs the printing and simple format string handling.  The string is written to tty, stderr, syslog in this order, stopping after the first successful output.

19 years ago* elf/elf.h: Add 20 bit relocations R_390_*20.
Roland McGrath [Fri, 12 Nov 2004 21:51:46 +0000 (21:51 +0000)]
* elf/elf.h: Add 20 bit relocations R_390_*20.

19 years ago2004-11-12 Martin Schwidefsky <schwidefsky@de.ibm.com>
Roland McGrath [Fri, 12 Nov 2004 21:51:33 +0000 (21:51 +0000)]
2004-11-12  Martin Schwidefsky  <schwidefsky@de.ibm.com>

* elf/elf.h: Add 20 bit relocations R_390_*20.

19 years agoRemove gpl2lgpl variable.
Ulrich Drepper [Fri, 12 Nov 2004 19:46:34 +0000 (19:46 +0000)]
Remove gpl2lgpl variable.

19 years agoUpdate.
Ulrich Drepper [Fri, 12 Nov 2004 19:22:26 +0000 (19:22 +0000)]
Update.

2004-11-12  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/unix/sysv/linux/i386/setuid.c: Include linux/posix_types.h.
* sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
* sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
* sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
* sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
* sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.

19 years agoUpdate.
Ulrich Drepper [Fri, 12 Nov 2004 19:06:21 +0000 (19:06 +0000)]
Update.

2004-11-12  Andreas Schwab  <schwab@suse.de>

* nis/ypclnt.c (ypprot_err): Fix "minor optimizations".

19 years agoUpdate. cvs/fedora-glibc-20041112T1640
Ulrich Drepper [Fri, 12 Nov 2004 09:45:05 +0000 (09:45 +0000)]
Update.

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

* posix/Makefile (tests): Add bug-regex24.
* posix/bug-regex24.c: New file.

2004-11-12  Paolo Bonzini  <bonzini@gnu.org>

* posix/regexec.c (check_dst_limits_calc_pos_1): Use the map to
cut recursive paths.  Make exit condition more precise.
(match_ctx_add_entry): Initialize the map.
* posix/regex_internal.h (struct re_backref_cache_entry): Add a map of
reachable subexpression nodes from each backreference cache entry.

19 years agoUpdate.
Ulrich Drepper [Fri, 12 Nov 2004 01:27:04 +0000 (01:27 +0000)]
Update.

2004-11-10  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/unix/sysv/linux/setreuid.c: Remove sys/syscall.h,
sys/types.h, linux/posix_types.h, sysdep.h and pthread-functions.h
includes.  Include setxid.h.  Use INLINE_SETXID_SYSCALL macro
instead of INLINE_SYSCALL, kill the HAVE_PTR__NPTL_SETXID guarded
snippets.
* sysdeps/unix/sysv/linux/setegid.c: Likewise.
* sysdeps/unix/sysv/linux/setuid.c: Likewise.
* sysdeps/unix/sysv/linux/seteuid.c: Likewise.
* sysdeps/unix/sysv/linux/setgid.c: Likewise.
* sysdeps/unix/sysv/linux/setresuid.c: Likewise.
* sysdeps/unix/sysv/linux/setresgid.c: Likewise.
* sysdeps/unix/sysv/linux/setregid.c: Likewise.
* sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
* sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
* sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
* sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
* sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
* sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
* sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
* sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
* sysdeps/unix/sysv/linux/alpha/setreuid.c: Likewise.
Formatting.  Change signed int into int.
* sysdeps/unix/sysv/linux/alpha/setresuid.c: Likewise.
* sysdeps/unix/sysv/linux/alpha/setresgid.c: Likewise.
* sysdeps/unix/sysv/linux/alpha/setregid.c: Likewise.
* sysdeps/unix/sysv/linux/syscalls.list (setresuid, setresgid):
Remove.
* sysdeps/unix/setxid.h: New file.

* Rules (binaries-static): Add xtests-static.
* Makeconfig (run-program-prefix): Filter also xtests-static.

19 years agoRemove sys/syscall.h, sys/types.h, linux/posix_types.h, sysdep.h and pthread-function...
Ulrich Drepper [Fri, 12 Nov 2004 01:15:06 +0000 (01:15 +0000)]
Remove sys/syscall.h, sys/types.h, linux/posix_types.h, sysdep.h and pthread-functions.h includes.  Include setxid.h.  Use INLINE_SETXID_SYSCALL macro instead of INLINE_SYSCALL, kill the HAVE_PTR__NPTL_SETXID guarded snippets.

19 years ago[BZ #535]
Roland McGrath [Thu, 11 Nov 2004 22:31:17 +0000 (22:31 +0000)]
[BZ #535]

2004-11-09  Paul Eggert  <eggert@cs.ucla.edu.
[BZ #535]
* time/difftime.c: Fix a double-rounding bug on hosts with
64-bit time_t and long double being IEEE double.  Also, port
to more valid C99 hosts, even those that have padding bits.
Don't include <values.h> since it is marked as an obsolescent
interface.  Include <limits.h>, <float.h>, and <stdint.h> instead.
(TYPE_BITS, TYPE_FLOATING, TYPE_SIGNED): New macros.
(subtract): New static function, that works correctly without
double-rounding, even on hosts with 64-bit time_t.  Also cater
to hosts with padding bits.
(__difftime): Use it.  Use DBL_MANT_DIG and LDBL_MANT_DIG to
determine whether floating types are wide enough: the old
test (which used sizeof) could in theory report the wrong results
on hosts with padding bits in floating-point values.

19 years ago[BZ #542]
Roland McGrath [Thu, 11 Nov 2004 22:15:51 +0000 (22:15 +0000)]
[BZ #542]

2004-11-11  Simon Josefsson  <jas@extundo.com>
[BZ #542]
* sysdeps/generic/strtok_r.c [HAVE_CONFIG_H]: Include config.h.
[!_LIBC]: Include strtok_r.h (in gnulib), map __strtok_r to
strtok_r and __rawmemchr to strch.
(__strtok_r): Use C89 prototype.
[weak_alias]: Move calls to libc_hidden_def and weak_alias into
this #ifdef.

19 years ago[BZ #541]
Roland McGrath [Thu, 11 Nov 2004 00:28:28 +0000 (00:28 +0000)]
[BZ #541]

2004-11-10  Paul Eggert  <eggert@cs.ucla.edu>
[BZ #541]
* time/mktime.c (SHR): New macro, which is a portable
substitute for >> that should work even on Crays.
(TIME_T_MIDPOINT, ydhms_diff, __mktime_internal): Use it.
Problem reported by Mark D. Baushke in
<http://lists.gnu.org/archive/html/bug-gnulib/2004-11/msg00071.html>.

19 years ago[BZ #541]
Roland McGrath [Thu, 11 Nov 2004 00:28:17 +0000 (00:28 +0000)]
[BZ #541]

2004-11-10  Paul Eggert  <eggert@cs.ucla.edu>
[BZ #541]
* time/mktime.c (SHR): New macro, which is a portable
substitute for >> that should work even on Crays.
(TIME_T_MIDPOINT, ydhms_diff, __mktime_internal): Use it.
Problem reported by Mark D. Baushke in
<http://lists.gnu.org/archive/html/bug-gnulib/2004-11/msg00071.html>.

19 years agoUpdate.
Ulrich Drepper [Wed, 10 Nov 2004 18:51:26 +0000 (18:51 +0000)]
Update.

* posix/regexec.c (match_ctx_free_subtops): Remove, merge into...
(match_ctx_clean): ... this function.
(match_ctx_free): Call match_ctx_clean.

19 years agoUpdate.
Ulrich Drepper [Wed, 10 Nov 2004 15:48:06 +0000 (15:48 +0000)]
Update.

2004-11-09  Paolo Bonzini  <bonzini@gnu.org>

* posix/regexec.c (transit_state): Remove the check for
out-of-bounds buffers.
(check_matching): Check here for out-of-bounds buffers.
(re_search_internal): Store into match_kind a set of bits
indicating which incantation of fastmap scanning must be
used.  Use a switch statement instead of multiple ifs.
Exit the final "for (;;)" with goto free_return unless
the match succeeded, thus simplifying some conditionals.

* posix/regex_internal.c (re_string_reconstruct,
re_string_context_at): Add several branch predictions for
case-sensitive matching and no transition table being used.

2004-11-10  Ulrich Drepper  <drepper@redhat.com>

* posix/tst-waitid.c: Don't use error to print error message, they
won't end up in the .out file.

* nscd/nscd_getgr_r.c: Likewise.  Make map externally visible.
* nscd/nscd_gethst_r.c: Likewise.

19 years agoUpdate. cvs/fedora-glibc-20041110T0839
Ulrich Drepper [Wed, 10 Nov 2004 07:54:40 +0000 (07:54 +0000)]
Update.

2004-11-10  Jakub Jelinek  <jakub@redhat.com>

* Makefile (tests): Add tst-exit3.
* tst-exit3.c: New test.

19 years ago(libc_locked_map_ptr): Add new first parameter, used as class for definition.
Ulrich Drepper [Wed, 10 Nov 2004 07:50:03 +0000 (07:50 +0000)]
(libc_locked_map_ptr): Add new first parameter, used as class for definition.

* nscd/nscd-client.h (libc_locked_map_ptr): Add new first
parameter, used as class for definition.
* nscd/nscd_getpw_r.c: Adjust for libc_locked_map_ptr change.
(pw_map_free): Ensure no crash after memory is freed.
* nscd/nscd_getgr.c: Likewise.  Make map externally visible.
* nscd/nscd_gethst.c: Likewise.
* nscd/nscd_getai.c: Use map from nscd_gethost.c.
* nscd/nscd_initgroups.c: Use map from nscd_getgr.c.

19 years agoUpdate.
Ulrich Drepper [Wed, 10 Nov 2004 07:26:28 +0000 (07:26 +0000)]
Update.

2004-11-09  Ulrich Drepper  <drepper@redhat.com>

* nscd/nscd_getai.c: Add some checks to detect corrupt databases.
* nscd/nscd_getgr_r.c: Likewise
* nscd/nscd_gethst_r.c: Likewise.
* nscd/nscd_getpw_r.c: Likewise

19 years agoUpdate.
Ulrich Drepper [Wed, 10 Nov 2004 00:50:40 +0000 (00:50 +0000)]
Update.

2004-11-09  Jakub Jelinek  <jakub@redhat.com>

* posix/regcomp.c (calc_eclosure_iter): Don't access
dfa->edests[node].elems[0] if dfa->edests[node].nelem == 0.
* posix/rxspencer/tests: Add 5 new tests.

19 years agovalue correctly. Patch by Mitsuru Kanda <mk@karaba.org>.
Ulrich Drepper [Wed, 10 Nov 2004 00:38:10 +0000 (00:38 +0000)]
value correctly.  Patch by Mitsuru Kanda <mk@karaba.org>.

19 years agoUpdate.
Ulrich Drepper [Wed, 10 Nov 2004 00:37:05 +0000 (00:37 +0000)]
Update.

2004-11-09  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/ifaddrs.c: Determine sin6_scope_id field
value correctly.

19 years agoUpdate.
Ulrich Drepper [Tue, 9 Nov 2004 23:12:36 +0000 (23:12 +0000)]
Update.

2004-11-09  Ulrich Drepper  <drepper@redhat.com>

* Makefile (tests): Add tst-exit2.
* tst-exit2.c: New file.

19 years ago(tests): Add tst-exit2.
Ulrich Drepper [Tue, 9 Nov 2004 23:11:12 +0000 (23:11 +0000)]
(tests): Add tst-exit2.

19 years ago[BZ #530]
Roland McGrath [Tue, 9 Nov 2004 21:52:54 +0000 (21:52 +0000)]
[BZ #530]

2004-11-09  Roland McGrath  <roland@redhat.com>
[BZ #530]
* sysdeps/pthread/createthread.c (do_clone): Increment __nptl_nthreads
here, before calling clone.
* pthread_create.c (start_thread): Don't do it here.

2004-11-04  Roland McGrath  <roland@redhat.com>

* sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: New file.

19 years ago[BZ #530]
Roland McGrath [Tue, 9 Nov 2004 21:52:49 +0000 (21:52 +0000)]
[BZ #530]

2004-11-09  Roland McGrath  <roland@redhat.com>
[BZ #530]
* sysdeps/pthread/createthread.c (do_clone): Increment __nptl_nthreads
here, before calling clone.
* pthread_create.c (start_thread): Don't do it here.

19 years agoPretty printing.
Ulrich Drepper [Tue, 9 Nov 2004 09:12:14 +0000 (09:12 +0000)]
Pretty printing.

19 years agoUpdate.
Ulrich Drepper [Tue, 9 Nov 2004 07:05:27 +0000 (07:05 +0000)]
Update.

2004-11-04  Jakub Jelinek  <jakub@redhat.com>

* libio/fileops.c (_IO_new_file_seekoff): If mode is 0 and
fp->_offset == _IO_pos_BAD, just call _IO_SYSSEEK (fp, 0, dir)
and if successful set fp->_offset.
* libio/Makefile (tests): Add bug-ungetc3.
* libio/bug-ungetc3.c: New test.

19 years ago(_IO_new_file_seekoff): If mode is 0 and fp->_offset == _IO_pos_BAD, just call _IO_SY...
Ulrich Drepper [Tue, 9 Nov 2004 07:04:08 +0000 (07:04 +0000)]
(_IO_new_file_seekoff): If mode is 0 and fp->_offset == _IO_pos_BAD, just call _IO_SYSSEEK (fp, 0, dir) and if successful set fp->_offset.

19 years ago* sysdeps/gnu/_G_config.h (_G_HAVE_MREMAP): Define symbol.
Roland McGrath [Mon, 8 Nov 2004 23:15:54 +0000 (23:15 +0000)]
* sysdeps/gnu/_G_config.h (_G_HAVE_MREMAP): Define symbol.

* sysdeps/mach/hurd/_G_config.h: New file.
* libio/fileops.c (mmap_remap_check) [__linux__]: Replaced with
[_G_HAVE_MREMAP].

19 years ago2004-11-03 Marcus Brinkmann <marcus@gnu.org>
Roland McGrath [Mon, 8 Nov 2004 23:15:48 +0000 (23:15 +0000)]
2004-11-03  Marcus Brinkmann  <marcus@gnu.org>

* sysdeps/gnu/_G_config.h (_G_HAVE_MREMAP): Define symbol.
* sysdeps/mach/hurd/_G_config.h: New file.
* libio/fileops.c (mmap_remap_check) [__linux__]: Replaced with
[_G_HAVE_MREMAP].

19 years agoUpdate.
Ulrich Drepper [Mon, 8 Nov 2004 22:49:44 +0000 (22:49 +0000)]
Update.

2004-11-08  Ulrich Drepper  <drepper@redhat.com>

* posix/regcomp.c (utf8_sb_map): Define.
(free_dfa_content): Don't free dfa->sb_char if it's a pointer to
utf8_sb_map.
(init_dfa): Use utf8_sb_map instead of initializing memory when the
encoding is UTF-8.

* posix/regcomp.c (init_dfa): Get the codeset name outside glibc as
well.  Check if it is spelled UTF8 as well as UTF-8, and check
case-insensitively.  Set dfa->map_notascii manually when outside
glibc.
* posix/regex_internal.c (build_wcs_upper_buffer) [!_LIBC]: Enable
optimizations based on map_notascii.
* posix/regex_internal.h [HAVE_LANGINFO_H || HAVE_LANGINFO_CODESET
|| _LIBC]: Include langinfo.h.

* posix/regex_internal.h (struct re_backref_cache_entry): Add "more"
field.
* posix/regexec.c (check_dst_limits): Hoist computation of the source
and destination bkref_idx out of the loop.  Pass it to
check_dst_limits_calc_pos.
(check_dst_limits_calc_pos_1): New function, containing the recursive
loop of check_dst_limits_calc_pos; uses the "more" field of
struct re_backref_cache to control the loop.
(check_dst_limits_calc_pos): Store into "boundaries" the position
relative to lim's start and end positions.  Do not accept eclosures,
accept bkref_idx instead.  Call check_dst_limits_calc_pos_1 to do the
work.
(sift_states_bkref): Use the "more" field of struct re_backref_cache
to control the loop.  A big "if" was turned into a continue and the
function was reindented.
(get_subexp): Use the "more" field of struct re_backref_cache
to control the loop.
(match_ctx_add_entry): Initialize the bkref_ents' "more" field.
(search_cur_bkref_entry): Return -1 if out of bounds.

* posix/regexec.c (empty_set): Remove.
(sift_states_backward): Remove cur_src variable.  Move inner loop
to build_sifted_states.
(build_sifted_states): Extract from sift_states_backward.  Do not
use empty_set.
(update_cur_sifted_state): Do not use empty_set.  Special case
dest_nodes->nelem == 0.

19 years agoUpdate.
Ulrich Drepper [Mon, 8 Nov 2004 16:07:55 +0000 (16:07 +0000)]
Update.

2004-11-03  Paolo Bonzini  <bonzini@gnu.org>

* posix/regex_internal.h (struct re_backref_cache_entry): Remove flag
field.
(struct re_sift_context_t): Remove cur_bkref, cls_subexp_idx,
check_subexp fields.  Move limits last.
* posix/regexec.c (match_ctx_clear_flag): Remove.
(sift_ctx_init): Remove check_subexp parameter.  Do not set removed
fields.  Callers adjusted.
(expand_bkref_cache): Remove last_str parameter.  Callers adjusted.
(re_search_internal): Remove fast_translate variable.
(update_cur_sifted_state): Pass candidates as the final parameter
to sift_states_bkref.
(sift_states_bkref): Change last unused parameter to be "candidates",
do not fetch candidates into a local variable.
Remove dead test for "node == sctx->bkref", and the cur_bkref_idx
variable.
Remove loops that set/reset the flag field of backref cache entries.
(check_arrival_add_next_nodes): Use a signed int to hold the return
value of re_node_set_insert.
(group_nodes_into_DFAstates): Likewise.
(match_ctx_add_entry): Do not set the flag field of the new entry.

19 years ago(struct re_backref_cache_entry): Remove flag field. (struct re_sift_context_t): Remov...
Ulrich Drepper [Mon, 8 Nov 2004 16:06:36 +0000 (16:06 +0000)]
(struct re_backref_cache_entry): Remove flag field. (struct re_sift_context_t): Remove cur_bkref, cls_subexp_idx, check_subexp fields.  Move limits last.

19 years ago* sysdeps/gnu/errlist.c: Regenerated.
Roland McGrath [Sat, 6 Nov 2004 00:29:01 +0000 (00:29 +0000)]
* sysdeps/gnu/errlist.c: Regenerated.

19 years ago* sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Define
Roland McGrath [Sat, 6 Nov 2004 00:24:55 +0000 (00:24 +0000)]
* sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Define

_dl_sysinfo_dso under [NEED_DL_SYSINFO_DSO] as well.
* elf/rtld.c (dl_main): Set up GLRO(dl_sysinfo_dso) under
[NEED_DL_SYSINFO_DSO] as well.
* sysdeps/generic/dl-sysdep.c (_dl_show_auxv): Always include
AT_SYSINFO and AT_SYSINFO_EHDR in name table.
(_dl_sysdep_start) [NEED_DL_SYSINFO_DSO]: Match AT_SYSINFO_EHDR.
* elf/dl-support.c (_dl_sysinfo_dso): Define also under
[NEED_DL_SYSINFO_DSO].
(_dl_aux_init) [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO]:
Match AT_SYSINFO_EHDR and set GL(dl_sysinfo_dso).

2004-11-05  Roland McGrath  <roland@redhat.com>

19 years ago* manual/errno.texi (Error Codes): Revert last change for now.
Roland McGrath [Fri, 5 Nov 2004 23:02:22 +0000 (23:02 +0000)]
* manual/errno.texi (Error Codes): Revert last change for now.

19 years ago* Makeconfig (link-libc, rpath-dirs): Remove AIX cruft definitions.
Roland McGrath [Thu, 4 Nov 2004 23:43:59 +0000 (23:43 +0000)]
* Makeconfig (link-libc, rpath-dirs): Remove AIX cruft definitions.

(LDFLAGS-rpath-ORIGIN, LDFLAGS-soname-fname): Likewise.
(LDFLAGS-rdynamic, LDFLAGS-Bsymbolic): Likewise.
($(common-objpfx)gnu/lib-names.stmp): Likewise.

19 years ago* sysdeps/unix/sysv/linux/x86_64/sys/procfs.h [__WORDSIZE == 32]
Roland McGrath [Thu, 4 Nov 2004 23:37:44 +0000 (23:37 +0000)]
* sysdeps/unix/sysv/linux/x86_64/sys/procfs.h [__WORDSIZE == 32]

(elf_fpxregset_t): New type.
(struct elf_prpsinfo): If __WORDSIZE == 32, change pr_[ug]id type
to unsigned short int.
* sysdeps/unix/sysv/linux/x86_64/sys/user.h
(struct user_fpregs_struct): Fix comment.
* sysdeps/i386/fpu/bits/mathdef.h (float_t, double_t): If
__FLOAT_EVAL_METHOD__ is defined and 0, typedef to float resp. double.
* sysdeps/x86_64/fpu/bits/mathdef.h: Include bits/wordsize.h.
(float_t, double_t): If -m32 and not -mfpmath=sse, typedef to
long double.
* sysdeps/x86_64/fpu/bits/fenv.h: Include bits/wordsize.h.
(fenv_t): Remove __mxcsr field for -m32.

19 years ago* libio/ftello.c (ftello): Don't subtract save_end - save_base
Roland McGrath [Thu, 4 Nov 2004 23:22:09 +0000 (23:22 +0000)]
* libio/ftello.c (ftello): Don't subtract save_end - save_base

if pos is _IO_pos_BAD.
* libio/ftello64.c (ftello64): Likewise.
* libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
* libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
* libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
* libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
* libio/ioftell.c (_IO_ftell): Likewise.
Cast to long int instead of off_t when checking for overflow.

19 years ago2004-11-04 Jakub Jelinek <jakub@redhat.com>
Roland McGrath [Thu, 4 Nov 2004 23:22:02 +0000 (23:22 +0000)]
2004-11-04  Jakub Jelinek  <jakub@redhat.com>

* libio/ftello.c (ftello): Don't subtract save_end - save_base
if pos is _IO_pos_BAD.
* libio/ftello64.c (ftello64): Likewise.
* libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
* libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
* libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
* libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
* libio/ioftell.c (_IO_ftell): Likewise.
Cast to long int instead of off_t when checking for overflow.

19 years ago * sysdeps/unix/sysv/linux/alpha/register-dump.h (regnames): Align. ...
Richard Henderson [Thu, 4 Nov 2004 18:39:10 +0000 (18:39 +0000)]
    * sysdeps/unix/sysv/linux/alpha/register-dump.h (regnames): Align.         (linefeed): Remove.         (register_dump): Rewrite to generate into a flat buffer instead         of into iovecs.

2004-11-04  Richard Henderson  <rth@redhat.com>

* sysdeps/unix/sysv/linux/alpha/register-dump.h (regnames): Align.
(linefeed): Remove.
(register_dump): Rewrite to generate into a flat buffer instead
of into iovecs.

19 years ago* debug/tst-chk1.c (ret): New volatile variable.
Roland McGrath [Wed, 3 Nov 2004 20:31:21 +0000 (20:31 +0000)]
* debug/tst-chk1.c (ret): New volatile variable.

(CHK_FAIL_END): Remove redundant ret setting.
(do_test): Remote ret variable.

19 years ago* posix/regex_internal.h (__regfree) [!_LIBC]: Define to regfree.
Roland McGrath [Wed, 3 Nov 2004 20:27:19 +0000 (20:27 +0000)]
* posix/regex_internal.h (__regfree) [!_LIBC]: Define to regfree.

19 years ago* sysdeps/generic/utime.c: Include <stddef.h>.
Roland McGrath [Wed, 3 Nov 2004 02:53:06 +0000 (02:53 +0000)]
* sysdeps/generic/utime.c: Include <stddef.h>.

19 years ago* sysdeps/generic/sysconf.c: Include <grp.h> and <pwd.h>.
Roland McGrath [Wed, 3 Nov 2004 01:55:28 +0000 (01:55 +0000)]
* sysdeps/generic/sysconf.c: Include <grp.h> and <pwd.h>.

19 years ago* sysdeps/generic/tempname.c (__path_search): Add missing argument
Roland McGrath [Wed, 3 Nov 2004 01:51:52 +0000 (01:51 +0000)]
* sysdeps/generic/tempname.c (__path_search): Add missing argument

TRY_TMPDIR.

19 years ago2004-11-03 Marcus Brinkmann <marcus@gnu.org>
Roland McGrath [Wed, 3 Nov 2004 01:51:44 +0000 (01:51 +0000)]
2004-11-03  Marcus Brinkmann  <marcus@gnu.org>

* sysdeps/generic/tempname.c (__path_search): Add missing argument
TRY_TMPDIR.