external/glibc.git
24 years agoUpdate.
Ulrich Drepper [Sun, 16 Jul 2000 17:44:20 +0000 (17:44 +0000)]
Update.

2000-07-16  Ulrich Drepper  <drepper@redhat.com>

* crypt/md5-crypt.c (__md5_crypt_r): Add casts for first
parameters of memset calls to avoid warnings.

* stdlib/Makefile: Rewrite rules to avoid running isomac unless
necessary.

* iconv/gconv_open (__gconv_open): Initialize whole __gconv_trans_data

24 years agoUpdate.
Ulrich Drepper [Sun, 16 Jul 2000 07:30:42 +0000 (07:30 +0000)]
Update.

2000-07-16  Ulrich Drepper  <drepper@redhat.com>

* Makefile: Rewrite rules for tests to run them only when necessary.
* sort-test.sh: Produce output for failed tests.
* tst-fmon.sh: Likewise.
* tst-rpmatch.sh: Likewise.

24 years agoUpdate.
Ulrich Drepper [Sun, 16 Jul 2000 04:43:49 +0000 (04:43 +0000)]
Update.

* io/Makefile: Rewrite rules to avoid running ftwtest unless necessary.

24 years agoUpdate.
Ulrich Drepper [Sun, 16 Jul 2000 04:35:55 +0000 (04:35 +0000)]
Update.

2000-07-15  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/getcwd.c: Correct last patch.
Patch by Greg McGary <greg@mcgary.org>.

* io/Makefile (tests): Add tst-getcwd.
* io/tst-getcwd.c: New file.

24 years agoUpdate.
Ulrich Drepper [Sat, 15 Jul 2000 21:56:03 +0000 (21:56 +0000)]
Update.

2000-07-15  Jakub Jelinek  <jakub@redhat.com>

* gconv_open (__gconv_open): Initialize whole __gconv_trans_data
structure.

2000-07-13  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/posix/sysconf.c: Undef __sysconf before weak_alias.
* sysdeps/unix/bsd/getpt.c: Undef __getpt before weak_alias.

24 years agoUpdate.
Ulrich Drepper [Sat, 15 Jul 2000 19:02:47 +0000 (19:02 +0000)]
Update.

2000-05-05  H.J. Lu  <hjl@gnu.org>

* sysdeps/ia64/pt-machine.h (__compare_and_swap): Change it to
have acquire semantics.
(__compare_and_swap_with_release_semantics): New inline
function.
(HAS_COMPARE_AND_SWAP_WITH_RELEASE_SEMANTICS): New macro.

2000-01-28  Hans Boehm  <hboehm@exch.hpl.hp.com>

* manager.c: Fix the problem with signals at startup.
Change the way that thread stacks are allocated on IA64.
Clean up some of the guard page allocation stuff.

1999-12-19  H.J. Lu  <hjl@gnu.org>

* internals.h (page_roundup): New.
* attr.c (__pthread_attr_setguardsize); Use page_roundup
instead of roundup.
* manager.c (pthread_allocate_stack): Make sure guardaddr is
page aligned with page_roundup if NEED_SEPARATE_REGISTER_STACK
is define.

1999-12-17  Hans Boehm  <hboehm@exch.hpl.hp.com>

* manager.c (pthread_allocate_stack): Unmap the stack top
if failed to map the stack bottom.
Fix the guard page.
(pthread_free): Fix the guard page.

* pthread.c (pthread_initialize): Set rlimit correctly for
NEED_SEPARATE_REGISTER_STACK.

1999-12-16  H.J. Lu  <hjl@gnu.org>

* pthread.c (__pthread_initialize_manager): Pass
__pthread_manager_thread_bos instead of
__pthread_manager_thread_tos to __clone2.

1999-12-16  H.J. Lu  <hjl@gnu.org>

* manager.c (pthread_allocate_stack): Correct the calculation
of "new_thread_bottom". Remove MAP_GROWSDOWN from mmap for
stack bottom.

1999-12-13  H.J. Lu  <hjl@gnu.org>

* sysdeps/ia64/pt-machine.h (__compare_and_swap): Added a stop
bit after setting ar.ccv.

1999-12-12  H.J. Lu  <hjl@gnu.org>

* manager.c (pthread_allocate_stack): Make the starting
address of the stack bottom page aligned. FIXME: it may
need changes in other places.
(pthread_handle_create): Likewise.

1999-12-11  Hans Boehm  <hboehm@exch.hpl.hp.com>

* manager.c (pthread_allocate_stack): Handle
NEED_SEPARATE_REGISTER_STACK.
(pthread_handle_create): Likewise.
* pthread.c (__pthread_initialize_manager): Likewise.

* sysdeps/ia64/pt-machine.h: Use r13 for thread pointer.

1999-12-02  H.J. Lu  <hjl@gnu.org>

* sysdeps/ia64/pt-machine.h: New.

24 years agoUpdate.
Ulrich Drepper [Sat, 15 Jul 2000 17:32:51 +0000 (17:32 +0000)]
Update.

2000-07-12  H.J. Lu  <hjl@gnu.org>

* sysdeps/unix/sysv/linux/ia64/Versions (libc): Add __clone2 to
GLIBC_2.2.
* sysdeps/unix/sysv/linux/ia64/Dist: Add clone2.S.
* sysdeps/unix/sysv/linux/ia64/Makefile [$(subdir)=misc]
(sysdep-routines): Add clone2.
* sysdeps/unix/sysv/linux/ia64/clone2.S: New.

24 years agoUpdate.
Ulrich Drepper [Sat, 15 Jul 2000 17:04:58 +0000 (17:04 +0000)]
Update.

2000-07-13  Jes Sorensen  <jes@linuxcare.com>

* sysdeps/unix/sysv/linux/ia64/clone.S: New file.
* sysdeps/unix/sysv/linux/ia64/fork.c: New file.

2000-06-05  David Mosberger  <davidm@hpl.hp.com>

* sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: New file
based on sysdeps/unix/sysv/linux/bits/siginfo.h.
Change type of si_band from "int" to "long".
(si_imm) [USE_GNU]: Define
(si_isr) [USE_GNU]: Ditto.
(ILL_BREAK) [USE_GNU]: Ditto.
(FPE_DECOVF) [USE_GNU]: Ditto.
(FPE_DECDIV) [USE_GNU]: Ditto.
(FPE_DECERR) [USE_GNU]: Ditto.
(FPE_INVASC) [USE_GNU]: Ditto.
(FPE_INVDEC) [USE_GNU]: Ditto.
(TRAP_BRANCH) [USE_GNU]: Ditto.
(TRAP_HWBKPT) [USE_GNU]: Ditto.

2000-07-06  Jes Sorensen  <jes@linuxcare.com>

* sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
bits/sigcontext as struct mcontext does not depend on it.

* sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: New file.

2000-07-04  Jes Sorensen  <jes@linuxcare.com>

* sysdeps/unix/sysv/linux/ia64/shmctl.c: Removed.

2000-07-04  David Mosberger-Tang  <davidm@hpl.hp.com>

* sysdeps/unix/sysv/linux/ia64/bits/msq.h: New file.

2000-06-22  Jes Sorensen  <jes@linuxcare.com>

* sysdeps/unix/sysv/linux/ia64/bits/mman.h: New file.

* intl/translit.po: New file.

24 years agoUpdate.
Ulrich Drepper [Sat, 15 Jul 2000 08:05:12 +0000 (08:05 +0000)]
Update.

2000-07-15  Ulrich Drepper  <drepper@redhat.com>

* intl/Makefile (test-srcs): Add tst-translit.
(tests): Likewise.
Add rules to build and run tst-translit.
* intl/tst-translit.c: New file.
* intl/tst-translit.sh: New file.

24 years agoUpdate.
Ulrich Drepper [Sat, 15 Jul 2000 06:14:56 +0000 (06:14 +0000)]
Update.

2000-07-14  Ulrich Drepper  <drepper@redhat.com>

* iconv/loop.c (STANDARD_ERR_HANDLER): If one of the
transliteration function did its job, continue, don't stop.

* iconvdata/iso646.c: Little optimizations in body for conversion
from UCS4.

24 years agoUpdate.
Ulrich Drepper [Fri, 14 Jul 2000 20:37:48 +0000 (20:37 +0000)]
Update.

* dlfcn/dlerror.c (free_key_mem): Add cast to silence compiler warning.

2000-07-14  Mark Kettenis  <kettenis@gnu.org>

24 years agoUpdate.
Ulrich Drepper [Fri, 14 Jul 2000 16:43:53 +0000 (16:43 +0000)]
Update.

2000-07-14  Mark Kettenis  <kettenis@gnu.org>

* configure.in: Check for pwd binary.
* config.make.in: Add PWD_P to be subsituted.
* Makerules: Use $(PWD_P) instead of /bin/pwd.

24 years agoCheck for pwd binary.
Ulrich Drepper [Fri, 14 Jul 2000 16:41:15 +0000 (16:41 +0000)]
Check for pwd binary.

24 years agoAdd PR numbers.
Andreas Jaeger [Fri, 14 Jul 2000 09:40:11 +0000 (09:40 +0000)]
Add PR numbers.

24 years agoUpdate.
Ulrich Drepper [Fri, 14 Jul 2000 09:25:46 +0000 (09:25 +0000)]
Update.

2000-07-14  Ulrich Drepper  <drepper@redhat.com>

* iconvdata/Makefile (modules): Add GB18030.
(distribute): Add gb18030.c.
* iconvdata/gconv-modules: Add entries for GB18030 module.
* iconvdata/gb18030.c: New file.
Contributed by Wang ShouHua <shouhuawang@redflag-linux.com>
and Wu Jian.

24 years agoGB18030 iconv module for glibc.
Ulrich Drepper [Fri, 14 Jul 2000 09:02:37 +0000 (09:02 +0000)]
GB18030 iconv module for glibc.

24 years agoUpdate.
Andreas Jaeger [Fri, 14 Jul 2000 07:45:02 +0000 (07:45 +0000)]
Update.

2000-07-13  Andreas Jaeger  <aj@suse.de>

* sysdeps/unix/sysv/linux/getsysstats.c (free_mem): Revert last
patch.

* grp/fgetgrent.c (free_mem): Remove if - free (0) is valid.
* inet/getnetgrent.c (free_mem): Likewise.
* misc/mntent.c (free_mem): Likewise.
* nss/getXXbyYY.c (free_mem): Likewise.
* nss/getXXent.c (free_mem): Likewise.
* pwd/fgetpwent.c (free_mem): Likewise.
* shadow/fgetspent.c (free_mem): Likewise.

24 years ago* sysdeps/unix/sysv/linux/getsysstats.c (free_mem): Revert last
Andreas Jaeger [Fri, 14 Jul 2000 07:42:07 +0000 (07:42 +0000)]
* sysdeps/unix/sysv/linux/getsysstats.c (free_mem): Revert last

patch.
* grp/fgetgrent.c (free_mem): Remove if - free (0) is valid.
* inet/getnetgrent.c (free_mem): Likewise.
* misc/mntent.c (free_mem): Likewise.
* nss/getXXbyYY.c (free_mem): Likewise.
* nss/getXXent.c (free_mem): Likewise.
* pwd/fgetpwent.c (free_mem): Likewise.
* shadow/fgetspent.c (free_mem): Likewise.

24 years agoUpdate.
Ulrich Drepper [Fri, 14 Jul 2000 07:41:55 +0000 (07:41 +0000)]
Update.

(_dl_signal_error): Return _dl_out_of_memory if we cannot duplicate
[PR libc/1813].

24 years agoUpdate.
Ulrich Drepper [Fri, 14 Jul 2000 07:23:50 +0000 (07:23 +0000)]
Update.

2000-07-14  Ulrich Drepper  <drepper@redhat.com>

* sunrpc/xdr.c (xdr_u_long): Handle reading of unsigned long on
64-bit architecture correctly [PR libc/1794].

24 years agoUpdate.
Ulrich Drepper [Thu, 13 Jul 2000 19:46:27 +0000 (19:46 +0000)]
Update.

* elf/Versions (ld): Export _dl_out_of_memory for GLIBC_2.2.
* dlfcn/dlerror.c (dlerror): Don't free the error string if it is the
report that we are out of memory.
* elf/dl-deps.c (_dl_map_object_deps): Likewise.
* elf/dl-libc.c (dlerror_run): Likewise.
* elf/dl-open.c (_dl_open): Likewise.
* elf/rtld.c (dl_main): Likewise.
* elf/dl-error.c: Define _dl_out_of_memory.
(_dl_signal_error): Return _dl_signal_error if we cannot duplicate
the error string.
* sysdeps/generic/ldsodefs.h: Declare _dl_out_of_memory.

* dlfcn/dlerror.c (free_key_mem): Also free error string.

* iconv/loop.c: Fix comment.

24 years agoUpdate.
Ulrich Drepper [Thu, 13 Jul 2000 18:42:31 +0000 (18:42 +0000)]
Update.

2000-07-13  Ulrich Drepper  <drepper@redhat.com>

* malloc/mtrace.c (tr_freehook): Return immediately if ptr is NULL.

Fixes PR libc/1788, reported by John Buddery <jvb@cyberscience.com>.
* iconv/gconv_open.c (__gconv_open): Merge duplicated code.

24 years ago(tr_freehook): Return immediately if ptr is NULL.
Ulrich Drepper [Thu, 13 Jul 2000 18:40:43 +0000 (18:40 +0000)]
(tr_freehook): Return immediately if ptr is NULL.

24 years agoFix typo in comment.
Andreas Jaeger [Thu, 13 Jul 2000 17:42:32 +0000 (17:42 +0000)]
Fix typo in comment.

24 years agoUpdate.
Ulrich Drepper [Thu, 13 Jul 2000 17:37:44 +0000 (17:37 +0000)]
Update.

2000-07-13  Andreas Jaeger  <aj@suse.de>

* sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Correctly handle
getcwd (NULL, size) with size > 0.
Fixes PR libc/1788, reported by John Buddery
<jvb@cyberscience.com>.

2000-07-13  Andreas Jaeger  <aj@suse.de>

* posix/Makefile: Remove build rules for libposix.

24 years agoRemove build rules for libposix.
Ulrich Drepper [Thu, 13 Jul 2000 17:31:40 +0000 (17:31 +0000)]
Remove build rules for libposix.

24 years agoUpdate.
Andreas Jaeger [Thu, 13 Jul 2000 12:12:01 +0000 (12:12 +0000)]
Update.

2000-07-13  Andreas Schwab  <schwab@suse.de>

* sysdeps/generic/glob.c (glob): Fix memory leak.
[SHELL]: Remove reference to undefined variable `files'.
Fixes PR libc/1782.

24 years agoUpdate.
Andreas Jaeger [Thu, 13 Jul 2000 11:47:15 +0000 (11:47 +0000)]
Update.

* sysdeps/unix/sysv/linux/mips/Versions: Add libgcc frame handling
functions.

24 years agoUpdate.
Andreas Jaeger [Thu, 13 Jul 2000 09:50:26 +0000 (09:50 +0000)]
Update.

2000-07-13  Andreas Jaeger  <aj@suse.de>

* sysdeps/unix/sysv/linux/getsysstats.c (free_mem): Only free
memory if it was allocated.

24 years ago(free_mem): Only free memory if it was allocated.
Andreas Jaeger [Thu, 13 Jul 2000 09:50:03 +0000 (09:50 +0000)]
(free_mem): Only free memory if it was allocated.

24 years agoUpdate.
Ulrich Drepper [Thu, 13 Jul 2000 01:58:04 +0000 (01:58 +0000)]
Update.

* iconv/gconv_db.c (gen_steps): Always initialize __data field of
step.

* iconv/gconv_open.c (__gconv_open): Reapply
2000-07-12 Bruno Haible <haible@clisp.cons.org>

* iconv/gconv_open.c (__gconv_open): Merge duplicated
code.

24 years agoUpdate.
Ulrich Drepper [Thu, 13 Jul 2000 00:09:02 +0000 (00:09 +0000)]
Update.

2000-07-12  Ulrich Drepper  <drepper@redhat.com>

* iconv/gconv_open.c: Undo last two changes for now.  They break
everything.

24 years agoUpdate.
Ulrich Drepper [Wed, 12 Jul 2000 21:10:41 +0000 (21:10 +0000)]
Update.

2000-07-12  Andreas Jaeger  <aj@suse.de>

* elf/Makefile (SYSCONF-FLAGS): Added to pass sysconfdir to
compiler.
(CFLAGS-cache.c): Added, uses SYSCONF-FLAGS.
(CFLAGS-dl-cache.c): Likewise.
(CFLAGS-ldconfig.c): Added, passes directory locations.

* sysdeps/generic/dl-cache.h (LD_SO_CACHE): Use SYSCONFDIR to
locate cache.
* elf/ldconfig.c (LD_SO_CONF): Likewise.
(main): Use configured LIBDIR and SLIBDIR.

2000-07-11  Jakub Jelinek  <jakub@redhat.com>

* math/bits/cmathcalls.h (cimag): Add __THROW.
(creal, conj): Likewise.
* wctype/wctype.h (_ISwbit): Avoid warnings about shifting left
by negative value.

24 years agoUpdate.
Ulrich Drepper [Wed, 12 Jul 2000 20:39:58 +0000 (20:39 +0000)]
Update.

2000-07-12  H.J. Lu  <hjl@gnu.org>

* resolv/Versions (libresolv): Add __res_hostalias to GLIBC_2.2
for _nss_dns_gethostbyname2_r in resolv/nss_dns/dns-host.c.

2000-07-12  Ulrich Drepper  <drepper@redhat.com>

* wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Shut gcc up although
it is wrong.

24 years agoUpdate.
Ulrich Drepper [Wed, 12 Jul 2000 20:06:44 +0000 (20:06 +0000)]
Update.

2000-07-12  Bruno Haible  <haible@clisp.cons.org>

* iconv/gconv_open.c (__gconv_open): Merge duplicated code.

2000-07-12  Bruno Haible  <haible@clisp.cons.org>

* iconv/gconv_builtin.c (__gconv_get_builtin_trans): Initialize
__modname.

2000-07-12  Bruno Haible  <haible@clisp.cons.org>

* iconv/gconv_open.c (__gconv_open): Initialize
result->__steps[cnt].__data.

2000-07-12  Mark Kettenis  <kettenis@gnu.org>

* nss/getent.c (services_keys): Pass port number in network byte
order in call to getservbyport.

2000-07-11  Andreas Jaeger  <aj@suse.de>

* stdlib/Makefile (test-canon-ARGS): Fix for building in the
source dir.
* intl/Makefile (do-gettext-test): Likewise.
* dirent/Makefile (opendir-tst1-ARGS): Likewise.

2000-07-11  Andreas Schwab  <schwab@suse.de>

* Makeconfig (run-program-prefix): New rule.
(built-program-cmd): Use run-program-prefix.

24 years agoUpdate.
Ulrich Drepper [Wed, 12 Jul 2000 19:36:25 +0000 (19:36 +0000)]
Update.

2000-07-12  Ulrich Drepper  <drepper@redhat.com>

* locale/langinfo.h: Make CRNCYSTR, RADIXCHAR, THOUSANDS_SEP, YESEXPR,
and NOEXPR unconditionally available.

24 years agoMake CRNCYSTR, RADIXCHAR, THOUSANDS_SEP, YESEXPR, and NOEXPR unconditionally available.
Ulrich Drepper [Wed, 12 Jul 2000 19:35:29 +0000 (19:35 +0000)]
Make CRNCYSTR, RADIXCHAR, THOUSANDS_SEP, YESEXPR, and NOEXPR unconditionally available.

24 years ago* sysdeps/generic/open64.c: Wrap extern symbols in BP_SYM ().
Greg McGary [Wed, 12 Jul 2000 17:39:24 +0000 (17:39 +0000)]
* sysdeps/generic/open64.c: Wrap extern symbols in BP_SYM ().

* sysdeps/posix/open64.c: Likewise.
* sysdeps/generic/fegetenv.c: Likewise.
* sysdeps/powerpc/fpu/fegetenv.c: Likewise.
* sysdeps/powerpc/fpu/fesetenv.c: Likewise.
* sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
* sysdeps/powerpc/fpu/fgetexcptflg.c: Likewise.
* sysdeps/powerpc/fpu/fraiseexcpt.c: Likewise.
* sysdeps/powerpc/fpu/fsetexcptflg.c: Likewise.
2000-07-12  Greg McGary  <greg@mcgary.org>

* sysdeps/generic/open64.c: Wrap extern symbols in BP_SYM ().
* sysdeps/posix/open64.c: Likewise.
* sysdeps/generic/fegetenv.c: Likewise.
* sysdeps/powerpc/fpu/fegetenv.c: Likewise.
* sysdeps/powerpc/fpu/fesetenv.c: Likewise.
* sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
* sysdeps/powerpc/fpu/fgetexcptflg.c: Likewise.
* sysdeps/powerpc/fpu/fraiseexcpt.c: Likewise.
* sysdeps/powerpc/fpu/fsetexcptflg.c: Likewise.

24 years ago* include/libc-symbols.h [!__ASSEMBLER__] (strong_alias):
Greg McGary [Tue, 11 Jul 2000 19:30:53 +0000 (19:30 +0000)]
* include/libc-symbols.h [!__ASSEMBLER__] (strong_alias):

Add extra level of macro expansion.
[!__ASSEMBLER__ && HAVE_WEAK_SYMBOLS] (weak_alias): nLikewise.
* sysdeps/generic/bp-thunks.h: Ensure `struct timeval' definition
is available at the time `select' prototype is declared.
* sysdeps/unix/make-syscalls.sh: Remove unused variables.
Collect non-versioned weak aliases.  Consider only non-versioned
aliases for the user-visible systemcall name.  Do checks inline with
call to primitive system call.
* sysdeps/unix/sysv/linux/ptrace.c (ptrace): Add void cast to
stand-alone bounds checks to suppress unused value warnings.
* sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
2000-07-11  Greg McGary  <greg@mcgary.org>

* include/libc-symbols.h [!__ASSEMBLER__] (strong_alias):
Add extra level of macro expansion.
[!__ASSEMBLER__ && HAVE_WEAK_SYMBOLS] (weak_alias): nLikewise.
* sysdeps/generic/bp-thunks.h: Ensure `struct timeval' definition
is available at the time `select' prototype is declared.
* sysdeps/unix/make-syscalls.sh: Remove unused variables.
Collect non-versioned weak aliases.  Consider only non-versioned
aliases for the user-visible systemcall name.  Do checks inline with
call to primitive system call.
* sysdeps/unix/sysv/linux/ptrace.c (ptrace): Add void cast to
stand-alone bounds checks to suppress unused value warnings.
* sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.

24 years ago* sysdeps/mach/hurd/check_fds.c: New file. Implements file descriptor checking in...
Mark Kettenis [Mon, 10 Jul 2000 21:08:06 +0000 (21:08 +0000)]
* sysdeps/mach/hurd/check_fds.c: New file.  Implements file descriptor checking in SUID programs for the Hurd.

* sysdeps/mach/hurd/check_fds.c: New file.  Implements
file descriptor checking in SUID programs for the Hurd.

24 years agoUpdate.
Ulrich Drepper [Mon, 10 Jul 2000 20:43:35 +0000 (20:43 +0000)]
Update.

2000-07-10  Mark Kettenis  <kettenis@gnu.org>

* resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): Use
res_hostalias instead of __hostalias for thread-safety.

24 years agoUpdate.
Ulrich Drepper [Mon, 10 Jul 2000 20:02:00 +0000 (20:02 +0000)]
Update.

2000-07-09  Mark Kettenis  <kettenis@gnu.org>

* elf/rtld.c (dl_main): Move call to __libc_check_standard_fds...
* sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): ... to here.

2000-07-10  Ulrich Drepper  <drepper@redhat.com>

* include/features.h: Include ISO C99 features if the compiler used
is an ISO C99 compiler.
Patch by Joseph S. Myers <jsm28@cam.ac.uk>.

2000-07-08  Mark Kettenis  <kettenis@gnu.org>

* iconv/gconv_conf.c: Include <bits/libc-lock.h>.

24 years agoInclude <bits/libc-lock.h>.
Ulrich Drepper [Mon, 10 Jul 2000 19:52:59 +0000 (19:52 +0000)]
Include <bits/libc-lock.h>.

24 years agoUpdate.
Andreas Jaeger [Mon, 10 Jul 2000 16:25:03 +0000 (16:25 +0000)]
Update.

* sysdeps/unix/sysv/linux/i386/sigaction.c: Make alias weak since
it's overridden by libpthreads.
* sysdeps/unix/sysv/linux/sigaction.c: Likewise.
* sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
* sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.

24 years agoUpdate.
Andreas Jaeger [Mon, 10 Jul 2000 13:52:21 +0000 (13:52 +0000)]
Update.

* malloc/Makefile: Run tst-mtrace only with shared libs.

* stdio-common/Makefile: Run unbputc and tst-printf tests only
with shared libs.

2000-07-10  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>

* sysdeps/mips/dl-machine.h (elf_machine_runtime_link_map): Verify
that gpreg really points to the GOT section of the calling object.
Scan all PT_LOAD segments of objects for stub_pc, instead of only
checking a start address of first one.
Fix typos.
* sysdeps/mips/mips64/dl-machine.h (elf_machine_runtime_link_map):
Likewise.

* sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Fix a typo.

2000-07-10  Andreas Jaeger  <aj@suse.de>

24 years agoUpdate.
Andreas Jaeger [Mon, 10 Jul 2000 07:11:39 +0000 (07:11 +0000)]
Update.

2000-07-10  Andreas Jaeger  <aj@suse.de>

* sysdeps/unix/sysv/linux/sigaction.c: Fix typo
(string_alias->strong_alias).

24 years agoFix typo (string_alias->strong_alias).
Andreas Jaeger [Mon, 10 Jul 2000 07:11:09 +0000 (07:11 +0000)]
Fix typo (string_alias->strong_alias).

24 years ago* hurd/hurd/fd.h: Include <cthreads.h> instead of <lock-intern.h>.
Mark Kettenis [Sat, 8 Jul 2000 09:37:53 +0000 (09:37 +0000)]
* hurd/hurd/fd.h: Include <cthreads.h> instead of <lock-intern.h>.

2000-07-08  Mark Kettenis  <kettenis@gnu.org>

* hurd/hurd/fd.h: Include <cthreads.h> instead of <lock-intern.h>.

24 years ago* sysdeps/unix/make-syscalls.sh: Tolerate syscalls that
Greg McGary [Sat, 8 Jul 2000 07:12:48 +0000 (07:12 +0000)]
* sysdeps/unix/make-syscalls.sh: Tolerate syscalls that

have no names without leading underscores.
2000-07-07  Greg McGary  <greg@mcgary.org>

* sysdeps/unix/make-syscalls.sh: Tolerate syscalls that
have no names without leading underscores.

24 years agoUpdate.
Ulrich Drepper [Fri, 7 Jul 2000 23:59:31 +0000 (23:59 +0000)]
Update.

* iconvdata/sjis.c (from_ucs4_lat1): Fix mappng of U005C and
U007E.

24 years agoUpdate.
Ulrich Drepper [Fri, 7 Jul 2000 23:41:12 +0000 (23:41 +0000)]
Update.

2000-07-07  Ulrich Drepper  <drepper@redhat.com>

* charmaps/SJIS: New file.

24 years agoUpdate.
Ulrich Drepper [Fri, 7 Jul 2000 21:06:48 +0000 (21:06 +0000)]
Update.

2000-07-07  Ulrich Drepper  <drepper@redhat.com>

* stdio-common/Makefile (tests): Remove tst-printf here...
(tests-srcs): ...and add it here.
(distribute): Add tst-unbputc.sh and tst-printf.sh.
Add rules to run tst-printf.sh.
* stdio-common/tst-printf.c: Move code around so that there is really
no further output where it's stated.
* stdio-common/tst-printf.sh: New file.

24 years ago(tests): Remove tst-printf here... (tests-srcs): ...and add it here. (distribute...
Ulrich Drepper [Fri, 7 Jul 2000 20:59:15 +0000 (20:59 +0000)]
(tests): Remove tst-printf here... (tests-srcs): ...and add it here. (distribute): Add tst-unbputc.sh and tst-printf.sh. Add rules to run tst-printf.sh.

24 years ago* hurd/vpprintf.c [USE_IN_LIBIO]: Include <libioP.h>. (do_write): Renamed from pwrite...
Mark Kettenis [Fri, 7 Jul 2000 19:02:14 +0000 (19:02 +0000)]
* hurd/vpprintf.c [USE_IN_LIBIO]: Include <libioP.h>. (do_write): Renamed from pwrite. (vpprintf) [USE_IN_LIBIO]: Adjust for renaming and reshufling of `struct _IO_cookie_file'.

2000-07-07  Mark Kettenis  <kettenis@gnu.org>

* hurd/vpprintf.c [USE_IN_LIBIO]: Include <libioP.h>.
(do_write): Renamed from pwrite.
(vpprintf) [USE_IN_LIBIO]: Adjust for renaming and reshufling of
`struct _IO_cookie_file'.

24 years agoUpdate.
Ulrich Drepper [Fri, 7 Jul 2000 08:10:15 +0000 (08:10 +0000)]
Update.

2000-07-07  Ulrich Drepper  <drepper@redhat.com>

* malloc/mtrace.pl: Exit with exit code 1 if any leak was
detected.
* malloc/tst-mtrace.sh: Run mtrace script.

24 years agoExit with exit code 1 if any leak was detected.
Ulrich Drepper [Fri, 7 Jul 2000 08:03:07 +0000 (08:03 +0000)]
Exit with exit code 1 if any leak was detected.

24 years ago* posix/regex.c (EXTEND_BUFFER): Compute increment once.
Greg McGary [Fri, 7 Jul 2000 07:53:40 +0000 (07:53 +0000)]
* posix/regex.c (EXTEND_BUFFER): Compute increment once.

Move all three components of a bounded pointer.
2000-07-07  Greg McGary  <greg@mcgary.org>

* posix/regex.c (EXTEND_BUFFER): Compute increment once.
Move all three components of a bounded pointer.

24 years agoUpdate.
Ulrich Drepper [Fri, 7 Jul 2000 07:12:11 +0000 (07:12 +0000)]
Update.

2000-07-07  Ulrich Drepper  <drepper@redhat.com>

* locale/programs/locale.c (write_locales): Don't simply add all
directories found in the subdir, test whether at least the
LC_CTYPE file is in there.

24 years agoUpdate.
Ulrich Drepper [Fri, 7 Jul 2000 06:41:18 +0000 (06:41 +0000)]
Update.

* iconvdata/euc-jp.c: Map characters in C1 area to itself.
* iconvdata/euc-kr.c: Likewise.

24 years agoUpdate.
Ulrich Drepper [Fri, 7 Jul 2000 06:23:55 +0000 (06:23 +0000)]
Update.

2000-07-06  Ulrich Drepper  <drepper@redhat.com>

* charmaps/EUC-JP: Make characters in C1 area map to themselves.

24 years agoMake characters in C1 area map to themselves.
Ulrich Drepper [Fri, 7 Jul 2000 06:23:32 +0000 (06:23 +0000)]
Make characters in C1 area map to themselves.

24 years agoFix typo
Andreas Jaeger [Fri, 7 Jul 2000 06:15:35 +0000 (06:15 +0000)]
Fix typo

thread library for static programs.

24 years agoUpdate.
Ulrich Drepper [Fri, 7 Jul 2000 06:05:09 +0000 (06:05 +0000)]
Update.

* stdio-common/vfprintf.c (process_string_arg): Check result of
wcrtomb call and bail out if it failed.

* configure.in: Fix CFLAGS-memprofstat.c definition after

24 years agoUpdate.
Ulrich Drepper [Fri, 7 Jul 2000 03:02:14 +0000 (03:02 +0000)]
Update.

* malloc/Makefile (test-srcs): Add tst-mtrace.
(distribute): Add tst-mtrace.sh.
Add rule to run tst-mtrace.sh.
* malloc/tst-mtrace.c: New file.
* malloc/tst-mtrace.sh: New file.

24 years agoTest program for mtrace.
Ulrich Drepper [Fri, 7 Jul 2000 03:00:06 +0000 (03:00 +0000)]
Test program for mtrace.

24 years ago* sysdeps/generic/bp-checks.h (CHECK_SIGSET, CHECK_SIGSETopt):
Greg McGary [Fri, 7 Jul 2000 02:19:06 +0000 (02:19 +0000)]
* sysdeps/generic/bp-checks.h (CHECK_SIGSET, CHECK_SIGSETopt):

New macros.
* sysdeps/generic/strcpy.c: Add bounds checks.
* sysdeps/unix/fxstat.c: Likewise.
* sysdeps/unix/xstat.c: Likewise.
* sysdeps/unix/common/lxstat.c: Likewise.
* sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
* sysdeps/unix/sysv/linux/execve.c: Likewise.
* sysdeps/unix/sysv/linux/fxstat.c: Likewise.
* sysdeps/unix/sysv/linux/fxstat64.c: Likewise.
* sysdeps/unix/sysv/linux/getcwd.c: Likewise.
* sysdeps/unix/sysv/linux/getdents.c: Likewise.
* sysdeps/unix/sysv/linux/llseek.c: Likewise.
* sysdeps/unix/sysv/linux/lxstat.c: Likewise.
* sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
* sysdeps/unix/sysv/linux/poll.c: Likewise.
* sysdeps/unix/sysv/linux/pread.c: Likewise.
* sysdeps/unix/sysv/linux/pread64.c: Likewise.
* sysdeps/unix/sysv/linux/ptrace.c: Likewise.
* sysdeps/unix/sysv/linux/pwrite.c: Likewise.
* sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
* sysdeps/unix/sysv/linux/readv.c: Likewise.
* sysdeps/unix/sysv/linux/sigaction.c: Likewise.
* sysdeps/unix/sysv/linux/sigpending.c: Likewise.
* sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
* sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
* sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
* sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
* sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
* sysdeps/unix/sysv/linux/sysctl.c: Likewise.
* sysdeps/unix/sysv/linux/truncate64.c: Likewise.
* sysdeps/unix/sysv/linux/ustat.c: Likewise.
* sysdeps/unix/sysv/linux/writev.c: Likewise.
* sysdeps/unix/sysv/linux/xmknod.c: Likewise.
* sysdeps/unix/sysv/linux/xstat.c: Likewise.
* sysdeps/unix/sysv/linux/xstat64.c: Likewise.
* sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
* sysdeps/unix/sysv/linux/i386/brk.c: Likewise.
* sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
* sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
* sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
* sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
* sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
* sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise.
* sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
* sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
* sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
* sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
* sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
* sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
* sysdeps/unix/sysv/linux/ia64/fxstat.c: Likewise.
* sysdeps/unix/sysv/linux/ia64/lxstat.c: Likewise.
* sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
* sysdeps/unix/sysv/linux/ia64/sigpending.c: Likewise.
* sysdeps/unix/sysv/linux/ia64/sigprocmask.c: Likewise.
* sysdeps/unix/sysv/linux/ia64/sigsuspend.c: Likewise.
* sysdeps/unix/sysv/linux/ia64/xstat.c: Likewise.
* sysdeps/unix/sysv/linux/m68k/chown.c: Likewise.
* sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
* sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
* sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
* sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
* sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
* sysdeps/unix/sysv/linux/mips/ustat.c: Likewise.
* sysdeps/unix/sysv/linux/mips/xmknod.c: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c: Likewise.
* sysdeps/generic/bp-checks.h (CHECK_SIGSET, CHECK_SIGSETopt):
New macros.
* sysdeps/generic/strcpy.c: Add bounds checks.
* sysdeps/unix/fxstat.c: Likewise.
* sysdeps/unix/xstat.c: Likewise.
* sysdeps/unix/common/lxstat.c: Likewise.
* sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
* sysdeps/unix/sysv/linux/execve.c: Likewise.
* sysdeps/unix/sysv/linux/fxstat.c: Likewise.
* sysdeps/unix/sysv/linux/fxstat64.c: Likewise.
* sysdeps/unix/sysv/linux/getcwd.c: Likewise.
* sysdeps/unix/sysv/linux/getdents.c: Likewise.
* sysdeps/unix/sysv/linux/llseek.c: Likewise.
* sysdeps/unix/sysv/linux/lxstat.c: Likewise.
* sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
* sysdeps/unix/sysv/linux/poll.c: Likewise.
* sysdeps/unix/sysv/linux/pread.c: Likewise.
* sysdeps/unix/sysv/linux/pread64.c: Likewise.
* sysdeps/unix/sysv/linux/ptrace.c: Likewise.
* sysdeps/unix/sysv/linux/pwrite.c: Likewise.
* sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
* sysdeps/unix/sysv/linux/readv.c: Likewise.
* sysdeps/unix/sysv/linux/sigaction.c: Likewise.
* sysdeps/unix/sysv/linux/sigpending.c: Likewise.
* sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
* sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
* sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
* sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
* sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
* sysdeps/unix/sysv/linux/sysctl.c: Likewise.
* sysdeps/unix/sysv/linux/truncate64.c: Likewise.
* sysdeps/unix/sysv/linux/ustat.c: Likewise.
* sysdeps/unix/sysv/linux/writev.c: Likewise.
* sysdeps/unix/sysv/linux/xmknod.c: Likewise.
* sysdeps/unix/sysv/linux/xstat.c: Likewise.
* sysdeps/unix/sysv/linux/xstat64.c: Likewise.
* sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
* sysdeps/unix/sysv/linux/i386/brk.c: Likewise.
* sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
* sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
* sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
* sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
* sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
* sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise.
* sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
* sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
* sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
* sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
* sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
* sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
* sysdeps/unix/sysv/linux/ia64/fxstat.c: Likewise.
* sysdeps/unix/sysv/linux/ia64/lxstat.c: Likewise.
* sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
* sysdeps/unix/sysv/linux/ia64/sigpending.c: Likewise.
* sysdeps/unix/sysv/linux/ia64/sigprocmask.c: Likewise.
* sysdeps/unix/sysv/linux/ia64/sigsuspend.c: Likewise.
* sysdeps/unix/sysv/linux/ia64/xstat.c: Likewise.
* sysdeps/unix/sysv/linux/m68k/chown.c: Likewise.
* sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
* sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
* sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
* sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
* sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
* sysdeps/unix/sysv/linux/mips/ustat.c: Likewise.
* sysdeps/unix/sysv/linux/mips/xmknod.c: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c: Likewise.

24 years agoUpdate.
Ulrich Drepper [Fri, 7 Jul 2000 00:52:01 +0000 (00:52 +0000)]
Update.

2000-07-06  Ulrich Drepper  <drepper@redhat.com>

* include/signal.h: Declare __libc_sigaction.
* sysdeps/unix/sysv/linux/Versions: Export __libc_sigaction.
* sysdeps/unix/sysv/linux/sigaction.c: Add __libc_sigaction alias.
* sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
* sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
* sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.

* configure.in: Fix CLAGS-memprofstat.c definition after
2000-06-19 change.
Patch by Bradford W. Johnson <bradford@math.umn.edu>.

2000-07-06  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Pass 0
instead of NULL to elf_machine_fixup_plt t argument.
* sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c (__mmap64): Add
cast.

2000-07-06  Andreas Jaeger  <aj@suse.de>

* crypt/Makefile (LDLIBS-cert): Removed.
(LDLIBS-md5c-test): Removed.
($(objpfx)cert): Renamed from cert.out to fix dependencies.
($(objpfx)md5c-test): Likewise for md5c-test.out.

24 years agoDeclare __libc_sigaction.
Ulrich Drepper [Fri, 7 Jul 2000 00:44:21 +0000 (00:44 +0000)]
Declare __libc_sigaction.

24 years ago* string/endian.h (__LONG_LONG_PAIR): New macro.
Greg McGary [Thu, 6 Jul 2000 23:42:33 +0000 (23:42 +0000)]
* string/endian.h (__LONG_LONG_PAIR): New macro.

* sysdeps/unix/sysv/linux/ftruncate64.c: Use it.
* sysdeps/unix/sysv/linux/pread.c: Likewise.
* sysdeps/unix/sysv/linux/pread64.c: Likewise.
* sysdeps/unix/sysv/linux/pwrite.c: Likewise.
* sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
* sysdeps/unix/sysv/linux/truncate64.c: Likewise.
* sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise.
* sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
* sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
* sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
* sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
* sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
* string/endian.h (__LONG_LONG_PAIR): New macro.
* sysdeps/unix/sysv/linux/ftruncate64.c: Use it.
* sysdeps/unix/sysv/linux/pread.c: Likewise.
* sysdeps/unix/sysv/linux/pread64.c: Likewise.
* sysdeps/unix/sysv/linux/pwrite.c: Likewise.
* sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
* sysdeps/unix/sysv/linux/truncate64.c: Likewise.
* sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise.
* sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
* sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
* sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
* sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
* sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.

24 years agoRegenerated: autoconf configure.in
Ulrich Drepper [Thu, 6 Jul 2000 23:33:20 +0000 (23:33 +0000)]
Regenerated: autoconf  configure.in

24 years agoUpdate.
Ulrich Drepper [Thu, 6 Jul 2000 22:01:12 +0000 (22:01 +0000)]
Update.

2000-07-06  Ulrich Drepper  <drepper@redhat.com>

* condvar.c: Implement pthread_condattr_getpshared and
pthread_condattr_setpshared.
* mutex.c: Implement pthread_mutexattr_getpshared and
 pthread_mutexattr_setpshared.
* Versions: Export new functions.
* sysdeps/pthread/pthread.h: Add prototypes for new functions.

* rwlock.c (pthread_rwlockattr_init): Use PTHREAD_PROCESS_PRIVATE.
(pthread_rwlockattr_setpshared): Fail if PTHREAD_PROCESS_PRIVATE
is not selected.

24 years agoImplement pthread_condattr_getpshared and pthread_condattr_setpshared.
Ulrich Drepper [Thu, 6 Jul 2000 21:57:50 +0000 (21:57 +0000)]
Implement pthread_condattr_getpshared and pthread_condattr_setpshared.

24 years ago(__libc_start_main): Initialize thread library for static programs
Andreas Jaeger [Thu, 6 Jul 2000 21:16:06 +0000 (21:16 +0000)]
(__libc_start_main): Initialize thread library for static programs

24 years agoUpdate.
Andreas Jaeger [Thu, 6 Jul 2000 21:15:13 +0000 (21:15 +0000)]
Update.

* sysdeps/generic/libc-start.c (__libc_start_main): Initialize
thread library for static program.s

24 years agoUpdate.
Andreas Jaeger [Thu, 6 Jul 2000 21:05:00 +0000 (21:05 +0000)]
Update.

2000-07-06  Andreas Jaeger  <aj@suse.de>

* sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): The type
of the proc system is "proc".

24 years ago(get_proc_path): The type of the proc system is "proc".
Andreas Jaeger [Thu, 6 Jul 2000 21:04:09 +0000 (21:04 +0000)]
(get_proc_path): The type of the proc system is "proc".

24 years ago* sysdeps/unix/sysv/linux/sys/ptrace.h (PT_SYSCALL): Fix LHS.
Greg McGary [Thu, 6 Jul 2000 16:58:19 +0000 (16:58 +0000)]
* sysdeps/unix/sysv/linux/sys/ptrace.h (PT_SYSCALL): Fix LHS.

2000-07-06  Greg McGary  <greg@mcgary.org>

* sysdeps/unix/sysv/linux/sys/ptrace.h (PT_SYSCALL): Fix LHS.

24 years agoUpdate.
Andreas Jaeger [Thu, 6 Jul 2000 09:26:45 +0000 (09:26 +0000)]
Update.

* sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path):
Initialize result.

24 years agoUpdate.
Andreas Jaeger [Thu, 6 Jul 2000 07:50:44 +0000 (07:50 +0000)]
Update.

2000-07-06  Andreas Jaeger  <aj@suse.de>

* math/test-fpucw.c: Include <stdio.h> for printf.

24 years agoInclude <stdio.h> for printf.
Andreas Jaeger [Thu, 6 Jul 2000 07:50:24 +0000 (07:50 +0000)]
Include <stdio.h> for printf.

24 years ago* sysdeps/generic/bp-checks.h: New file.
Greg McGary [Thu, 6 Jul 2000 00:48:39 +0000 (00:48 +0000)]
* sysdeps/generic/bp-checks.h: New file.

* sysdeps/generic/bp-thunks.h: Replace generic thunk definitions
with list of #include files.
* sysdeps/unix/make-syscalls.sh: Handle new arg signature
keyletters a, b, B, f, n, N, P, v, V.  Fixup some indentation.
Don't generate BP thunk if `V' appears in signature.
Generate thunks with complete bounds checks.
* sysdeps/unix/syscalls.list: Refine signatures using new keyletters.
* sysdeps/unix/inet/syscalls.list: Likewise.
* sysdeps/unix/mman/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
2000-07-05  Greg McGary  <greg@mcgary.org>

* sysdeps/generic/bp-checks.h: New file.
* sysdeps/generic/bp-thunks.h: Replace generic thunk definitions
with list of #include files.
* sysdeps/unix/make-syscalls.sh: Handle new arg signature
keyletters a, b, B, f, n, N, P, v, V.  Fixup some indentation.
Don't generate BP thunk if `V' appears in signature.
Generate thunks with complete bounds checks.
* sysdeps/unix/syscalls.list: Refine signatures using new keyletters.
* sysdeps/unix/inet/syscalls.list: Likewise.
* sysdeps/unix/mman/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.

24 years agoUpdate.
Ulrich Drepper [Thu, 6 Jul 2000 00:44:01 +0000 (00:44 +0000)]
Update.

* sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Cache
result.  Search first in /etc/mtab (proc/mounts would be stupid).
If mount not in the file fall back on /proc.

24 years agoUpdate.
Ulrich Drepper [Wed, 5 Jul 2000 22:34:10 +0000 (22:34 +0000)]
Update.

* crypt/md5-crypt.c (__md5_crypt_r): Clear arrays the key and salt
string got copied in.
Patch by Solar Designer <solar@false.com>.

2000-07-05  Andreas Jaeger  <aj@suse.de>

* manual/install.texi (Installation): Update information about
add-ons.
(Configuring and compiling): Update for glibc 2.2.

2000-07-04  Andreas Jaeger  <aj@suse.de>

* sysdeps/i386/fpu_control.h (_FPU_DEFAULT): Correct value.
(_FPU_IEEE): Likewise.

* math/Makefile (tests): Add test-fpucw.

* math/test-fpucw.c (main): New file.

2000-07-05  Ulrich Drepper  <drepper@redhat.com>

24 years agoUpdate.
Ulrich Drepper [Wed, 5 Jul 2000 22:02:03 +0000 (22:02 +0000)]
Update.

2000-07-05  Ulrich Drepper  <drepper@redhat.com>

* locale/loadlocale.c (_nl_unload_locale): Add cast to avoid warning.

* locale/programs/ld-collate.c (collate_output): Also write out the
collation sequence values and the wide character string for the
collation symbol table.

* posix/fnmatch.c: Include "../locale/elem-hash.h".
* posix/fnmatch_loop.c: Implement collating symbol handling.
* posix/tst-fnmatch.input: Add more tests, especially for collating
symbol handling.

* posix/regex.c: Fix comment.

24 years ago(_nl_unload_locale): Add cast to avoid warning.
Ulrich Drepper [Wed, 5 Jul 2000 21:56:49 +0000 (21:56 +0000)]
(_nl_unload_locale): Add cast to avoid warning.

24 years agoUpdate.
Andreas Jaeger [Wed, 5 Jul 2000 15:38:00 +0000 (15:38 +0000)]
Update.

* sysdeps/mips/fpu_control.h: Fix type of fpu_control_t.
(_FPU_GETCW): Remove extra colon.
Patch by Ralf Baechle <ralf@uni-koblenz.de>.

24 years agoUpdate.
Andreas Jaeger [Wed, 5 Jul 2000 13:33:02 +0000 (13:33 +0000)]
Update.

* sysdeps/generic/strlen.c: Likewise.
* sysdeps/generic/strchr.c: Likewise.
* sysdeps/generic/memchr.c: Likewise.

24 years agoUpdate.
Andreas Jaeger [Wed, 5 Jul 2000 13:24:19 +0000 (13:24 +0000)]
Update.

2000-07-05  Andreas Jaeger  <aj@suse.de>

* posix/fnmatch_loop.c (FCT): Only declare len if
!WIDE_CHAR_VERSION to silence GCC.

* sysdeps/generic/rawmemchr.c: Include <stdlib.h> for abort
prototype.
* sysdeps/generic/strchrnul.c: Likewise.

24 years ago(FCT): Only declare len if
Andreas Jaeger [Wed, 5 Jul 2000 13:22:48 +0000 (13:22 +0000)]
(FCT): Only declare len if

!WIDE_CHAR_VERSION to silence GCC.

24 years ago* sysdeps/i386/bits/setjmp.h (PUSH_SIGNAL_MASK): Fix typo.
Greg McGary [Wed, 5 Jul 2000 02:14:59 +0000 (02:14 +0000)]
* sysdeps/i386/bits/setjmp.h (PUSH_SIGNAL_MASK): Fix typo.

* sysdeps/i386/bits/setjmp.h (PUSH_SIGNAL_MASK): Fix typo.

24 years agoUpdate.
Ulrich Drepper [Tue, 4 Jul 2000 23:27:39 +0000 (23:27 +0000)]
Update.

* posix/fnmatch_loop.c: Implement equivalence class handling.
* posix/tst-fnmatch.input: Add tests for equivalence class
handling.

24 years agoUpdate.
Ulrich Drepper [Tue, 4 Jul 2000 21:32:15 +0000 (21:32 +0000)]
Update.

* posix/fnmatch_loop.c: Improve performance for single-byte
character sets by not using btowc.

24 years agoUpdate.
Ulrich Drepper [Tue, 4 Jul 2000 20:58:45 +0000 (20:58 +0000)]
Update.

* posix/tst-fnmatch.input: Add tests for locale dependent
behaviour.
* posix/tst-fnmatch.c (main): Also set LC_CTYPE category.

24 years ago(main): Also set LC_CTYPE category.
Ulrich Drepper [Tue, 4 Jul 2000 20:56:12 +0000 (20:56 +0000)]
(main): Also set LC_CTYPE category.

24 years agoRegenerated: autoconf configure.in
Greg McGary [Tue, 4 Jul 2000 20:12:34 +0000 (20:12 +0000)]
Regenerated: autoconf  configure.in

24 years agoUpdate.
Ulrich Drepper [Tue, 4 Jul 2000 20:00:19 +0000 (20:00 +0000)]
Update.

* posix/tst-fnmatch.input: Add more test cases.

24 years agoUpdate.
Ulrich Drepper [Tue, 4 Jul 2000 19:18:17 +0000 (19:18 +0000)]
Update.

2000-06-29  David Mosberger-Tang  <davidm@hpl.hp.com>

* sysdeps/unix/sysv/linux/ia64/ioperm.c: New file.

2000-06-29  Jes Sorensen  <jes@linuxcare.com>

* sysdeps/unix/sysv/linux/ia64/syscalls.list: Add __fstatfs64
alias to the fstatfs call.

* sysdeps/unix/sysv/linux/ia64/getrlimit64.c: New file.
* sysdeps/unix/sysv/linux/ia64/setrlimit64.c: New file.

* sysdeps/unix/sysv/linux/ia64/ftruncate64.c: New file.
* sysdeps/unix/sysv/linux/ia64/truncate64.c: New file.

* sysdeps/unix/sysv/linux/ia64/readdir.c: New file.
* sysdeps/unix/sysv/linux/ia64/readdir_r.c: New file.
* sysdeps/unix/sysv/linux/ia64/readdir64.c: New file.
* sysdeps/unix/sysv/linux/ia64/readdir64_r.c: New file.

* sysdeps/unix/sysv/linux/ia64/glob.c: New file.
* sysdeps/unix/sysv/linux/ia64/glob64.c: New file.

* sysdeps/unix/sysv/linux/ia64/fstatfs64.c: New file.
* sysdeps/unix/sysv/linux/ia64/statfs64.c: New file.

* sysdeps/unix/sysv/linux/ia64/pread64.c: New file.
* sysdeps/unix/sysv/linux/ia64/pwrite64.c: New file.

* sysdeps/unix/sysv/linux/ia64/shmctl.c: New file.

24 years ago* sysdeps/pthread/bits/libc-lock.h: Remove BP_SYM from
Greg McGary [Tue, 4 Jul 2000 18:44:25 +0000 (18:44 +0000)]
* sysdeps/pthread/bits/libc-lock.h: Remove BP_SYM from

pragmas.  Include bp-sym.h only if _LIBC.
2000-07-04  Greg McGary  <greg@mcgary.org>

* sysdeps/pthread/bits/libc-lock.h: Remove BP_SYM from
pragmas.  Include bp-sym.h only if _LIBC.

24 years agoUpdate.
Ulrich Drepper [Tue, 4 Jul 2000 18:24:11 +0000 (18:24 +0000)]
Update.

2000-07-04  Ulrich Drepper  <drepper@redhat.com>

* crypt/md5-crypt.c (__md5_crypt_r): If buffers for key and salt
are not aligned to alignof(md5_uint32) do it before calling
__md5_process_bytes.
* crypt/md5.c: Make sure buffers are aligned.
* crypt/md5.h: Likewise.
Reported by Solar Designer <solar@false.com>.

* crypt/Makefile: Add dependencies for test programs.

* Rules: Define LC_ALL=C in environments of all programs we run.

* intl/tst-gettext.sh (LC_ALL): Define to C and export.

2000-07-03  H.J. Lu  <hjl@gnu.org>

* locale/programs/ld-ctype.c (ctype_output): The size of iov
is 2 + elem + offset, not 2 + elem + offset + 2.

2000-07-04  Ulrich Drepper  <drepper@redhat.com>

* posix/fnmatch_loop.c: Fix two problems uncovered by the new test
suite.
* posix/Makefile (tests): Add tst-fnmatch.
(tst-fnmatch-ENV): Define.
* posix/tst-fnmatch.c: New file.
* posix/tst-fnmatch.sh: New file.

24 years agoUpdate.
Ulrich Drepper [Tue, 4 Jul 2000 08:22:44 +0000 (08:22 +0000)]
Update.

2000-07-04  Ulrich Drepper  <drepper@redhat.com>

* spinlock.c (__pthread_unlock): Properly place write barrier.
Patch by Kaz Kylheku <kaz@ashi.footprints.net>.