Ulrich Drepper [Tue, 14 Dec 2004 21:25:41 +0000 (21:25 +0000)]
Update.
2004-10-06 Alan Modra <amodra@bigpond.net.au>
* sysdeps/powerpc/powerpc64/ppc-mcount.S (PROF): Don't undef.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Invoke CALL_MOUNT.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
Ulrich Drepper [Tue, 14 Dec 2004 21:18:36 +0000 (21:18 +0000)]
[BZ #457]
Update.
2004-10-19 Wolfram Gloger <wg@malloc.de>
* malloc/hooks.c (mem2chunk_check, top_check): Handle
non-contiguous arena. Reported by Michael Dalton
<mwdalton@stanford.edu> [BZ #457]. Add further checks for top chunk.
Ulrich Drepper [Tue, 14 Dec 2004 15:39:54 +0000 (15:39 +0000)]
Update.
2004-12-14 Jakub Jelinek <jakub@redhat.com>
* sysdeps/posix/sysconf.c (__sysconf_check_spec): Remove leading
underscore from GETCONF_DIR filenames.
Ulrich Drepper [Tue, 14 Dec 2004 02:41:43 +0000 (02:41 +0000)]
Update.
* po/de.po: Update from translation team.
Ulrich Drepper [Mon, 13 Dec 2004 21:50:20 +0000 (21:50 +0000)]
Update.
2004-12-13 Ulrich Drepper <drepper@redhat.com>
* nss/getnssent.c (__nss_getent): Double buffer size each round to
avoid problems with delays for some people's huge entries.
* nss/getXXbyYY.c (FUNCTION_NAME): Likewise.
Ulrich Drepper [Mon, 13 Dec 2004 21:29:18 +0000 (21:29 +0000)]
Update.
2004-12-13 Jakub Jelinek <jakub@redhat.com>
* posix/getconf.c (main): Prepend just $GETCONF_DIR/ instead of
$GETCONF_DIR/_ to spec.
* posix/confstr.c (confstr): Remove leading underscores for
_CS_POSIX_V6_WIDTH_RESTRICTED_ENVS.
Ulrich Drepper [Sun, 12 Dec 2004 21:06:37 +0000 (21:06 +0000)]
Update.
2004-12-12 Ulrich Drepper <drepper@redhat.com>
* elf/dl-load.c (_dl_map_object_from_fd): Fix computation of
mapping start. It must take the actual pagesize into account, not
the alignment in the file.
Ulrich Drepper [Sat, 11 Dec 2004 21:15:24 +0000 (21:15 +0000)]
Update.
2004-12-11 Ulrich Drepper <drepper@redhat.com>
* malloc/malloc.c (_int_realloc): Add checks for corrupted memory.
(_int_free): Make clear message are result of free() calls.
* malloc/malloc.c (_int_realloc): Remove unnecessary tests for
oldmem and size == 0.
Ulrich Drepper [Fri, 10 Dec 2004 11:42:45 +0000 (11:42 +0000)]
Update.
2004-12-10 Ulrich Drepper <drepper@redhat.com>
* malloc/arena.c (arena_get2): Prevent endless loop if arenas and
list lock are taken.
Ulrich Drepper [Fri, 10 Dec 2004 10:56:19 +0000 (10:56 +0000)]
Add check if the value is not an empty string. [BZ #597]
Ulrich Drepper [Fri, 10 Dec 2004 10:44:01 +0000 (10:44 +0000)]
[BZ #305]
Update.
2004-12-08 Thorsten Kukuk <kukuk@suse.de>
* nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_getnetgrent_r):
Add check if the value is not an empty string. [BZ #305]
Ulrich Drepper [Fri, 10 Dec 2004 04:41:46 +0000 (04:41 +0000)]
Update.
2004-11-29 Jakub Jelinek <jakub@redhat.com>
* stdlib/strtod_l.c (INTERNAL (__STRTOF)): If densize > 2
and numsize < densize, always shift num up by empty + 1 limbs.
Ulrich Drepper [Fri, 10 Dec 2004 04:37:58 +0000 (04:37 +0000)]
Update.
2004-12-07 Paolo Bonzini <bonzini@gnu.org>
* posix/regexec.c (proceed_next_node): Simplify treatment of epsilon
nodes. Pass the pushed node to push_fail_stack.
(push_fail_stack): Accept a single node rather than an array
of two epsilon destinations.
(build_sifted_states): Only walk non-epsilon nodes.
(check_arrival): Don't pass epsilon nodes to
check_arrival_add_next_nodes.
(check_arrival_add_next_nodes) [DEBUG]: Abort if an epsilon node is
found.
(check_node_accept): Do expensive checks later.
(add_epsilon_src_nodes): Cache result of merging the inveclosures.
* posix/regex_internal.h (re_dfastate_t): Add non_eps_nodes and
inveclosure.
(re_string_elem_size_at, re_string_char_size_at, re_string_wchar_at,
re_string_context_at, re_string_peek_byte_case,
re_string_fetch_byte_case, re_node_set_compare, re_node_set_contains):
Declare as pure.
* posix/regex_internal.c (create_newstate_common): Remove.
(register_state): Move part of it here. Initialize non_eps_nodes.
(free_state): Free inveclosure and non_eps_nodes.
(create_cd_newstate, create_ci_newstate): Allocate the new
re_dfastate_t here.
Ulrich Drepper [Fri, 10 Dec 2004 01:36:18 +0000 (01:36 +0000)]
Update.
2004-12-09 Ulrich Drepper <drepper@redhat.com>
* malloc/malloc.c (public_rEALLOc): Add parameter checks.
(_int_free): Provide better error message for invalid pointers.
Ulrich Drepper [Fri, 10 Dec 2004 00:41:30 +0000 (00:41 +0000)]
Update.
2004-12-01 Jakub Jelinek <jakub@redhat.com>
* posix/tst-regex.c: Use defined _POSIX_CPUTIME && _POSIX_CPUTIME >= 0
conditionals instead of defined _POSIX_CPUTIME.
(main): If _POSIX_CPUTIME == 0, call sysconf to see if CPUTIME
option is available.
* posix/tst-regex.c2: Use defined _POSIX_CPUTIME && _POSIX_CPUTIME >= 0
conditionals instead of defined _POSIX_CPUTIME.
(do_test): If _POSIX_CPUTIME == 0, call sysconf to see if CPUTIME
option is available.
* sysdeps/posix/sysconf.c (__sysconf): If _POSIX_CPUTIME resp.
_POSIX_THREAD_CPUTIME is defined to 0, return -1 for the corresponding
_SC_ argument.
Ulrich Drepper [Thu, 9 Dec 2004 23:53:39 +0000 (23:53 +0000)]
(__pthread_initialize_minimal_internal): Also unblock SIGSETXID.
Roland McGrath [Wed, 8 Dec 2004 22:08:52 +0000 (22:08 +0000)]
* elf/ldd.bash.in: When set -o pipefail is available, use that for
piping to cat; when not, don't use the pipe at all.
Pipe to cat in all cases of running the executable.
When direct running exits with code 5, retry running via ${RTLD}.
* elf/rtld.c (process_envvars): If __libc_enable_secure and
mode != normal, exit with exitcode 5.
Roland McGrath [Tue, 7 Dec 2004 21:06:29 +0000 (21:06 +0000)]
* sysdeps/posix/sysconf.c (__sysconf_check_spec): Only define
if it will be actually used.
Roland McGrath [Tue, 7 Dec 2004 20:45:18 +0000 (20:45 +0000)]
* rt/tst-timer5.c (setup_test): New function.
(TEST_CLOCK_MISSING): Use it to punt test if timer_create does not
support CLOCK_MONOTONIC.
Roland McGrath [Tue, 7 Dec 2004 20:44:46 +0000 (20:44 +0000)]
2004-12-07 Roland McGrath <roland@redhat.com>
* rt/tst-timer5.c (setup_test): New function.
(TEST_CLOCK_MISSING): Use it to punt test if timer_create does not
support CLOCK_MONOTONIC.
Ulrich Drepper [Tue, 7 Dec 2004 20:34:18 +0000 (20:34 +0000)]
Update.
2004-12-07 Jakub Jelinek <jakub@redhat.com>
* sysdeps/unix/sysv/linux/ia64/clone2.S (__clone2): Add support for
NPTL where the PID is stored at userlevel and needs to be reset when
CLONE_THREAD is not used. Restore gp before calling _exit.
Ulrich Drepper [Tue, 7 Dec 2004 19:40:04 +0000 (19:40 +0000)]
Update.
2004-12-07 Kaz Kojima <kkojima@rr.iij4u.or.jp>
* sysdeps/unix/sysv/linux/sh/clone.S: Clear the frame pointer when
starting a new thread. Add support for NPTL where the PID is stored
at userlevel and needs to be reset when CLONE_THREAD is not used.
Ulrich Drepper [Tue, 7 Dec 2004 06:55:06 +0000 (06:55 +0000)]
Update.
2004-12-01 Jakub Jelinek <jakub@redhat.com>
* elf/rtld.c (process_envvars): Don't consider LD_SHOW_AUXV
and LD_DYNAMIC_WEAK if __libc_enable_secure.
If __libc_enable_secure, /etc/suid-debug doesn't exist and
program will be actually run, turn off all debugging.
* sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add LD_DEBUG,
LD_DYNAMIC_WEAK and LD_SHOW_AUXV.
Ulrich Drepper [Mon, 6 Dec 2004 22:51:31 +0000 (22:51 +0000)]
[BZ #601]
Update.
2004-12-06 Jakub Jelinek <jakub@redhat.com>
* time/tzset.c (tzset_internal): If + or - is seen,
but no offset after it, reset offset to 0. [BZ #601]
* libio/ioseekpos.c (_IO_seekpos_unlocked): Call _IO_SEEKOFF not
Ulrich Drepper [Mon, 6 Dec 2004 22:48:11 +0000 (22:48 +0000)]
Update.
* libio/ioseekpos.c (_IO_seekpos_unlocked): Call _IO_SEEKOF not
_IO_SEEKPOS, saving one indirect jump.
Ulrich Drepper [Mon, 6 Dec 2004 22:39:13 +0000 (22:39 +0000)]
Update.
2004-12-06 Ulrich Drepper <drepper@redhat.com>
* libio/fileops.c (_IO_new_file_seekoff): Fix optimization of in-buffer
seek. Remove dead code.
2004-12-02 Jakub Jelinek <jakub@redhat.com>
* libio/Makefile (tests): Add bug-ungetc4.
* libio/bug-ungetc4.c: New test.
Ulrich Drepper [Mon, 6 Dec 2004 22:33:26 +0000 (22:33 +0000)]
Test for ungetc bug.
Roland McGrath [Mon, 6 Dec 2004 22:29:01 +0000 (22:29 +0000)]
* sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Diagnose EINVAL
for CLOCK_THREAD_CPUTIME_ID, not ENOTSUP.
Use SYSDEP_NANOSLEEP handler before validating CLOCK_ID value.
* rt/tst-timer4.c (TEST_CLOCK, TEST_CLOCK_NANOSLEEP): New macros.
Use them throughout in place of CLOCK_REALTIME and nanosleep.
(do_test) [TEST_CLOCK_MISSING]: Call this macro and if it returns
non-null, punt the test with a message using the string returned.
* rt/tst-timer5.c: New file.
* rt/Makefile (tests): Add it.
Roland McGrath [Mon, 6 Dec 2004 22:28:45 +0000 (22:28 +0000)]
2004-12-06 Roland McGrath <roland@redhat.com>
* rt/tst-timer4.c (TEST_CLOCK, TEST_CLOCK_NANOSLEEP): New macros.
Use them throughout in place of CLOCK_REALTIME and nanosleep.
(do_test) [TEST_CLOCK_MISSING]: Call this macro and if it returns
non-null, punt the test with a message using the string returned.
* rt/tst-timer5.c: New file.
* rt/Makefile (tests): Add it.
Ulrich Drepper [Mon, 6 Dec 2004 03:03:01 +0000 (03:03 +0000)]
Update.
2004-12-01 Paolo Bonzini <bonzini@gnu.org>
* posix/regcomp.c (free_dfa_content, init_dfa): Remove
references to re_dfa_t's subexps field.
(parse_sub_exp, parse_expression): Do not use it. Use
completed_bkref_map instead.
(create_initial_state, peek_token): Store a backreference \N
with opr.idx = N-1.
* posix/regexec.c (proceed_next_node, check_dst_limits, get_subexp):
Likewise.
(check_subexp_limits): Remove useless condition.
* posix/regex_internal.h (re_subexp_t): Remove.
(re_dfa_t): Remove subexps and subexps_alloc field, add
completed_bkref_map.
Ulrich Drepper [Mon, 6 Dec 2004 02:56:42 +0000 (02:56 +0000)]
(free_dfa_content, init_dfa): Remove references to re_dfa_t's subexps field. (parse_sub_exp, parse_expression): Do not use it. Use completed_bkref_map instead. (create_initial_state, peek_token): Store a backreference \N with opr.idx = N-1.
Roland McGrath [Sun, 5 Dec 2004 23:50:14 +0000 (23:50 +0000)]
* Makeconfig: Comment typo fix.
Roland McGrath [Sun, 5 Dec 2004 23:49:59 +0000 (23:49 +0000)]
2004-12-05 Roland McGrath <roland@frob.com>
* Makeconfig: Comment typo fix.
Ulrich Drepper [Sun, 5 Dec 2004 23:04:27 +0000 (23:04 +0000)]
Update.
2004-11-30 Andreas Schwab <schwab@suse.de>
* nis/ypclnt.c (ypprot_err): Remove unused entries.
2004-11-30 Paolo Bonzini <bonzini@gnu.org>
* posix/regexec.c (check_dst_limits_calc_pos_1): Check for
bkref_idx == -1, and don't recurse in that case.
Ulrich Drepper [Sun, 5 Dec 2004 22:54:28 +0000 (22:54 +0000)]
* posix/confstr.c: Enclose #error message with double quote
for gcc-3.3 and lower.
Ulrich Drepper [Sun, 5 Dec 2004 20:18:50 +0000 (20:18 +0000)]
Pretty printing.
* sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
* sysdeps/unix/arm/brk.S: Likewise.
* sysdeps/unix/arm/fork.S: Likewise.
* sysdeps/unix/arm/sysdep.S: Likewise.
* sysdeps/unix/arm/sysdep.h: Likewise.
Roland McGrath [Sun, 5 Dec 2004 09:41:16 +0000 (09:41 +0000)]
bogon
Roland McGrath [Sun, 5 Dec 2004 09:38:27 +0000 (09:38 +0000)]
bogon
Ulrich Drepper [Sun, 5 Dec 2004 07:50:01 +0000 (07:50 +0000)]
Update.
2004-12-04 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/i386/clone.S: Add support for NPTL where
the PID is stored at userlevel and needs to be reset when CLONE_THREAD
is not used.
* sysdeps/unix/sysv/linux/86_64/clone.S: Likewise.
* sysdeps/unix/sysv/linux/arm/clone.S: Update uses of RETINSTR.
* sysdeps/unix/sysv/linux/arm/mmap.S: Likewise.
* sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
* sysdeps/unix/sysv/linux/arm/socket.S: Likewise.
* sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
* sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
Ulrich Drepper [Sun, 5 Dec 2004 07:45:18 +0000 (07:45 +0000)]
clone syscall implementation for nptl/i386.
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.
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.
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>
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.
Roland McGrath [Wed, 1 Dec 2004 19:54:41 +0000 (19:54 +0000)]
* stdlib/stdlib.h (realpath): Remove nonnull attribute.
Roland McGrath [Wed, 1 Dec 2004 19:44:39 +0000 (19:44 +0000)]
* sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c):
Do $(make-target-directory).
Roland McGrath [Tue, 30 Nov 2004 03:37:32 +0000 (03:37 +0000)]
* posix/confstr.c: Avoid punctuation in #error text.
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.
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.
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.
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.
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.
Ulrich Drepper [Fri, 26 Nov 2004 08:19:03 +0000 (08:19 +0000)]
Update.
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>
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.
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.
Ulrich Drepper [Thu, 25 Nov 2004 20:16:31 +0000 (20:16 +0000)]
Update.
* dlfcn/dlfcn.h: Remove nonnull attribute from dlopen.
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.
Ulrich Drepper [Thu, 25 Nov 2004 06:25:42 +0000 (06:25 +0000)]
Update.
* sysdeps/x86_64/Makefile [nptl]: Define CFLAGS-pthread_create.c.
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.
Ulrich Drepper [Wed, 24 Nov 2004 22:52:48 +0000 (22:52 +0000)]
Implementation of pthread_setschedprio.
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
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.
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.
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.
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).
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.
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.
Ulrich Drepper [Mon, 22 Nov 2004 18:41:05 +0000 (18:41 +0000)]
(__nscd_getai): Avoid memory and file descriptor leaks.
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.
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.
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.
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).
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.
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.
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.
Ulrich Drepper [Sat, 20 Nov 2004 09:55:44 +0000 (09:55 +0000)]
Update.
* signal/signal.h: Add nonnull attributes.
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.
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.
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.
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.
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.
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.
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.
Ulrich Drepper [Thu, 18 Nov 2004 23:18:45 +0000 (23:18 +0000)]
(_IO_FLAGS2_FORTIFY): Renamed from _IO_FLAGS2_CHECK_PERCENT_N.
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.
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.
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>.
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.
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.
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.
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.
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.
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.
Roland McGrath [Fri, 12 Nov 2004 21:51:46 +0000 (21:51 +0000)]
* elf/elf.h: Add 20 bit relocations R_390_*20.
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.
Ulrich Drepper [Fri, 12 Nov 2004 19:46:34 +0000 (19:46 +0000)]
Remove gpl2lgpl variable.
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.
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".
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.