kopensolaris-gnu/glibc.git
18 years agoUpdate.
drepper [Tue, 19 Nov 2002 19:30:55 +0000 (19:30 +0000)]
Update.

18 years ago(__libc_dlopen_mode): Renamed from __libc_dlopen. Add
drepper [Tue, 19 Nov 2002 19:29:45 +0000 (19:29 +0000)]
(__libc_dlopen_mode): Renamed from __libc_dlopen.  Add
new parameter.  Store new parameter in mode field of structure passed
to do_dlopen.
(struct do_dlopen_args): Add new field mode.
(do_dlopen): Pass mode from parameter structure to _dl_open.

18 years ago__libc_dlopen is now a macro calling __libc_dlopen_mode with the extra
drepper [Tue, 19 Nov 2002 19:27:17 +0000 (19:27 +0000)]
__libc_dlopen is now a macro calling __libc_dlopen_mode with the extra
parameter RTLD_LAZY.
(__libc_dlopen_mode): New prototype.

18 years ago.
roland [Tue, 19 Nov 2002 09:27:04 +0000 (09:27 +0000)]
.

18 years ago2002-11-11 Randolf Chung <tausq@debian.org>
roland [Tue, 19 Nov 2002 09:26:54 +0000 (09:26 +0000)]
2002-11-11  Randolf Chung  <tausq@debian.org>

* sysdeps/unix/sysv/linux/hppa/bits/fcntl.h [__USE_FILE_OFFSET64]
(F_GETLK, F_SETLK, F_SETLKW): Define to F_*64 versions.
* sysdeps/unix/sysv/linux/hppa/fcntl.c: New file.

18 years ago.
roland [Tue, 19 Nov 2002 06:41:14 +0000 (06:41 +0000)]
.

18 years ago2002-11-11 Randolf Chung <tausq@debian.org>
roland [Tue, 19 Nov 2002 06:41:05 +0000 (06:41 +0000)]
2002-11-11  Randolf Chung  <tausq@debian.org>

* sysdeps/hppa/Makefile (CFLAGS-rtld.c): New variable.
Set -mdisable-fpregs for this file.

18 years ago2002-11-11 Carlos O'Donell <carlos@baldric.uwo.ca>
roland [Tue, 19 Nov 2002 06:41:02 +0000 (06:41 +0000)]
2002-11-11  Carlos O'Donell  <carlos@baldric.uwo.ca>

        * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h:
        Define mcontext_t as a sigcontext.

18 years ago2002-11-11 Carlos O'Donell <carlos@baldric.uwo.ca>
roland [Tue, 19 Nov 2002 06:41:00 +0000 (06:41 +0000)]
2002-11-11  Carlos O'Donell  <carlos@baldric.uwo.ca>

* sysdeps/unix/sysv/linux/configure.in:
Make 2.4.19 minimum linux kernel for hppa, and add unwind symbols
from gcc-3.0 era for backwards compatibility.
* sysdeps/unix/sysv/linux/configure: Regenerate.

18 years ago2002-11-11 Randolf Chung <tausq@debian.org>
roland [Tue, 19 Nov 2002 06:40:57 +0000 (06:40 +0000)]
2002-11-11  Randolf Chung  <tausq@debian.org>

* sysdeps/hppa/fpu/libm-test-ulps: New file (generated).

18 years ago2002-11-18 Roland McGrath <roland@redhat.com>
roland [Tue, 19 Nov 2002 06:40:17 +0000 (06:40 +0000)]
2002-11-18  Roland McGrath  <roland@redhat.com>

* dlfcn/dlerror.c (fini): New function, __attribute__ ((destructor)).
Free memory in `last_result' if it was used.

18 years ago2002-11-18 Roland McGrath <roland@redhat.com>
roland [Tue, 19 Nov 2002 06:40:16 +0000 (06:40 +0000)]
2002-11-18  Roland McGrath  <roland@redhat.com>

* resolv/nss_dns/dns-network.c (getanswer_r): In BYNAME case, search
all aliases for one that matches the "<dotted-quad>.IN-ADDR.ARPA" form.
Do the parsing inline instead of copying strings and calling
inet_network, and properly skip all alias names not matching the form.

18 years ago.
roland [Mon, 18 Nov 2002 20:33:23 +0000 (20:33 +0000)]
.

18 years ago2002-11-18 Roland McGrath <roland@redhat.com>
roland [Mon, 18 Nov 2002 20:31:41 +0000 (20:31 +0000)]
2002-11-18  Roland McGrath  <roland@redhat.com>

* manual/pattern.texi (Variable Substitution): Fix # and ## examples.

18 years ago(Wordexp Example): Fix three bugs in the example code, all related to
drepper [Mon, 18 Nov 2002 20:25:07 +0000 (20:25 +0000)]
(Wordexp Example): Fix three bugs in the example code, all related to
the options parameter.

18 years agoUpdate.
drepper [Mon, 18 Nov 2002 07:41:51 +0000 (07:41 +0000)]
Update.

18 years agoInitialize word in the childs stack which will be loaded into the %esi
drepper [Mon, 18 Nov 2002 07:41:00 +0000 (07:41 +0000)]
Initialize word in the childs stack which will be loaded into the %esi
register.

18 years ago.
roland [Mon, 18 Nov 2002 04:10:15 +0000 (04:10 +0000)]
.

18 years ago2002-11-14 Paul Eggert <eggert@twionsun.com>
roland [Mon, 18 Nov 2002 04:10:08 +0000 (04:10 +0000)]
2002-11-14  Paul Eggert  <eggert@twionsun.com>

        * resolv/nss_dns/dns-network.c (getanswer_r): Check for buffer
        overflow when skipping the question part and when unpacking
        aliases.

18 years ago.
roland [Fri, 15 Nov 2002 23:50:05 +0000 (23:50 +0000)]
.

18 years ago2002-11-15 Roland McGrath <roland@redhat.com>
roland [Fri, 15 Nov 2002 23:49:59 +0000 (23:49 +0000)]
2002-11-15  Roland McGrath  <roland@redhat.com>

* math/Makefile (libm-calls): Remove s_copysign, s_isinf, s_isnan,
s_finite, s_modf, s_scalbn, s_frexp, m_ldexp, s_signbit.
Instead add $(calls:s_%=m_%) to get m_* versions of them all.

18 years ago.
roland [Fri, 15 Nov 2002 22:51:30 +0000 (22:51 +0000)]
.

18 years ago2002-11-15 Jakub Jelinek <jakub@redhat.com>
roland [Fri, 15 Nov 2002 22:51:19 +0000 (22:51 +0000)]
2002-11-15  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/i386/dl-machine.h (elf_machine_rela): Handle R_386_COPY.
* sysdeps/arm/dl-machine.h (elf_machine_rela): Handle R_ARM_COPY.

18 years ago2002-11-15 Roland McGrath <roland@redhat.com>
roland [Fri, 15 Nov 2002 22:47:41 +0000 (22:47 +0000)]
2002-11-15  Roland McGrath  <roland@redhat.com>

* math/Makefile (libm-calls): Change s_ldexp to m_ldexp.
* Makerules ($(+sysdir_pfx)sysd-rules): Emit pattern rules for m_%.[Sc]
from sysdeps/.../s_%.[Sc] with commands $(+make-include-of-dep).
(+make-include-of-dep): New canned sequence.

18 years ago2002-11-15 Roland McGrath <roland@redhat.com>
roland [Fri, 15 Nov 2002 22:47:38 +0000 (22:47 +0000)]
2002-11-15  Roland McGrath  <roland@redhat.com>

* stdlib/canonicalize.c (__realpath): Check for malloc failure.
From Dmitry V. Levin <ldv@altlinux.org>.

18 years ago.
roland [Fri, 15 Nov 2002 03:37:21 +0000 (03:37 +0000)]
.

18 years ago2002-11-14 Roland McGrath <roland@redhat.com>
roland [Fri, 15 Nov 2002 03:37:09 +0000 (03:37 +0000)]
2002-11-14  Roland McGrath  <roland@redhat.com>

* libc-tsd.c: New file.
* Makefile (distribute): Add it.
(libc-link.so): New variable.
($(objpfx)libpthread.so): Depend on that instead of libc.so file name.
(libc-ok-for-link): New variable.
[$(versioning) = yes]: Include $(common-objpfx)tls.make and define
libc-ok-for-link to $(use-thread).
[$(libc-ok-for-link) = no]
(libc-link.so): Set to $(objpfx)libc.so, not $(common-objpfx)libc.so.
($(objpfx)libc_pic_lite.a,$(objpfx)libc_pic_lite.os, $(objpfx)libc.so):
New targets.
(generated): Append them.
(extra-objs): Append libc-tsd.os.
* libc-tls-loc.c: New file.
* Makefile (libpthread-routines): Add it.

18 years ago2002-11-14 Roland McGrath <roland@redhat.com>
roland [Fri, 15 Nov 2002 03:37:07 +0000 (03:37 +0000)]
2002-11-14  Roland McGrath  <roland@redhat.com>

* libc-tsd.c: New file.
* Makefile (distribute): Add it.
(libc-link.so): New variable.
($(objpfx)libpthread.so): Depend on that instead of libc.so file name.
(libc-ok-for-link): New variable.
[$(versioning) = yes]: Include $(common-objpfx)tls.make and define
libc-ok-for-link to $(use-thread).
[$(libc-ok-for-link) = no]
(libc-link.so): Set to $(objpfx)libc.so, not $(common-objpfx)libc.so.
($(objpfx)libc_pic_lite.a,$(objpfx)libc_pic_lite.os, $(objpfx)libc.so):
New targets.
(generated): Append them.
(extra-objs): Append libc-tsd.os.

18 years ago2002-11-14 Roland McGrath <roland@redhat.com>
roland [Fri, 15 Nov 2002 03:37:05 +0000 (03:37 +0000)]
2002-11-14  Roland McGrath  <roland@redhat.com>

* libc-tls-loc.c: New file.
* Makefile (libpthread-routines): Add it.

18 years ago2002-11-14 Roland McGrath <roland@redhat.com>
roland [Fri, 15 Nov 2002 03:36:54 +0000 (03:36 +0000)]
2002-11-14  Roland McGrath  <roland@redhat.com>

* Makerules ($(common-objpfx)%.make): New pattern rule.
* tls.make.c: New file.
* Makefile (distribute): Add it.

18 years ago2002-11-14 Roland McGrath <roland@redhat.com>
roland [Fri, 15 Nov 2002 03:36:50 +0000 (03:36 +0000)]
2002-11-14  Roland McGrath  <roland@redhat.com>

* sysdeps/generic/errno.c (__libc_errno): Remove alias.
* inet/herrno.c (__libc_h_errno): Likewise.
* resolv/res_libc.c (__libc_res): Likewise.
[USE___THREAD]: Use this in place of [USE_TLS && HAVE___THREAD].
(__res_state) [! USE___THREAD]: Don't define as weak.
* csu/Versions: Revert last change.
* resolv/Versions: Revert last change.

18 years agoRegenerated: autoconf sysdeps/unix/common/configure.in
drepper [Fri, 15 Nov 2002 00:01:53 +0000 (00:01 +0000)]
Regenerated: autoconf  sysdeps/unix/common/configure.in

18 years agoRegenerated: autoconf sysdeps/unix/sysv/linux/configure.in
drepper [Fri, 15 Nov 2002 00:01:40 +0000 (00:01 +0000)]
Regenerated: autoconf  sysdeps/unix/sysv/linux/configure.in

18 years ago.
roland [Thu, 14 Nov 2002 21:23:12 +0000 (21:23 +0000)]
.

18 years ago2002-11-14 Roland McGrath <roland@redhat.com>
roland [Thu, 14 Nov 2002 21:22:48 +0000 (21:22 +0000)]
2002-11-14  Roland McGrath  <roland@redhat.com>

* sysdeps/generic/errno.c [! USE___THREAD]
[HAVE_ELF && SHARED && DO_VERSIONING] (errno, _errno): Declare these
with compat_symbol so they are not link-time visible.
[! USE___THREAD] (__libc_errno): New alias for errno.
* csu/Versions [!(USE_TLS && HAVE___THREAD)] (libc: GLIBC_PRIVATE):
Add __libc_errno here.
* inet/herrno.c [USE___THREAD]: Use this conditional
in place of [USE_TLS && HAVE___THREAD].
[! USE___THREAD] [HAVE_ELF && SHARED && DO_VERSIONING]
(h_errno, _h_errno): Declare these with compat_symbol so they are not
link-time visible.
[! USE___THREAD] (__libc_h_errno): New alias for h_errno.
* resolv/res_libc.c [! USE___THREAD]
[HAVE_ELF && SHARED && DO_VERSIONING] (_res): Likewise.
(_res): Use __attribute__ ((section (".bss"))) so we can have an alias.
(__libc_res): Define as alias for _res.
* resolv/Versions [!(USE_TLS && HAVE___THREAD)] (libc: GLIBC_PRIVATE):
Add __libc_h_errno and __libc_res here.

18 years ago2002-11-14 Roland McGrath <roland@redhat.com>
roland [Thu, 14 Nov 2002 21:22:45 +0000 (21:22 +0000)]
2002-11-14  Roland McGrath  <roland@redhat.com>

* sysdeps/generic/errno.c [! USE___THREAD]
[HAVE_ELF && SHARED && DO_VERSIONING] (errno, _errno): Declare these
with compat_symbol so they are not link-time visible.
[! USE___THREAD] (__libc_errno): New alias for errno.
* csu/Versions [!(USE_TLS && HAVE___THREAD)] (libc: GLIBC_PRIVATE):
Add __libc_errno here.
* inet/herrno.c [USE___THREAD]: Use this conditional
in place of [USE_TLS && HAVE___THREAD].
[! USE___THREAD] [HAVE_ELF && SHARED && DO_VERSIONING]
(h_errno, _h_errno): Declare these with compat_symbol so they are not
link-time visible.
[! USE___THREAD] (__libc_h_errno): New alias for h_errno.
* resolv/res_libc.c [! USE___THREAD]
[HAVE_ELF && SHARED && DO_VERSIONING] (_res): Likewise.
(_res): Use __attribute__ ((section (".bss"))) so we can have an alias.
(__libc_res): Define as alias for _res.
* resolv/Versions [!(USE_TLS && HAVE___THREAD)] (libc: GLIBC_PRIVATE):
Add __libc_h_errno and __libc_res here.
2002-11-14  Jakub Jelinek  <jakub@redhat.com>

* csu/Versions (errno): Move STT_TLS symbol to GLIBC_PRIVATE for now.
* resolv/Versions (h_errno, _res): Likewise.

18 years ago.
roland [Thu, 14 Nov 2002 20:26:56 +0000 (20:26 +0000)]
.

18 years ago2002-11-14 Roland McGrath <roland@redhat.com>
roland [Thu, 14 Nov 2002 20:26:43 +0000 (20:26 +0000)]
2002-11-14  Roland McGrath  <roland@redhat.com>

* Makerules (%.dynsym): Remove $(objpfx) from target and dep.
(%.symlist): Likewise.

18 years ago2002-11-14 Roland McGrath <roland@redhat.com>
roland [Thu, 14 Nov 2002 20:25:45 +0000 (20:25 +0000)]
2002-11-14  Roland McGrath  <roland@redhat.com>

* Makerules (%.dynsym): Remove $(objpfx) from target and dep.

18 years ago.
schwab [Thu, 14 Nov 2002 10:49:33 +0000 (10:49 +0000)]
.

18 years agoFix unterminated string.
schwab [Thu, 14 Nov 2002 10:49:22 +0000 (10:49 +0000)]
Fix unterminated string.

18 years ago.
roland [Thu, 14 Nov 2002 04:19:34 +0000 (04:19 +0000)]
.

18 years ago2002-11-13 Roland McGrath <roland@redhat.com>
roland [Thu, 14 Nov 2002 04:19:25 +0000 (04:19 +0000)]
2002-11-13  Roland McGrath  <roland@redhat.com>

* scripts/abilist.awk: New file.
* Makefile (distribute): Add it.
* Makerules ($(objpfx)%.dynsym, $(objpfx)%.symlist): New rules.
(tests): Depend on .symlist file for each $(install-lib.so-versioned).
[$(subdir) = elf] (tests): Depend on libc.symlist.
(generated, common-generated): Add those files.

18 years ago.
roland [Thu, 14 Nov 2002 03:59:56 +0000 (03:59 +0000)]
.

18 years ago2002-11-13 Roland McGrath <roland@redhat.com>
roland [Thu, 14 Nov 2002 03:59:36 +0000 (03:59 +0000)]
2002-11-13  Roland McGrath  <roland@redhat.com>

* scripts/abilist.awk: New file.
* Makefile (distribute): Add it.
* Makerules ($(objpfx)%.dynsym, $(objpfx)%.symlist): New rules.
(tests): Depend on .symlist file for each $(install-lib.so-versioned).
[! subdir] (tests): Depend on libc.symlist.
(generated): Add those files.
* aclocal.m4 (LIBC_PROG_BINUTILS): Check for objdump, set OBJDUMP.
* config.make.in (OBJDUMP): New variable, substituted by configure.

18 years ago2002-11-13 Roland McGrath <roland@redhat.com>
roland [Thu, 14 Nov 2002 03:59:29 +0000 (03:59 +0000)]
2002-11-13  Roland McGrath  <roland@redhat.com>

* malloc/mcheck.c (struct hdr): New members `block' and `magic2'.
(mallochook, reallochook): Set them up.
(checkhdr): Check HDR->magic2 value.
(freehook): Reset HDR->magic2.
(memalignhook): New static function.
(old_memalign_hook): New static variable.
(mcheck, reallochook): Set __memalign_hook to memalignhook.

18 years ago.
roland [Thu, 14 Nov 2002 00:48:38 +0000 (00:48 +0000)]
.

18 years ago2002-11-13 Roland McGrath <roland@redhat.com>
roland [Thu, 14 Nov 2002 00:48:31 +0000 (00:48 +0000)]
2002-11-13  Roland McGrath  <roland@redhat.com>

* sysdeps/generic/dl-tls.c (_dl_allocate_tls_storage): Zero the space
for the new TCB.

18 years ago.
roland [Thu, 14 Nov 2002 00:29:12 +0000 (00:29 +0000)]
.

18 years ago2002-11-13 Roland McGrath <roland@redhat.com>
roland [Thu, 14 Nov 2002 00:29:07 +0000 (00:29 +0000)]
2002-11-13  Roland McGrath  <roland@redhat.com>

* Examples/ex6.c (main): Improve error reporting.

18 years agoUpdate.
aj [Wed, 13 Nov 2002 09:31:08 +0000 (09:31 +0000)]
Update.

18 years agoCheck for visibility attribute.
aj [Wed, 13 Nov 2002 09:30:42 +0000 (09:30 +0000)]
Check for visibility attribute.

18 years ago.
roland [Wed, 13 Nov 2002 04:51:00 +0000 (04:51 +0000)]
.

18 years ago2002-11-11 Paul Eggert <eggert@twinsun.com>
roland [Wed, 13 Nov 2002 04:50:51 +0000 (04:50 +0000)]
2002-11-11  Paul Eggert  <eggert@twinsun.com>

        * manual/crypt.texi (Cryptographic Functions): Mention that
        the MD5 one-way algorithm is compatible with BSD's.

18 years ago.
roland [Wed, 13 Nov 2002 04:00:16 +0000 (04:00 +0000)]
.

18 years ago2002-11-11 Isamu Hasegawa <isamu@yamato.ibm.com>
roland [Wed, 13 Nov 2002 04:00:08 +0000 (04:00 +0000)]
2002-11-11  Isamu Hasegawa  <isamu@yamato.ibm.com>

* posix/regex_internal.c (re_string_skip_chars): Also return the last
wide character.
(re_string_reconstruct): Calculate the context by itself when the
offset points out of the valid range.
(re_string_context_at): Use wide character when MB_CUR_MAX > 1.
* posix/regex_internal.h (WIDE_NEWLINE_CHAR): New macro.
(IS_WIDE_WORD_CHAR): New macro.
(IS_WIDE_NEWLINE): New macro.

18 years ago.
roland [Tue, 12 Nov 2002 22:02:38 +0000 (22:02 +0000)]
.

18 years ago2002-11-12 Roland McGrath <roland@redhat.com>
roland [Tue, 12 Nov 2002 22:02:32 +0000 (22:02 +0000)]
2002-11-12  Roland McGrath  <roland@redhat.com>

* libio/libioP.h [_LIBC && !SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)]
(_G_IO_NO_BACKWARD_COMPAT): Define it.

18 years agoUpdate.
aj [Tue, 12 Nov 2002 21:43:26 +0000 (21:43 +0000)]
Update.

18 years ago * sysdeps/x86_64/strchr.S: Don't use one register for two
aj [Tue, 12 Nov 2002 21:43:16 +0000 (21:43 +0000)]
* sysdeps/x86_64/strchr.S: Don't use one register for two
purposes, this fixes a bug noticed by test-strchr.c.

18 years agoUpdate.
aj [Tue, 12 Nov 2002 17:58:02 +0000 (17:58 +0000)]
Update.

18 years agoFix algorithm to align source pointer correctly.
aj [Tue, 12 Nov 2002 17:57:51 +0000 (17:57 +0000)]
Fix algorithm to align source pointer correctly.

18 years ago.
roland [Tue, 12 Nov 2002 08:31:50 +0000 (08:31 +0000)]
.

18 years ago2002-11-12 Roland McGrath <roland@redhat.com>
roland [Tue, 12 Nov 2002 08:31:36 +0000 (08:31 +0000)]
2002-11-12  Roland McGrath  <roland@redhat.com>

* sysdeps/ia64/dl-fptr.c [_LIBC_REENTRANT]: Include <ia64intrin.h>
instead of <pt-machine.h>.
[_LIBC_REENTRANT] (lock, unlock): Use __sync_lock_* macros instead of
testandset.
From Ian Wienand <ianw@gelato.unsw.edu.au>.

18 years ago.
roland [Mon, 11 Nov 2002 06:55:22 +0000 (06:55 +0000)]
.

18 years ago2002-11-10 Roland McGrath <roland@redhat.com>
roland [Mon, 11 Nov 2002 06:55:12 +0000 (06:55 +0000)]
2002-11-10  Roland McGrath  <roland@redhat.com>

* libio/bug-wfflush.c (do_test): Call rewind instead of fsetpos.
Call fputs instead of fwprintf (simpler to follow in debugger).

18 years ago.
roland [Mon, 11 Nov 2002 02:43:35 +0000 (02:43 +0000)]
.

18 years ago2002-11-10 Roland McGrath <roland@redhat.com>
roland [Mon, 11 Nov 2002 02:43:28 +0000 (02:43 +0000)]
2002-11-10  Roland McGrath  <roland@redhat.com>

* crypt/md5-crypt.c: Doc fix.

18 years ago2002-11-07 Roland McGrath <roland@redhat.com>
roland [Mon, 11 Nov 2002 02:42:44 +0000 (02:42 +0000)]
2002-11-07  Roland McGrath  <roland@redhat.com>

* libio/fileops.c (_IO_new_file_overflow): Use INTUSE(_IO_do_write) in
place of _IO_new_do_write.
[_LIBC] (_IO_do_write): Define as macro for _IO_new_do_write and
#undef before versioned_symbol use.

18 years ago.
roland [Mon, 11 Nov 2002 02:34:36 +0000 (02:34 +0000)]
.

18 years ago2002-11-10 Roland McGrath <roland@redhat.com>
roland [Mon, 11 Nov 2002 02:33:52 +0000 (02:33 +0000)]
2002-11-10  Roland McGrath  <roland@redhat.com>

* Rules (before-compile): Add $(common-objpfx)bits/stdio-lim.h.

18 years ago2002-11-10 Roland McGrath <roland@redhat.com>
roland [Mon, 11 Nov 2002 02:33:48 +0000 (02:33 +0000)]
2002-11-10  Roland McGrath  <roland@redhat.com>

* csu/Makefile ($(objpfx)crti.o, $(objpfx)crtn.o): Add explicit
dependencies for these in case implicit rule search skipped the
nonexistent source directory.
* sysdeps/gnu/Makefile ($(objpfx)errlist.d): Give this rule all the
files with $(object-suffixes) as targets too.
* Makerules [no_deps && objpfx] (before-compile): Add $(objpfx).
and a target for it using $(make-target-directory).

18 years ago2002-11-10 Roland McGrath <roland@redhat.com>
roland [Mon, 11 Nov 2002 02:33:45 +0000 (02:33 +0000)]
2002-11-10  Roland McGrath  <roland@redhat.com>

* sysdeps/unix/make-syscalls.sh: Insert $(make-target-directory) at
the beginning of generated target commands.

18 years ago.
roland [Sun, 10 Nov 2002 23:29:38 +0000 (23:29 +0000)]
.

18 years ago2002-11-10 Roland McGrath <roland@frob.com>
roland [Sun, 10 Nov 2002 23:29:33 +0000 (23:29 +0000)]
2002-11-10  Roland McGrath  <roland@frob.com>

* sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Treat a struct flock with
l_start == 0 and l_len == 1 as we do l_len == 0.

18 years ago.
roland [Sun, 10 Nov 2002 23:22:51 +0000 (23:22 +0000)]
.

18 years ago2002-11-10 Roland McGrath <roland@redhat.com>
roland [Sun, 10 Nov 2002 23:22:34 +0000 (23:22 +0000)]
2002-11-10  Roland McGrath  <roland@redhat.com>

* sysdeps/unix/sysv/linux/bits/pthreadtypes.h: Moved to ...
* sysdeps/generic/bits/pthreadtypes.h: ... here.

18 years agoUpdate.
drepper [Sun, 10 Nov 2002 23:17:14 +0000 (23:17 +0000)]
Update.

18 years agoUpdate from translation team.
drepper [Sun, 10 Nov 2002 23:15:50 +0000 (23:15 +0000)]
Update from translation team.

18 years ago.
roland [Sun, 10 Nov 2002 22:19:28 +0000 (22:19 +0000)]
.

18 years ago2002-11-10 Roland McGrath <roland@redhat.com>
roland [Sun, 10 Nov 2002 22:19:23 +0000 (22:19 +0000)]
2002-11-10  Roland McGrath  <roland@redhat.com>

* config.make.in (includedir): New variable, substituted by configure.
Reported missing by Jocelyn Fournier <joc@presence-pc.com>.
* Makeconfig (includedir): Use $(prefix), not $(exec_prefix).

18 years agoUpdate.
aj [Sun, 10 Nov 2002 11:10:49 +0000 (11:10 +0000)]
Update.

18 years ago(enum): Add REG_OLDMASK and REG_CR2 to synch with kernel header.
aj [Sun, 10 Nov 2002 11:10:26 +0000 (11:10 +0000)]
(enum): Add REG_OLDMASK and REG_CR2 to synch with kernel header.
(NGREG): Increase.

18 years agoUpdate.
aj [Sun, 10 Nov 2002 11:06:51 +0000 (11:06 +0000)]
Update.

18 years ago * nss/getXXent.c (GETFUNC_NAME): Use union type to avoid strict
aj [Sun, 10 Nov 2002 11:06:35 +0000 (11:06 +0000)]
* nss/getXXent.c (GETFUNC_NAME): Use union type to avoid strict
aliasing problem.
* nss/getXXbyYY_r.c (INTERNAL): Likewise.
* nss/getnssent_r.c (__nss_getent_r): Likewise.
(__nss_setent): Likewise.
(__nss_getent_r): Likewise.
* inet/getnetgrent_r.c (innetgr): Likewise.
(__internal_setnetgrent_reuse): Likewise.
(internal_getnetgrent_r): Likewise.
* inet/ether_hton.c (ether_hostton): Likewise.
* inet/ether_ntoh.c (ether_ntohost): Likewise.
* sunrpc/netname.c (netname2user): Likewise.
* sunrpc/publickey.c (getpublickey): Likewise.
(getsecretkey): Likewise.

18 years ago.
roland [Sat, 9 Nov 2002 23:10:46 +0000 (23:10 +0000)]
.

18 years ago2002-11-09 Marcus Brinkmann <marcus@gnu.org>
roland [Sat, 9 Nov 2002 23:10:35 +0000 (23:10 +0000)]
2002-11-09  Marcus Brinkmann  <marcus@gnu.org>

        * sysdeps/mach/hurd/i386/ioperm.c (ioperm): Correct off by one
        error in range calculation.

18 years ago.
roland [Sat, 9 Nov 2002 00:36:21 +0000 (00:36 +0000)]
.

18 years ago2002-10-08 Roland McGrath <roland@redhat.com>
roland [Sat, 9 Nov 2002 00:36:14 +0000 (00:36 +0000)]
2002-10-08  Roland McGrath  <roland@redhat.com>

* string/test-string.h (test_init): Fill BUF1 and BUF2 with
nonzero characters.

18 years ago2002-10-09 Jakub Jelinek <jakub@redhat.com>
roland [Sat, 9 Nov 2002 00:36:13 +0000 (00:36 +0000)]
2002-10-09  Jakub Jelinek  <jakub@redhat.com>

* string/test-strspn.c (do_test): Ensure zero termination.
* string/test-strpbrk.c (do_test): Likewise.
* string/test-strncmp.c (stupid_strncmp): Use strnlen, not strlen.
* string/test-strncpy.c (stupid_strncpy): Likewise.
* string/test-stpncpy.c (stupid_stpncpy): Likewise.

18 years ago2002-09-22 H.J. Lu <hjl@gnu.org>
roland [Sat, 9 Nov 2002 00:36:03 +0000 (00:36 +0000)]
2002-09-22  H.J. Lu  <hjl@gnu.org>

* sysdeps/unix/sysv/linux/powerpc/mmap64.c: Moved to ...
* sysdeps/unix/sysv/linux/mmap64.c: ... here.
* sysdeps/unix/sysv/linux/hppa/mmap64.c: File removed.
* sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c: FIle removed,

18 years ago2002-09-22 H.J. Lu <hjl@gnu.org>
roland [Sat, 9 Nov 2002 00:36:02 +0000 (00:36 +0000)]
2002-09-22  H.J. Lu  <hjl@gnu.org>

* sysdeps/unix/sysv/linux/mmap64.c (MMAP2_PAGE_SHIFT): Renamed
from PAGE_SHIFT.  Define if not defined.  Check MMAP2_PAGE_SHIFT
only if __NR_mmap2 is defined.
* sysdeps/unix/sysv/linux/powerpc/mmap64.c: Moved to ...
* sysdeps/unix/sysv/linux/mmap64.c: ... here.
* sysdeps/unix/sysv/linux/hppa/mmap64.c: File removed.
* sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c: FIle removed,

18 years ago.
roland [Fri, 8 Nov 2002 22:39:08 +0000 (22:39 +0000)]
.

18 years ago2002-11-08 Jakub Jelinek <jakub@redhat.com>
roland [Fri, 8 Nov 2002 22:39:03 +0000 (22:39 +0000)]
2002-11-08  Jakub Jelinek  <jakub@redhat.com>

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

18 years ago.
roland [Fri, 8 Nov 2002 22:10:01 +0000 (22:10 +0000)]
.

18 years ago2002-11-08 Jakub Jelinek <jakub@redhat.com>
roland [Fri, 8 Nov 2002 22:09:46 +0000 (22:09 +0000)]
2002-11-08  Jakub Jelinek  <jakub@redhat.com>

* string/test-strchr.c (stupid_strchr): New function.
(do_random_tests): Make sure the string is zero terminated.
* string/test-strpbrk.c (stupid_strpbrk): New function.
(do_random_tests): Make sure the string is zero terminated.
* string/test-strcmp.c (stupid_strcmp): New function.
(do_random_tests): Make sure the strings are zero terminated.
* string/test-strspn.c (stupid_strspn): New function.
(simple_strspn): Rename rej argument to acc.
(do_random_tests): Make sure the string is zero terminated.
* string/test-strcspn.c (stupid_strcspn): New function.
* string/test-strncpy.c (stupid_strncpy): New function.
* string/test-stpncpy.c (stupid_stpncpy): New function.
* string/test-strncmp.c (stupid_strncmp): New function.
(do_random_tests): Make sure the strings are zero terminated.
* string/test-string.h (impl_t): Change test into long.
(IMPL): Add __attribute__((aligned (sizeof (void *)))).

18 years ago.
roland [Fri, 8 Nov 2002 17:11:02 +0000 (17:11 +0000)]
.

18 years ago2002-11-08 Roland McGrath <roland@redhat.com>
roland [Fri, 8 Nov 2002 17:10:52 +0000 (17:10 +0000)]
2002-11-08  Roland McGrath  <roland@redhat.com>

* sysdeps/ia64/elf/configure.in: Add TLS check.
From Ian Wienand <ianw@cse.unsw.edu.au>.
* sysdeps/ia64/elf/configure: Regenerated.

18 years ago.
roland [Fri, 8 Nov 2002 02:20:41 +0000 (02:20 +0000)]
.

18 years ago2002-11-07 Richard Henderson <rth@redhat.com>
roland [Fri, 8 Nov 2002 02:19:00 +0000 (02:19 +0000)]
2002-11-07  Richard Henderson  <rth@redhat.com>

* configure.in (ASM_ALPHA_NG_SYMBOL_PREFIX): Remove test.
* configure: Regenerated.
* config.h.in (ASM_ALPHA_NG_SYMBOL_PREFIX): Remove #undef.
* sysdeps/alpha/dl-machine.h (TRAMPOLINE_TEMPLATE): Use !samegp.
(RTLD_START): Likewise.  Access _dl_skip_args, _rtld_local, and
_dl_fini via gp-relative relocations.
* sysdeps/alpha/fpu/e_sqrt.c: Use !samegp.
* elf/tls-macros.h: Add alpha versions.
* sysdeps/alpha/dl-machine.h (elf_machine_rela): Handle TLS relocs.
* sysdeps/unix/alpha/sysdep.S: Support USE___THREAD.
* sysdeps/unix/alpha/sysdep.h: Likewise.  Add SYSCALL_ERROR_HANDLER.
* sysdeps/unix/sysv/linux/alpha/brk.S: Use it.
* sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/getitimer.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/sigsuspend.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/syscall.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.