platform/upstream/glibc.git
20 years agoUpdate.
Ulrich Drepper [Mon, 3 Nov 2003 17:41:17 +0000 (17:41 +0000)]
Update.

2003-10-31  Steven Munroe  <sjmunroe@us.ibm.com>

* sysdeps/powerpc/powerpc32/strncmp.S: New File.
* sysdeps/powerpc/powerpc64/strncmp.S: New File.

20 years agoUpdate.
Ulrich Drepper [Mon, 3 Nov 2003 17:20:32 +0000 (17:20 +0000)]
Update.

2003-11-01  Randolph Chung  <tausq@debian.org>

* sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
Add missing parentheses.

20 years ago(LOAD_ARGS_0) (LOAD_ARGS_1, LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4) (LOAD_ARGS_5,...
Ulrich Drepper [Mon, 3 Nov 2003 17:18:38 +0000 (17:18 +0000)]
(LOAD_ARGS_0) (LOAD_ARGS_1, LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4) (LOAD_ARGS_5, LOAD_ARGS_6): Add missing parentheses.

20 years ago* libio/bug-ftell.c (do_test): Add a cast.
Roland McGrath [Sat, 1 Nov 2003 21:11:05 +0000 (21:11 +0000)]
* libio/bug-ftell.c (do_test): Add a cast.

20 years ago* Makerules (shlib.lds): Make sure that ld doesn't try to link
Roland McGrath [Sat, 1 Nov 2003 00:36:04 +0000 (00:36 +0000)]
* Makerules (shlib.lds): Make sure that ld doesn't try to link

anything while generating the linker script.

20 years ago* locale/lc-ctype.c (_nl_postload_ctype): Update _nl_global_locale's
Roland McGrath [Fri, 31 Oct 2003 23:35:42 +0000 (23:35 +0000)]
* locale/lc-ctype.c (_nl_postload_ctype): Update _nl_global_locale's

special members.

20 years ago2003-10-31 Roland McGrath <roland@redhat.com>
Roland McGrath [Fri, 31 Oct 2003 23:35:21 +0000 (23:35 +0000)]
2003-10-31  Roland McGrath  <roland@redhat.com>

* locale/lc-ctype.c (_nl_postload_ctype): Update _nl_global_locale's
special members.

20 years agoUpdate.
Ulrich Drepper [Thu, 30 Oct 2003 02:14:20 +0000 (02:14 +0000)]
Update.

2003-10-29  Ulrich Drepper  <drepper@redhat.com>

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

20 years agoUpdate.
Ulrich Drepper [Mon, 27 Oct 2003 20:09:12 +0000 (20:09 +0000)]
Update.

* elf/rtld.c (map_doit): Pass __RTLD_OPENEXEC in last parameter to
_dl_map_object.

20 years agoUpdate.
Ulrich Drepper [Mon, 27 Oct 2003 09:18:17 +0000 (09:18 +0000)]
Update.

* elf/sprof.c (load_shobj): Use l_map_start not l_addr to locate
ELF header.

20 years agoUpdate.
Ulrich Drepper [Mon, 27 Oct 2003 08:44:53 +0000 (08:44 +0000)]
Update.

2003-10-27  Ulrich Drepper  <drepper@redhat.com>

* inet/rcmd.c (__validuser2_sa): Remove unnecessary code to skip
rest of line.  We use getline which means this cannot happen.

20 years agoUpdate.
Ulrich Drepper [Mon, 27 Oct 2003 04:05:04 +0000 (04:05 +0000)]
Update.

* sysdeps/unix/sysv/linux/internal_statvfs.c (__internal_statvfs):
Avoid infinite loops in case the mounts file is hosed.
* io/Makefile: Add rules to build and run tst-statvfs.
* io/tst-statvfs.c: New file.

20 years agoUpdate.
Ulrich Drepper [Mon, 27 Oct 2003 01:36:12 +0000 (01:36 +0000)]
Update.

* include/dlfcn.h (__RTLD_OPENEXEC): Define.
* elf/dl-load.c (_dl_map_object_from_fd): Don't allow loading
executables unless __RTLD_OPENEXEC flag is present.
* elf/rtld.c (dl_main): Pass __RTLD_OPENEXEC flag to
_dl_map_object when loading the executable.

reverse lookup format for IPv6 addresses is using bitstring and
* resolv/ns_name.c: Implement encoding and decoding bitstring in

20 years agoUpdate.
Ulrich Drepper [Sun, 26 Oct 2003 20:47:33 +0000 (20:47 +0000)]
Update.

* sysdeps/generic/glob.c (glob): Handle GLOB_BRACE and escaping
correctly.
* posix/globtest.sh: Add tests for GLOB_BRACE and escaping.

20 years agoUpdate.
Ulrich Drepper [Sun, 26 Oct 2003 08:34:38 +0000 (08:34 +0000)]
Update.

2003-10-26  Ulrich Drepper  <drepper@redhat.com>

* resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Default
reverse lookup format for IPv6 addresses is using bitfields and
.ip6.arpa suffix.
* resolv/ns_name.c: Implement encoding and decoding bitfields in
hex format.

20 years agoUpdate.
Ulrich Drepper [Fri, 24 Oct 2003 03:26:33 +0000 (03:26 +0000)]
Update.

2003-10-23  Jakub Jelinek  <jakub@redhat.com>

* locale/programs/locale.c (show_info): Fix printing word values on
64-bit big-endian architectures.

2003-10-19  Bruno Haible  <bruno@clisp.org>

* intl/hash-string.c (hash_string): Zero-extend each char from the
string; the old code did a sign-extend on some platforms.

20 years ago(__hash_string): Zero-extend each char from the string; the old code did a sign-exten...
Ulrich Drepper [Fri, 24 Oct 2003 03:22:26 +0000 (03:22 +0000)]
(__hash_string): Zero-extend each char from the string; the old code did a sign-extend on some platforms.

20 years ago* sysdeps/powerpc/powerpc32/Makefile (+cflags, asm-CPPFLAGS): Don't
Roland McGrath [Wed, 22 Oct 2003 21:30:08 +0000 (21:30 +0000)]
* sysdeps/powerpc/powerpc32/Makefile (+cflags, asm-CPPFLAGS): Don't

append options to these.
* sysdeps/powerpc/powerpc64/Makefile (+cflags, asm-CPPFLAGS): Likewise.

20 years ago2003-10-22 Steven Munroe <sjmunroe@us.ibm.com>
Roland McGrath [Wed, 22 Oct 2003 21:30:03 +0000 (21:30 +0000)]
2003-10-22  Steven Munroe  <sjmunroe@us.ibm.com>

* sysdeps/powerpc/powerpc32/Makefile (+cflags, asm-CPPFLAGS): Don't
append options to these.
* sysdeps/powerpc/powerpc64/Makefile (+cflags, asm-CPPFLAGS): Likewise.

20 years agoNo need for compile time measurements.
Ulrich Drepper [Wed, 22 Oct 2003 19:07:07 +0000 (19:07 +0000)]
No need for compile time measurements.

20 years ago* sysdeps/unix/sysv/linux/hppa/sysdep.h: Fix merge error.
Roland McGrath [Wed, 22 Oct 2003 07:10:00 +0000 (07:10 +0000)]
* sysdeps/unix/sysv/linux/hppa/sysdep.h: Fix merge error.

2003-10-15  Roland McGrath  <roland@redhat.com>

* elf/dl-iteratephdr.c [! SHARED] (dl_iterate_phdr): New function.
Fake an entry for the main executable and then call __dl_iterate_phdr.
* elf/Makefile (routines): Remove dl-iteratephdr-static.
(elide-routines.os): Likewise.
(CFLAGS-dl-iterate-phdr-static.c): Variable removed.
* sysdeps/generic/dl-iteratephdr-static.c: File removed.
* sysdeps/unix/sysv/linux/ia64/dl-iteratephdr-static.c: File removed.

20 years ago* sysdeps/pthread/configure.in: Barf if visibility attribute support
Roland McGrath [Thu, 16 Oct 2003 01:38:30 +0000 (01:38 +0000)]
* sysdeps/pthread/configure.in: Barf if visibility attribute support

is missing.
* sysdeps/pthread/configure: Regenerated.

20 years agobogon reversion
Roland McGrath [Thu, 16 Oct 2003 01:38:16 +0000 (01:38 +0000)]
bogon reversion

20 years ago* sysdeps/generic/dl-iteratephdr-static.c: Really implement it.
Roland McGrath [Wed, 15 Oct 2003 19:34:04 +0000 (19:34 +0000)]
* sysdeps/generic/dl-iteratephdr-static.c: Really implement it.

20 years ago2003-10-15 Roland McGrath <roland@redhat.com>
Roland McGrath [Wed, 15 Oct 2003 19:33:56 +0000 (19:33 +0000)]
2003-10-15  Roland McGrath  <roland@redhat.com>

* sysdeps/pthread/configure.in: Barf if visibility attribute support
is missing.
* sysdeps/pthread/configure: Regenerated.

20 years agoUpdate.
Ulrich Drepper [Wed, 15 Oct 2003 06:24:26 +0000 (06:24 +0000)]
Update.

2003-10-15  Jakub Jelinek  <jakub@redhat.com>

* elf/rtld.c (print_statistics): Print also number of relative
relocations.

20 years agoUpdate.
Ulrich Drepper [Wed, 15 Oct 2003 05:47:36 +0000 (05:47 +0000)]
Update.

2003-10-12  Carlos O'Donell  <carlos@baldric.uwo.ca>

* sysdeps/hppa/sysdep.h: Undef JUMPTARGET before use.
* sysdeps/unix/sysv/linux/hppa/sysdep.h: Define PSEUDO_ERRVAL,
SYSCALL_ERROR_LABEL under all conditions, INTERNAL_SYSCALL_DECL,
INTERNAL_SYSCALL_ERROR_P, INTERNAL_SYSCALL_ERRNO, INTERNAL_SYSCALL,
and undef JUMPTARGET before use.
[PIC]: Save pic register around syscall.
* sysdeps/unix/sysv/linux/hppa/sysdep.c (syscall):
Cleanup asm statment.

2003-10-13  Kaz Kojima  <kkojima@rr.iij4u.or.jp>

* sysdeps/unix/sysv/linux/sh/sysdep.h (DO_CALL): Add SYSCALL_INST_PAD
after trapa instruction.

20 years agoUpdate.
Ulrich Drepper [Sun, 12 Oct 2003 23:05:45 +0000 (23:05 +0000)]
Update.

2003-10-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>

* sysdeps/unix/sysv/linux/sh/syscalls.list: Add waitpid.

20 years agoAdd waitpid.
Ulrich Drepper [Sun, 12 Oct 2003 22:56:00 +0000 (22:56 +0000)]
Add waitpid.

20 years ago* sysdeps/hppa/Makefile (CFLAGS-malloc.c): Variable removed.
Roland McGrath [Sat, 11 Oct 2003 01:29:07 +0000 (01:29 +0000)]
* sysdeps/hppa/Makefile (CFLAGS-malloc.c): Variable removed.

20 years ago* elf/rtld.c (dl_main): Don't set l_name for sysinfo DSO, since there
Roland McGrath [Thu, 9 Oct 2003 22:34:22 +0000 (22:34 +0000)]
* elf/rtld.c (dl_main): Don't set l_name for sysinfo DSO, since there

is no file to name.

20 years ago2003-10-09 Roland McGrath <roland@redhat.com>
Roland McGrath [Thu, 9 Oct 2003 22:34:17 +0000 (22:34 +0000)]
2003-10-09  Roland McGrath  <roland@redhat.com>

* elf/rtld.c (dl_main): Don't set l_name for sysinfo DSO, since there
is no file to name.

20 years agoUpdate.
Ulrich Drepper [Wed, 8 Oct 2003 21:12:18 +0000 (21:12 +0000)]
Update.

2003-10-08  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Don't generate
two identical copies of strings.

20 years agoUpdate.
Ulrich Drepper [Tue, 7 Oct 2003 18:50:07 +0000 (18:50 +0000)]
Update.

2003-10-07  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Backout 2003-10-02
changes.
(SAVE_OLDTYPE_0): Fix a typo.

20 years agoUpdate.
Ulrich Drepper [Mon, 6 Oct 2003 23:44:15 +0000 (23:44 +0000)]
Update.

* posix/bug-regex11.c: Add some more tests which fail so far.
Disable them.  Patch by Paolo Bonzini <bonzini@gnu.org>.

2003-10-05  Paolo Bonzini  <bonzini@gnu.org>

* posix/bug-regex11.c: Add more backreference-related test cases.
(main): Show the failing regex in the error messages.
* posix/regexec.c (check_dst_limits_calc_pos):
Simplify some nested conditionals.  Replace if's with a switch
statement.
(check_dst_limits_calc_pos <TYPE_BKREF>): Rename parameter NODE to
FROM_NODE, it shadows a local variable; don't recurse if FROM_NODE
does not change in the recursive invocation, fixing an infinite loop
in the ()\1*\1* regex.
(sift_states_backward): Fix function comment.
* posix/regcomp.c (calc_epsdest): Add an assertion.

2003-10-06  Ulrich Drepper  <drepper@redhat.com>

20 years agoUpdate.
Ulrich Drepper [Mon, 6 Oct 2003 21:21:58 +0000 (21:21 +0000)]
Update.

* manual/examples/testopt.c: Fix warnings.  Better error message
for missing -c argument.
Patch mostly by Gitonga Marete <bgmarete@comcast.net>.

20 years agoFix warnings. Better error message for missing -c argument.
Ulrich Drepper [Mon, 6 Oct 2003 21:20:39 +0000 (21:20 +0000)]
Fix warnings.  Better error message for missing -c argument.

20 years agofix file names
Roland McGrath [Mon, 6 Oct 2003 20:52:43 +0000 (20:52 +0000)]
fix file names

* timezone/australasia: Likewise.
* timezone/backward: Likewise.
* timezone/europe: Likewise.
* timezone/iso3166.tab: Likewise.
* timezone/northamerica: Likewise.
* timezone/southamerica: Likewise.
* timezone/zone.tab: Likewise.

20 years agoUpdate.
Ulrich Drepper [Mon, 6 Oct 2003 17:48:42 +0000 (17:48 +0000)]
Update.

2003-10-06  Ulrich Drepper  <drepper@redhat.com>

* timezone/asia: Update from tzdata2003d.
* australasia: Likewise.
* backward: Likewise.
* europe: Likewise.
* iso3166.tab: Likewise.
* northamerica: Likewise.
* southamerica: Likewise.
* zone.tab: Likewise.

modified after comments from Ulrich Drepper.

20 years agoUpdate.
Ulrich Drepper [Sun, 5 Oct 2003 19:33:05 +0000 (19:33 +0000)]
Update.

2003-10-05  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/ia64/backtrace.c: New file.
* sysdeps/x86_64/backtrace.c: New file.
* sysdeps/generic/unwind.h (_Unwind_Trace_Fn): New type.
(_Unwind_Backtrace): New prototype.

20 years agoUpdate.
Ulrich Drepper [Fri, 3 Oct 2003 20:29:57 +0000 (20:29 +0000)]
Update.

2003-10-03  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/i386/elf/bsd-setjmp.S: Use linkonce section for PIC stub.
* sysdeps/i386/elf/setjmp.S: Likewise.

20 years ago(__pthread_once): Check __sigsetjmp return value.
Ulrich Drepper [Fri, 3 Oct 2003 19:49:23 +0000 (19:49 +0000)]
(__pthread_once): Check __sigsetjmp return value.

20 years ago* argp/argp-help.c (__argp_short_program_name): Move inside [! _LIBC].
Roland McGrath [Fri, 3 Oct 2003 00:44:51 +0000 (00:44 +0000)]
* argp/argp-help.c (__argp_short_program_name): Move inside [! _LIBC].

* argp/argp-namefrob.h
[_LIBC || HAVE_DECL_PROGRAM_INVOCATION_SHORT_NAME]
(__argp_short_program_name): Don't declare fn, define it as a macro.

20 years ago2003-10-02 Roland McGrath <roland@redhat.com>
Roland McGrath [Fri, 3 Oct 2003 00:44:39 +0000 (00:44 +0000)]
2003-10-02  Roland McGrath  <roland@redhat.com>

* argp/argp-help.c (__argp_short_program_name): Move inside [! _LIBC].
* argp/argp-namefrob.h
[_LIBC || HAVE_DECL_PROGRAM_INVOCATION_SHORT_NAME]
(__argp_short_program_name): Don't declare fn, define it as a macro.

20 years agoUpdate.
Ulrich Drepper [Thu, 2 Oct 2003 22:55:10 +0000 (22:55 +0000)]
Update.

2003-08-22  Simon Josefsson  <jas@extundo.com>

* argp/argp-fmtstream.h [!__attribute__]: Define to nothing.

* argp/argp-help.c: Don't include malloc.h, some platforms
complain and it doesn't appear to be used.
[!_LIBC && HAVE_STRERROR_R && !HAVE_DECL_STRERROR_R]: Declare
strerror_r.
[!_LIBC && !HAVE_STRERROR_R && !HAVE_DECL_STRERROR]: Declare
strerror.
(hol_entry_long_iterate): Change __attribute to __attribute__.
(_help, __argp_error, __argp_failure) [!_LIBC && (HAVE_FLOCKFILE
&& HAVE_FUNLOCKFILE)]: Protect call to flockfile and funlockfile.
(__argp_basename) [!_LIBC]: New. Taken from LSH, by Niels Möller,
modifed after comments from Ulrich Drepper.
(__argp_short_program_name): Ditto.
(__argp_state_help, __argp_error, __argp_failure): Use it.
(__argp_failure): Use strerror when necessary.

* argp/argp-namefrob.h (__flockfile, __funlockfile, __mempcpy)
(__strchrnul, __strerror_r, __strndup) [!_LIBC]: Remove __-prefix.
(clearerr_unlocked, feof_unlocked, ferror_unlocked)
(fflush_unlocked, fgets_unlocked, fputc_unlocked, fputs_unlocked)
(fread_unlocked, fwrite_unlocked, getc_unlocked, getchar_unlocked)
(putc_unlocked, putchar_unlocked) [!_LIBC && !HAVE_DECL_*]: Map to
non-unlocked functions.
[!_LIBC]: Add prototypes for __argp_basename and
__argp_short_program_name.

* argp/argp-parse.c (argp_default_parser): Only use
program_invocation{_short,}_name if declared.
(parser_init): Use __argp_short_program_name.

* argp/argp-xinl.c [_LIBC || HAVE_FEATURES_H]: Add CPP check for
'#include features.h'.

* argp/argp.h [!__attribute__]: Define to nothing.

20 years agoUpdate.
Ulrich Drepper [Thu, 2 Oct 2003 22:41:11 +0000 (22:41 +0000)]
Update.

2003-09-26  Paolo Bonzini  <bonzini@gnu.org>

* posix/regcomp.c (parse_sub_exp): Pass RE_CARET_ANCHORS_HERE
for the first token in a subexpression as well.

2003-10-02  Jakub Jelinek  <jakub@redhat.com>

* posix/regcomp.c (peek_token): Add 2003-09-20 changes for anchor
handling again.
(parse_reg_exp): Likewise.
* posix/regex.h (RE_CARET_ANCHORS_HERE): Define.

* posix/bug-regex11.c (tests): Add new tests.
* posix/bug-regex12.c (tests): Add new test.

20 years agoUpdate.
Ulrich Drepper [Thu, 2 Oct 2003 18:58:31 +0000 (18:58 +0000)]
Update.

2003-10-01  Thorsten Kukuk  <kukuk@suse.de>

* elf/dl-reloc.c (_dl_allocate_static_tls): Move definition of
variables only used if TLS_DTV_AT_TP is defined into the #if branch.

20 years agoUpdate.
Ulrich Drepper [Thu, 2 Oct 2003 18:56:20 +0000 (18:56 +0000)]
Update.

2003-10-02  Jeroen Dekkers  <jeroen@dekkers.cx>

* sysdeps/mach/hurd/malloc-machine.h: Copy the tsd code from
        the old thread-m.h header too.

20 years agoUpdate.
Ulrich Drepper [Thu, 2 Oct 2003 17:32:59 +0000 (17:32 +0000)]
Update.

2003-10-02  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Fix saving and
restoring of the old cancellation type.

* sysdeps/pthread/malloc-machine.h: New file

20 years agoUpdate.
Ulrich Drepper [Thu, 2 Oct 2003 15:37:21 +0000 (15:37 +0000)]
Update.

* sysdeps/unix/sysv/linux/ia64/bits/sigstack.h (MINSIGSTKSZ): Go
back to 131027 since this is what the kernel enforces.

20 years agoUpdate.
Ulrich Drepper [Thu, 2 Oct 2003 09:36:32 +0000 (09:36 +0000)]
Update.

2003-10-02  Ulrich Drepper  <drepper@redhat.com>

* inet/getnameinfo.c: Move domain out of nrl_domainname scope and
define it with libc_freeres_ptr.

20 years agoUpdate.
Ulrich Drepper [Wed, 1 Oct 2003 07:21:38 +0000 (07:21 +0000)]
Update.

* SUPPORTED (SUPPORTED-LOCALES): Add uz_UZ@cyrillic.UTF-8.

20 years agoUpdate.
Ulrich Drepper [Wed, 1 Oct 2003 07:19:56 +0000 (07:19 +0000)]
Update.

2003-10-01  Ulrich Drepper  <drepper@redhat.com>

* locales/uz_UZ: New version by Mashrab Kuvatov.
* locales/uz_UZ@cyrillic: New file.  Patch by Mashrab Kuvatov.

20 years agoMostly replaced.
Ulrich Drepper [Wed, 1 Oct 2003 07:18:18 +0000 (07:18 +0000)]
Mostly replaced.

20 years ago* elf/rtld.c (dl_main): Add cast in last change.
Roland McGrath [Wed, 1 Oct 2003 07:15:10 +0000 (07:15 +0000)]
* elf/rtld.c (dl_main): Add cast in last change.

20 years ago* sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Remove
Roland McGrath [Wed, 1 Oct 2003 07:00:03 +0000 (07:00 +0000)]
* sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Remove

"#if 0" surrounding most of contents.
(SYSCALL_ERROR_LABEL): Define.
(__SYSCALL_CLOBBERS): Add $10.
(internal_syscall7): Remove.
* sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.

20 years agoformatting fix
Roland McGrath [Wed, 1 Oct 2003 06:51:59 +0000 (06:51 +0000)]
formatting fix

2003-09-27  Wolfram Gloger  <wg@malloc.de>

* sysdeps/pthread/malloc-machine.h: New file.

20 years agoUpdate
Ulrich Drepper [Wed, 1 Oct 2003 06:27:22 +0000 (06:27 +0000)]
Update

2003-09-30  Jakub Jelinek  <jakub@redhat.com>
* sysdeps/pthread/malloc-machine.h: Remove misleading comment.

2003-09-27  Wolfram Gloger  <wg@malloc.de>

20 years agoUpdate.
Ulrich Drepper [Wed, 1 Oct 2003 06:25:58 +0000 (06:25 +0000)]
Update.

20 years agoUpdate.
Ulrich Drepper [Tue, 30 Sep 2003 20:37:46 +0000 (20:37 +0000)]
Update.

2003-09-30  Ulrich Drepper  <drepper@redhat.com>

* elf/rtld.c (dl_main): Also set l_map_start.

2003-09-30  Daniel Jacobowitz  <drow@mvista.com>

* elf/rtld.c (dl_main): Set l_libname and l_name for the sysinfo DSO
to work around kernel problem.

20 years agoUpdate.
Ulrich Drepper [Tue, 30 Sep 2003 02:15:31 +0000 (02:15 +0000)]
Update.

* sysdeps/pthread/malloc-machine.h: New file.

2003-09-27  Wolfram Gloger  <wg@malloc.de>

20 years agoUpdate.
Ulrich Drepper [Tue, 30 Sep 2003 02:10:33 +0000 (02:10 +0000)]
Update.

2003-09-27  Wolfram Gloger  <wg@malloc.de>

* malloc/malloc.c: Include <malloc-machine.h> earlier instead of
"thread-m.h", so that default parameters can be overridden in a
system-specific malloc-machine.h.  Remove extra ; from extern "C"
closing brace.
* sysdeps/generic/malloc-machine.h: New file.
* sysdeps/mach/hurd/malloc-machine.h: New file.
* malloc/thread-m.h: Removed.
* malloc/Makefile: Remove CFLAGS-malloc.c parameter addition, it
is in sysdeps/generic/malloc-machine.h now.

* elf/dl-reloc.c (_dl_allocate_static_tls): Move definition of
variables only used if TLS_TCB_AT_TP is defined into the #if
branch.

20 years agoUpdate.
Ulrich Drepper [Mon, 29 Sep 2003 22:23:14 +0000 (22:23 +0000)]
Update.

2003-09-29  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __extension__ as
well to cover using long long in C90.

20 years agoUpdate.
Ulrich Drepper [Mon, 29 Sep 2003 21:57:16 +0000 (21:57 +0000)]
Update.

2003-09-28  Alfred M. Szmidt  <ams@kemisten.nu>

* sysdeps/mach/hurd/bits/libc-lock.h (__libc_cleanup_pop):
Redefine and use __libc_cleanup_region_end instead.

2003-09-29  Thorsten Kukuk  <kukuk@suse.de>

* sysdeps/unix/sysv/linux/sys/sysmacros.h: Use __inline and
fix prototypes for picky C++ compilers.

20 years agoUpdate.
Ulrich Drepper [Sat, 27 Sep 2003 17:02:41 +0000 (17:02 +0000)]
Update.

2003-09-27  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/ustat.c (ustat): Set errno to EINVAL if
the device ID is invalid and return -1.
* sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.

20 years agoUpdate.
Ulrich Drepper [Fri, 26 Sep 2003 08:45:18 +0000 (08:45 +0000)]
Update.

2003-09-26  Andreas Schwab  <schwab@suse.de>

* sysdeps/unix/sysv/linux/ia64/getcontext.S: Pass fourth argument to
rt_sigprocmask system call.

20 years agoPass fourth argument to rt_sigprocmask system call.
Ulrich Drepper [Fri, 26 Sep 2003 08:41:51 +0000 (08:41 +0000)]
Pass fourth argument to rt_sigprocmask system call.

20 years ago* sysdeps/unix/sysv/linux/dl-execstack.c (_dl_make_stack_executable):
Roland McGrath [Thu, 25 Sep 2003 23:04:29 +0000 (23:04 +0000)]
* sysdeps/unix/sysv/linux/dl-execstack.c (_dl_make_stack_executable):

Don't check for zero __libc_stack_end, it should be initialized.
[_STACK_GROWS_DOWN] [PROT_GROWSDOWN]: Try using PROT_GROWSDOWN flag
and fall back if it fails with EINVAL.
[_STACK_GROWS_UP] [PROT_GROWSUP]: Likewise for PROT_GROWSUP.

20 years ago2003-09-25 Roland McGrath <roland@redhat.com>
Roland McGrath [Thu, 25 Sep 2003 23:04:12 +0000 (23:04 +0000)]
2003-09-25  Roland McGrath  <roland@redhat.com>

* sysdeps/unix/sysv/linux/dl-execstack.c (_dl_make_stack_executable):
Don't check for zero __libc_stack_end, it should be initialized.
[_STACK_GROWS_DOWN] [PROT_GROWSDOWN]: Try using PROT_GROWSDOWN flag
and fall back if it fails with EINVAL.
[_STACK_GROWS_UP] [PROT_GROWSUP]: Likewise for PROT_GROWSUP.

20 years agoUpdate.
Ulrich Drepper [Thu, 25 Sep 2003 22:01:15 +0000 (22:01 +0000)]
Update.

2003-09-25  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
sysdeps/i386/dl-procinfo.c instead of
sysdeps/unix/sysv/linux/i386/dl-procinfo.c.
* sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Avoid using
#include_next.

20 years agoUpdate.
Ulrich Drepper [Thu, 25 Sep 2003 20:48:59 +0000 (20:48 +0000)]
Update.

* posix/regcomp.c (peek_token): Remove recent changes for anchor
handling again.
(parse_reg_exp): Likewise.
* posix/regex.h: Remove RE_CARET_ANCHORS_HERE.

(peek_token): Accept \s and \S as OP_SPACE and OP_NOTSPACE.
(parse_expression): Replace build_word_op with

20 years agoUpdate.
Ulrich Drepper [Thu, 25 Sep 2003 20:31:23 +0000 (20:31 +0000)]
Update.

* csu/Makefile ($(objpfx)version-info.h): Fix sed script to handle
banners.

20 years agoUpdate.
Ulrich Drepper [Thu, 25 Sep 2003 19:44:55 +0000 (19:44 +0000)]
Update.

* nis/nis_table.c (nis_list): Always strdup string used with
ibreq->ibr_name.  Add several NULL pointer checks.

* nis/nss_nisplus/nisplus-alias.c: Add check for NULL return value
of nis_list.
* nis/nss_nisplus/nisplus-ethers.c: Likewise.
* nis/nss_nisplus/nisplus-grp.c: Likewise.
* nis/nss_nisplus/nisplus-hosts.c: Likewise.
* nis/nss_nisplus/nisplus-netgrp.c: Likewise.
* nis/nss_nisplus/nisplus-network.c: Likewise.
* nis/nss_nisplus/nisplus-proto.c: Likewise.
* nis/nss_nisplus/nisplus-publickey.c: Likewise.
* nis/nss_nisplus/nisplus-pwd.c: Likewise.
* nis/nss_nisplus/nisplus-rpc.c: Likewise.
* nis/nss_nisplus/nisplus-service.c: Likewise.
* nis/nss_nisplus/nisplus-spwd.c: Likewise.

20 years agoUpdate.
Ulrich Drepper [Thu, 25 Sep 2003 16:53:29 +0000 (16:53 +0000)]
Update.

* sysdeps/unix/sysv/linux/cris/bits/mman.h: Likewise.
* sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.

20 years agoUpdate.
Ulrich Drepper [Thu, 25 Sep 2003 16:40:57 +0000 (16:40 +0000)]
Update.

2003-09-25  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/alpha/bits/mman.h: Define PROT_GROWSDOWN
and PROT_GROWSUP.
* sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
* sysdeps/unix/sysv/linux/hppa/bits/mman.h: Likewise.
* sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise.
* sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
* sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
* sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
* sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
* sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.

20 years agoUpdate.
Ulrich Drepper [Thu, 25 Sep 2003 15:34:03 +0000 (15:34 +0000)]
Update.

2003-09-25  Jakub Jelinek  <jakub@redhat.com>

* misc/syslog.c: Include locale.h.
(vsyslog): Add date always in C locale %h %e %T format.

20 years agoUpdate.
Ulrich Drepper [Thu, 25 Sep 2003 05:38:48 +0000 (05:38 +0000)]
Update.

2003-09-24  Paul Eggert  <eggert@twinsun.com>

* argp/argp-fmtstream.c (__argp_fmtstream_ensure): Check for
size_t overflow when reallocating storage.
* argp/argp-help.c (make_hol, hol_append): Likewise.
(SIZE_MAX): New macro.

20 years ago(__argp_fmtstream_ensure): Check for size_t overflow when reallocating storage.
Ulrich Drepper [Thu, 25 Sep 2003 05:34:28 +0000 (05:34 +0000)]
(__argp_fmtstream_ensure): Check for size_t overflow when reallocating storage.

20 years ago* sysdeps/mach/hurd/bits/libc-lock.h
Roland McGrath [Thu, 25 Sep 2003 03:55:10 +0000 (03:55 +0000)]
* sysdeps/mach/hurd/bits/libc-lock.h

(__libc_cleanup_push, __libc_cleanup_pop): New macros.

2003-08-01  Alfred M. Szmidt  <ams@kemisten.nu>

* sysdeps/i386/dl-procinfo.h: New file, contents taken from ...
* sysdeps/unix/sysv/linux/i386/dl-procinfo.h: ... here.
#include_next dl-procinfo.h to get them.
(_DL_HWCAP_COUNT): Moved to sysdeps/i386/dl-procinfo.h.
(_DL_PLATFORMS_COUNT): Likewise.
(_DL_FIRST_PLATFORM): Likewise.
(_DL_HWCAP_PLATFORM): Likewise.
(HWCAP_I386_FPU, HWCAP_I386_VME, HWCAP_I386_DE, HWCAP_I386_PSE,
HWCAP_I386_TSC, HWCAP_I386_MSR, HWCAP_I386_PAE, HWCAP_I386_MCE,
HWCAP_I386_CX8, HWCAP_I386_APIC, HWCAP_I386_SEP, HWCAP_I386_MTRR,
HWCAP_I386_PGE, HWCAP_I386_MCA, HWCAP_I386_CMOV,
HWCAP_I386_FCMOV, HWCAP_I386_MMX, HWCAP_I386_OSFXSR,
HWCAP_I386_XMM, HWCAP_I386_XMM2, HWCAP_I386_AMD3D,
HWCAP_IMPORTANT): Likewise.
(_DL_PROCINFO_H_): Likewise.
(_dl_hwcap_string, _dl_platform_string, _dl_string_hwcap): Likewise.
(_dl_string_platform): Likewise.
* sysdeps/unix/sysv/linux/i386/dl-procinfo.c: Moved to ...
* sysdeps/i386/dl-procinfo.c: ... here, new file.

20 years ago2003-09-24 Roland McGrath <roland@redhat.com>
Roland McGrath [Thu, 25 Sep 2003 03:50:45 +0000 (03:50 +0000)]
2003-09-24  Roland McGrath  <roland@redhat.com>

* allocatestack.c (__make_stacks_executable): Don't ignore return
value from _dl_make_stack_executable.

20 years agoUpdate.
Ulrich Drepper [Thu, 25 Sep 2003 03:31:59 +0000 (03:31 +0000)]
Update.

* sysdeps/unix/sysv/linux/dl-execstack.c
(_dl_make_stack_executable): Remember that we changed the permission.

20 years agoUpdate.
Ulrich Drepper [Thu, 25 Sep 2003 03:16:53 +0000 (03:16 +0000)]
Update.

* allocatestack.c (change_stack_perm): Split out from
__make_stacks_executable.
(allocate_stack): If the required permission changed between the time
we started preparing the stack and queueing it, change the permission.
(__make_stacks_executable): Call change_stack_perm.

20 years agoUpdate.
Ulrich Drepper [Wed, 24 Sep 2003 21:13:55 +0000 (21:13 +0000)]
Update.

2003-09-24  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/ia64/dl-machine.h (RTLD_START): Remove setting of
__libc_stack_end.  Patch by David Mosberger.

2003-09-24  Jakub Jelinek  <jakub@redhat.com>

* elf/Versions (ld): Export __libc_stack_end@GLIBC_2.1 instead of
__libc_stack_end@GLIBC_PRIVATE.

* sysdeps/generic/dl-sysdep.c (DL_STACK_END): Define if not defined.
(_dl_sysdep_start): Set __libc_stack_end here.
* sysdeps/alpha/dl-machine.h (RTLD_START): Remove setting of
__libc_stack_end.
* sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
* sysdeps/cris/dl-machine.h (RTLD_START): Likewise.
* sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
* sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
* sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
* sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
* sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
* sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
* sysdeps/ia64/dl-machine.h (DL_STACK_END): Define.
* sysdeps/sparc/sparc32/dl-machine.h (DL_STACK_END): Define.
(RTLD_START): Remove setting of __libc_stack_end.
* sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Define.
(RTLD_START): Remove setting of __libc_stack_end.

2003-09-24  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/sys/sysmacros.h: Add gnu_dev_ prefix to
function definitions.  Adjust macro expansions accordingly.
* sysdeps/unix/sysv/linux/Versions: Add gnu_dev_ prefix to major,
minor, makedev name.
* sysdeps/unix/sysv/linux/makedev.c: Likewise.

2003-09-24  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/unix/sysv/linux/sys/sysmacros.h (major, minor, makedev):
Add __THROW.

20 years agoUpdate.
Ulrich Drepper [Wed, 24 Sep 2003 17:38:32 +0000 (17:38 +0000)]
Update.

2003-09-24  Jakub Jelinek  <jakub@redhat.com>

* nscd/Makefile (others): Add nscd before including ../Rules.

20 years agoUpdate.
Ulrich Drepper [Wed, 24 Sep 2003 08:33:01 +0000 (08:33 +0000)]
Update.

2003-09-24  Ulrich Drepper  <drepper@redhat.com>
* configure.in: Check for -fpie and -pie compiler options.
* config.make.in (have-fpie): Define.
* sysdeps/unix/sysv/linux/alpha/sys/sysmacros.h: Removed.
* sysdeps/unix/sysv/linux/sparc/sys/sysmacros.h: Removed.

20 years agoUpdate.
Ulrich Drepper [Wed, 24 Sep 2003 06:12:33 +0000 (06:12 +0000)]
Update.

* nscd/Makefile: Add rules to build nscd as a PIE.

2003-09-23  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/sys/alpha/sysmacros.h: Removed.
* sysdeps/unix/sysv/linux/sys/sparc/sysmacros.h: Removed.
* sysdeps/unix/sysv/linux/ustat.c (ustat): Adjust for 32-bit
kernel dev_t.
* sysdeps/unix/sysv/linux/alpha/ustat.c: Removed.
* sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
* sysdeps/unix/sysv/linux/alpha/xmknod.c: Removed.
Code by Alexander Viro <aviro@redhat.com>.

20 years agoUpdate.
Ulrich Drepper [Wed, 24 Sep 2003 05:05:38 +0000 (05:05 +0000)]
Update.

* sysdeps/unix/sysv/linux/sys/sysmacros.h: Adjust for larger
kernel dev_t size.
* sysdeps/unix/sysv/linux/makedev.c: New file.
* sysdeps/unix/sysv/linux/Dist: Add makedev.c.
* sysdeps/unix/sysv/linux/Makefile [subdir=misc]
(sysdep_routines): Add makedev.
* sysdeps/unix/sysv/linux/Versions [libc] (GLIBC_2.3.3): Add
major, minor, makedev.

2003-09-23  Ulrich Drepper  <drepper@redhat.com>

20 years agoUpdate.
Ulrich Drepper [Wed, 24 Sep 2003 03:22:56 +0000 (03:22 +0000)]
Update.

2003-09-23  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions [libc]
(GLIBC_2.3.3): Add setcontext, getcontext, swapcontext, and
makecontext.
* sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Correct change
for include Altivec support for PPC32.  It was not compatible.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/ucontext_i.h: Adjust
offsets for ucontext_t change.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Adjust
for ucontext_t change.  Add compatibility code.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
Patch by Paul Mackerras <paulus@samba.org>.

2003-02-25  Randolph Chung  <tausq@debian.org>

* sysdeps/hppa/Makefile: Include compat code in build.
* sysdeps/hppa/libgcc-compat.c: New file.
* sysdeps/hppa/Dist: Add libgcc-compat.c.
* sysdeps/hppa/Versions [GLIBC_2.2]: Add __clz_tab.

20 years agoTest for changing stack exec permission.
Ulrich Drepper [Wed, 24 Sep 2003 03:07:10 +0000 (03:07 +0000)]
Test for changing stack exec permission.

20 years ago* elf/rtld.c (dl_main): In rtld_is_main case, reinitialize
Roland McGrath [Wed, 24 Sep 2003 01:56:08 +0000 (01:56 +0000)]
* elf/rtld.c (dl_main): In rtld_is_main case, reinitialize

GL(dl_stack_flags) according to rtld's own PT_GNU_STACK.
Move GL(dl_make_stack_executable_hook) initialization up.
* elf/tst-execstack-prog.c: New file.
* elf/Makefile (tests-execstack-yes): Add it.
(LDFLAGS-tst-execstack-prog): New variable.

20 years ago* sysdeps/x86_64/dl-machine.h (RTLD_START): Set __libc_stack_end
Roland McGrath [Tue, 23 Sep 2003 21:31:54 +0000 (21:31 +0000)]
* sysdeps/x86_64/dl-machine.h (RTLD_START): Set __libc_stack_end

before calling _dl_start, using %rip relative access.
Use %rip relative access to _dl_skip_args, _rtld_local._dl_loaded
and _dl_fini.

20 years ago* sysdeps/i386/dl-machine.h (RTLD_START): Set __libc_stack_end before
Roland McGrath [Tue, 23 Sep 2003 12:07:26 +0000 (12:07 +0000)]
* sysdeps/i386/dl-machine.h (RTLD_START): Set __libc_stack_end before

calling _dl_start, using GOTOFF access.

* configure.in (libc_cv_z_execstack): New check.
* configure: Regenerated.
* config.make.in (have-z-execstack): New variable set by it.
* elf/tst-execstack.c: New file.
* elf/tst-execstack-mod.c: New file.
* elf/tst-execstack-needed.c: New file.
* elf/Makefile (tests-execstack-yes, modules-execstack-yes): New
variables.
(tests, modules-names): Conditionally include them.
(distribute): Add tst-execstack-mod.c here.
($(objpfx)tst-execstack, $(objpfx)tst-execstack.out): New targets.
(LDFLAGS-tst-execstack, LDFLAGS-tst-execstack-mod): New variables.
($(objpfx)tst-execstack-needed): New target.
(LDFLAGS-tst-execstack-needed): New variable.

* sysdeps/generic/ldsodefs.h (struct rtld_global): Add _dl_stack_flags
and _dl_make_stack_executable_hook.  Declare _dl_make_stack_executable.
* elf/rtld.c (_rtld_global): Add initializer for _dl_stack_flags.
(dl_main): Reset _dl_stack_flags according to PT_GNU_STACK phdr.
Initialize _dl_make_stack_executable_hook.
* elf/dl-support.c: Define those new variables.
(_dl_non_dynamic_init): Scan phdrs for PT_GNU_STACK.
(_dl_phdr): Fix type.
* elf/dl-load.c (_dl_map_object_from_fd): Grok PT_GNU_STACK phdr and
enable execute permission for the stack if necessary.
* sysdeps/generic/dl-execstack.c: New file.
* elf/Makefile (dl-routines): Add it.
* elf/Versions (ld: GLIBC_PRIVATE): Add _dl_make_stack_executable.
* sysdeps/unix/sysv/linux/dl-execstack.c: New file.

20 years ago2003-09-23 Roland McGrath <roland@redhat.com>
Roland McGrath [Tue, 23 Sep 2003 12:06:48 +0000 (12:06 +0000)]
2003-09-23  Roland McGrath  <roland@redhat.com>

* sysdeps/generic/ldsodefs.h (struct rtld_global): Add _dl_stack_flags
and _dl_make_stack_executable_hook.  Declare _dl_make_stack_executable.
* elf/rtld.c (_rtld_global): Add initializer for _dl_stack_flags.
(dl_main): Reset _dl_stack_flags according to PT_GNU_STACK phdr.
Initialize _dl_make_stack_executable_hook.
* elf/dl-support.c: Define those new variables.
(_dl_non_dynamic_init): Scan phdrs for PT_GNU_STACK.
(_dl_phdr): Fix type.
* elf/dl-load.c (_dl_map_object_from_fd): Grok PT_GNU_STACK phdr and
enable execute permission for the stack if necessary.
* sysdeps/generic/dl-execstack.c: New file.
* elf/Makefile (dl-routines): Add it.
* elf/Versions (ld: GLIBC_PRIVATE): Add _dl_make_stack_executable.
* sysdeps/unix/sysv/linux/dl-execstack.c: New file.

20 years agoUpdate.
Ulrich Drepper [Tue, 23 Sep 2003 07:24:22 +0000 (07:24 +0000)]
Update.

2003-09-23  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/posix/sprofil.c (pc_to_index): Remove inline marker.

20 years agoUpdate.
Ulrich Drepper [Tue, 23 Sep 2003 06:13:18 +0000 (06:13 +0000)]
Update.

2003-09-20  Alfred M. Szmidt  <ams@kemisten.nu>

* sysdeps/generic/utmp_file.c (setutent_file, LOCK_FILE,
UNLOCK_FILE, setutent_file): Use fcntl_not_cancel instead of
__fcntl_nocancel.

20 years agoUpdate.
Ulrich Drepper [Tue, 23 Sep 2003 05:47:54 +0000 (05:47 +0000)]
Update.

2003-09-22  Ulrich Drepper  <drepper@redhat.com>

* malloc/malloc.c: Include <stdint.h>.

20 years agoUpdate.
Ulrich Drepper [Tue, 23 Sep 2003 05:43:03 +0000 (05:43 +0000)]
Update.

* posix/regcomp.c (build_word_op): Rename like...
(build_charclass_op): ...this.  Accept two extra parameters,
CLASS_NAME and EXTRA.  Add EXTRA to the result, not only _.
(peek_token): accept \s and \S as OP_SPACE and OP_NOTSPACE.
(parse_expression): replace build_word_op with
build_charclass_op, add new arguments, accept OP_SPACE
and OP_NOTSPACE.
* posix/regex_internal.h (re_token_type_t): Add OP_SPACE
and OP_NOTSPACE.

20 years agoUpate.
Ulrich Drepper [Tue, 23 Sep 2003 05:33:43 +0000 (05:33 +0000)]
Upate.

2003-09-20  Paolo Bonzini  <bonzini@gnu.org>

* posix/regcomp.c (peek_token): Don't look back for ( or |
to check whether to treat a caret as special.  It fails
for the (extended) regex \(^.
(parse, parse_reg_exp): Pass RE_CARET_ANCHORS_HERE to fetch_token.
* posix/regex.h: Define RE_CARET_ANCHORS_HERE.

* posix/regexec.c: Check out of bounds value before shifting.

* posix/regex_internal.h: Define __attribute for non-gcc.

20 years agoUpdate.
Ulrich Drepper [Tue, 23 Sep 2003 04:41:29 +0000 (04:41 +0000)]
Update.

2003-09-22  Philip Blundell  <philb@gnu.org>

* forward.c: Add _pthread_cleanup_push, _pthread_cleanup_pop.
* sysdeps/pthread/pthread-functions.h (struct pthread_functions):
Likewise.
* pthread.c (__pthread_elements): Initialise these new elements.
* sysdeps/pthread/bits/libc-lock.h (__libc_cleanup_push): Use
__libc_maybe_call.
(__libc_cleanup_pop): Likewise.

20 years agoUpdate.
Ulrich Drepper [Mon, 22 Sep 2003 22:13:36 +0000 (22:13 +0000)]
Update.

2003-09-22  Jakub Jelinek  <jakub@redhat.com>

* include/atomic.h (atomic_compare_and_exchange_val_rel,
atomic_compare_and_exchange_bool_rel): Swap oldval/newval arguments
to avoid confusion.

* sysdeps/unix/opendir.c: Include string.h.