external/glibc.git
24 years agoUpdate.
Ulrich Drepper [Sat, 22 Jul 2000 04:25:38 +0000 (04:25 +0000)]
Update.

symbols and elements be named in reorder-after instructions.

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

* locale/programs/ld-collate.c (collate_read): Allow collating
symbols be named in reorder-after instructions.
Reported by Yoshito Kawada <KAWADA@jp.ibm.com>.

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

* locale/programs/ld-collate.c (handle_ellipsis): Test for
duplication with generated name, not the name of the first
character.
Patch by Yong Li <yong.li@asu.edu>.

24 years agoUpdate.
Ulrich Drepper [Sat, 22 Jul 2000 02:26:07 +0000 (02:26 +0000)]
Update.

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

* sysdeps/powerpc/strchr.S: Correct bugs introduced in BP-ification.
Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.

24 years agoUpdate.
Ulrich Drepper [Sat, 22 Jul 2000 02:16:52 +0000 (02:16 +0000)]
Update.

2000-07-21  Wolfram Gloger  <wg@malloc.de>

* malloc/malloc.c (chunk_alloc): Try mmap_chunk() for smaller
allocations only if a non-main arena cannot be extended.

* sysdeps/powerpc/bp-asm.h (DISCARD_BOUNDS): Rename from
UNCHECK_BOUNDS.

24 years agoUpdate.
Ulrich Drepper [Fri, 21 Jul 2000 21:05:42 +0000 (21:05 +0000)]
Update.

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

* elf/dl-load.c (_dl_map_object): Take loader==NULL into account
in DF_1_NODEFLIB handling.

24 years ago(_dl_map_object): Take loader==NULL into account in DF_1_NODEFLIB handling.
Ulrich Drepper [Fri, 21 Jul 2000 21:04:40 +0000 (21:04 +0000)]
(_dl_map_object): Take loader==NULL into account in DF_1_NODEFLIB handling.

24 years agoUpdate.
Andreas Jaeger [Fri, 21 Jul 2000 13:23:36 +0000 (13:23 +0000)]
Update.

* elf/Makefile ($(test-modules)): Exclude filtmod1.so, it has its
own rule.

24 years agoUpdate.
Andreas Jaeger [Fri, 21 Jul 2000 13:05:51 +0000 (13:05 +0000)]
Update.

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

* libio/fwide.c: Include <wchar.h> for prototype.

24 years agoInclude <wchar.h> for prototype.
Andreas Jaeger [Fri, 21 Jul 2000 12:59:48 +0000 (12:59 +0000)]
Include <wchar.h> for prototype.

24 years ago* malloc/malloc.c (next_chunk, prev_chunk, inuse_bit_at_offset,
Greg McGary [Fri, 21 Jul 2000 07:51:23 +0000 (07:51 +0000)]
* malloc/malloc.c (next_chunk, prev_chunk, inuse_bit_at_offset,

set_inuse_bit_at_offset, clear_inuse_bit_at_offset, set_foot):
Define in terms of chunk_at_offset.
(inuse, set_inuse, clear_inuse): Define in terms of next_chunk.
(next_bin, prev_bin): offset by size of real array elements.
(chunk_align): Make `m' a scalar, since that's how it's used.
* malloc/malloc.c (next_chunk, prev_chunk, inuse_bit_at_offset,
set_inuse_bit_at_offset, clear_inuse_bit_at_offset, set_foot):
Define in terms of chunk_at_offset.
(inuse, set_inuse, clear_inuse): Define in terms of next_chunk.
(next_bin, prev_bin): offset by size of real array elements.
(chunk_align): Make `m' a scalar, since that's how it's used.

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

24 years ago* sysdeps/powerpc/bp-asm.h (DISCARD_BOUNDS): Rename from UNCHECK_BOUNDS.
Greg McGary [Fri, 21 Jul 2000 07:43:25 +0000 (07:43 +0000)]
* sysdeps/powerpc/bp-asm.h (DISCARD_BOUNDS): Rename from UNCHECK_BOUNDS.

* sysdeps/powerpc/bits/setjmp.h (JB_SIZE): New constant.
* sysdeps/powerpc/elf/libc-start.c (__libc_start_main):
Wrap bounds around argv & envp and each of their string members.
* sysdeps/powerpc/elf/start.S: Designate BP symbols.
* sysdeps/unix/sysv/linux/powerpc/brk.S: Wrap entry-point
symbol in BP_SYM ().  Discard bounds of address arg.
* sysdeps/unix/sysv/linux/powerpc/clone.S: Likewise.
* sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64):
Discard bounds on address arg, add bounds to return value.
2000-07-21  Greg McGary  <greg@mcgary.org>

* sysdeps/powerpc/bp-asm.h (DISCARD_BOUNDS): Rename from UNCHECK_BOUNDS.
* sysdeps/powerpc/bits/setjmp.h (JB_SIZE): New constant.
* sysdeps/powerpc/elf/libc-start.c (__libc_start_main):
Wrap bounds around argv & envp and each of their string members.
* sysdeps/powerpc/elf/start.S: Designate BP symbols.
* sysdeps/unix/sysv/linux/powerpc/brk.S: Wrap entry-point
symbol in BP_SYM ().  Discard bounds of address arg.
* sysdeps/unix/sysv/linux/powerpc/clone.S: Likewise.
* sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64):
Discard bounds on address arg, add bounds to return value.

24 years agoRewrite rules to generate filtmod1.so.
Ulrich Drepper [Fri, 21 Jul 2000 07:21:02 +0000 (07:21 +0000)]
Rewrite rules to generate filtmod1.so.

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

* elf/Makefile (tests): Add filter.  Add rules to generate filter.
* elf/filter.c: New file.
* elf/filtmod1.c: New file.
* elf/filtmod2.c: New file.

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

* elf/rtld.c: Define _dl_bind_not variable.
(process_envvars): Recognize LD_BIND_NOT and set _dl_bind_not.
* elf/dl-support.c: Likewise.
* sysdeps/generic/ldsodefs.h: Declare _dl_bind_not.
* elf/dl-runtime.c (fixup): Don't remember looked up value if
_dl_bind_not.
(profile_fixup): Likewise.

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

* libio/Makefile (routines): Add fwide.
* libio/iofwide.c (_IO_fwide): Remove locking.  This is done in
fwide now.  Internal calls to _IO_fwide must do locking themselves
or don't need locking.
* libio/fwide.c: New file.

* elf/dl-load.c (_dl_map_object): Implement handling of DF_1_NODEFLIB.

24 years agoUpdate.
Ulrich Drepper [Fri, 21 Jul 2000 05:07:54 +0000 (05:07 +0000)]
Update.

* elf/dl-load.c (_dl_map_object): Implement handling of
DF_1_NODEFLIB.

24 years agoUpdate.
Ulrich Drepper [Fri, 21 Jul 2000 04:42:21 +0000 (04:42 +0000)]
Update.

* elf/Makefile: Add no modules for nodelete test.
* elf/nodelmod3.c: New file.
* elf/nodelmod4.c: New file.
* elf/nodelete.c: Also test case where dependency of dlopen() object
is marked nodelete.

* elf/nodlopen.c: New file.
* elf/nodlopenmod.c: New file.

24 years agoUpdate.
Ulrich Drepper [Fri, 21 Jul 2000 04:12:25 +0000 (04:12 +0000)]
Update.

* elf/Makefile (tests): Add nodlopen.  Add rules to generate nodlopen.
* include/dlfcn.h: Define __RTLD_DLOPEN.
* elf/dl-load.c (_dl_map_object_from_fd): If DF_1_NOOPEN is set
and this is a dlopen() call, do not load the binary.
* dlfcn/dlopen.c: Add __RTLD_DLOPEN to mode passed down to _dl_open.
* dlfcn/dlopenold.c: Likewise.
* configure.in: Add test for -z nodelete option.
* config.make.in: Define have-z-nodelete with libc_cv_z_nodelete.

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

Make Hesiod NSS module thread-safe.

* hesiod/README.hesiod: Update.

* hesiod/Versions [GLIBC_2.2]: Add _nss_hesiod_getservbyport_r,
_nss_hesiod_setprotoent, _nss_hesiod_endprotoent,
_nss_hesiod_getprotobyname_r, and _nss_hesiod_getprotobynumber_r.
* hesiod/Makefile (libnss_hesiod-routines): Add hesiod-init and
hesiod-proto.
* hesiod/nss_hesiod/hesiod-init.c: New file.
* hesiod/nss_hesiod/hesiod-pwd.c: Rewritten for thread-safeness.
* hesiod/nss_hesiod/hesiod-grp.c: Likewise.
* hesiod/nss_hesiod/nss_hesiod.h: New file.
* hesiod/nss_hesiod/hesiod-service.c
(_nss_hesiod_getservbyport_r): New function.  Provide support for
looking up services by port number.
* hesiod/nss_hesiod/hesiod-proto.c: New file.

* hesiod/hesiod.c: Update from BIND 8.2.3-T5B.
* hesiod/hesiod.h: Likewise.
* hesiod/hesiod_p.h: Likewise.

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

Fix problems with `struct __res_state' getting too big.
* resolv/resolv.h (struct __sockaddr_in): New definition.
(struct __res_state): Use __sockaddr_in instead of sockaddr_in in
the private parts of the structure to save some space.
* resolv/res_send.c (res_nsend): Cast &EXT(statp).nsaddrs[ns] to
(struct sockaddr_in *) in call to sock_eq.
Use memcpy to copy statp->nsaddr_list[ns] to &EXT(statp).nsaddrs[ns].

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

* sysdeps/mach/hurd/dl-sysdep.c: Likewise.

24 years agoFix typos.
Ulrich Drepper [Fri, 21 Jul 2000 01:30:20 +0000 (01:30 +0000)]
Fix typos.

* pthread.c (pthread_initialize): Don't use sysconf to determine
2000-07-18  Kaz Kylheku  <kaz@ashi.footprints.net>

24 years agoUpdate.
Ulrich Drepper [Fri, 21 Jul 2000 00:15:14 +0000 (00:15 +0000)]
Update.

* elf/Makefile (tests): Add $(tests-nodelete-$(have-z-nodelete)).
(tests-nodelete-yes): Define.
(modules-names): Add $(modules-nodelete-$(have-z-nodelete)).
Add rules to build nodelete and modules.
* elf/nodelete.c: New file.
* elf/nodelmod1.c: New file.
* elf/nodelmod2.c: New file.
* configure.in: Add test for -z nodelete option.
* config.make.in: Define have-z-nodelete with libc_cv_z_nodelete.

24 years agoUpdate.
Ulrich Drepper [Thu, 20 Jul 2000 22:53:54 +0000 (22:53 +0000)]
Update.

* elf/elf.h: Add various DF_1_*, DTF_1_*, and DF_P1_* entries.
* elf/dl-close.c (_dl_close): Don't close an object if it is marked
with nodelete.
* elf/dl-open.c (dl_open_worker): Pass RTLD_NOLOAD as new parameter
to _dl_map_object.  Return immediately if no object loaded.
Set DF_1_NODELETE bit in l_flags_1 if RTLD_NODELETE was passed.
* elf/dynamic-link.h (elf_get_dynamic_info): Copy DT_FLAGS_1 entry
if it exists into l_flags_1 word.
* elf/dl-load.c (_dl_map_object_from_fd): Take no parameter and use
it to determine whether loading is wanted or not.
(_dl_map_object): Likewise.
Call _dl_map_object_from_fd with new parameter.
* sysdeps/generic/ldsodefs.h: Update prototype.
* elf/dl-deps.c: Add new parameter to _dl_map_object calls.
* elf/rtld.c: Likewise.
* elf/Makefile (tests): Add noload.  Add rules to generate noload.
* elf/noload.c: New file.
* include/link.h (struct link_map): Add l_feature_1 and l_flags_1.
* sysdeps/generic/bits/dlfcn.h: Define RTLD_NOLOAD and RTLD_NODELETE.
* sysdeps/mips/bits/dlfcn.h: Likewise.

24 years ago(tests): Add noload. Add rules to generate noload.
Ulrich Drepper [Thu, 20 Jul 2000 22:21:58 +0000 (22:21 +0000)]
(tests): Add noload.  Add rules to generate noload.

24 years agolocaledata is no add-on anymore, change docu.
Andreas Jaeger [Thu, 20 Jul 2000 11:10:29 +0000 (11:10 +0000)]
localedata is no add-on anymore, change docu.

24 years agoUpdate.
Ulrich Drepper [Thu, 20 Jul 2000 08:56:12 +0000 (08:56 +0000)]
Update.

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

* libio/Makefile (tests): Add tst_wprintf2.
(tst_wprintf2-ARGS): Define.
* libio/tst_wprintf2.c: New file.
Based on a test case by Yoshito Kawada <KAWADA@jp.ibm.com>.

* libio/wfiledoalloc.c: Only allocate external buffer if this
hasn't happened yet.

* libio/wfileops.c (_IO_wdo_write): Overflow only if there is really
something in the buffer.  gconv call can write up to end of the
buffer, not only _IO_write_end.
(_IO_wfile_overflow): Allocate also external buffer.

* stdio-common/vfprintf.c (process_string_arg): Handle multibyte
strings with precision in vfwprintf correctly.
* stdio-common/vfprintf.c: Fix completely broken handling of
unbuffered wide character streams.
Reported by Yoshito Kawada <KAWADA@jp.ibm.com>.

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

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

* resolv/Makefile (distribute): Add README.

* resolv/README: New file.  By Mark Kettenis <kettenis@gnu.org>.

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

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

Update resolver code to BIND 8.2.3-T5B.

* resolv/Versions [GLIBC_2.2] (libc): Add __res_init and
__res_nclose.
[GLIBC_2.2] (libresolv): Add __dn_expand, __ns_samename,
__res_mkquery, __res_nsend, __res_query, __res_querydomain and
__res_search.
* resolv/Banner: BIND-8.2.3-T5B.

* resolv/base64.c: Update from BIND 8.2.3-T5B.
* resolv/herror.c: Likewise.
* resolv/inet_addr.c: Likewise.
* resolv/inet_net_ntop.c: Likewise.
* resolv/inet_net_pton.c: Likewise.
* resolv/inet_neta.c: Likewise.
* resolv/inet_ntop.c: Likewise.
* resolv/nsap_addr.c: Likewise.
* resolv/inet_pton.c: Likewise.  Reject a few more more invalid
IPv6 addresses (ISC bug #520).

* resolv/ns_name.c: Avoid emitting RCS ID in object file.
* resolv/ns_parse.c: Likewise.
* resolv/ns_netint.c: Likewise.
* resolv/ns_samedomain.c: Likewise.
* resolv/ns_ttl.c: Likewise.
* resolv/ns_print.c: Update from BIND 8.2.3-T5B.  Avoid emitting
RCS ID in object file.

* resolv/res_debug.c: Update from BIND 8.2.3-T5B.
* resolv/res_mkquery.c: Likewise.
* resolv/res_query.c: Likewise.
* resolv/res_init.c: Likewise.
(res_setoptions): Mark internal.
* resolv/res_send.c: Likewise.
[_LIBC]: Fully reinstate the code that avoids the FD_SETSIZE limit
by using poll instead.
* resolv/res_comp.c: Likewise.
[SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_2)]: Make dn_expand a
weak alias for __dn_expand.
* resolv/res_data.c: Likewise.
(res_close) [_LIBC]: Don't call res_nclose if RES_INIT isn't set
in _res.options.  Avoids a potential security risk by avoiding a
close (0).
[SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_2)]: Make
res_mkquery, res_query, res_querydomain adn res_search weak
aliases for __res_mkquery, __res_query, __res_querydomain and
__res_search.
* resolv/res_libc.c: (_res): Don't initialize.  Fix res_close
instead to avoid close(0).
(res_init): Always use the static resolver context.
[SHLIB_COMPAT (libc, GLIBC_2.0, GLIBC_2_2)]: Make res_init a weak
alias for __res_init.

* resolv/resolv.h: Update from BIND 8.2.3-T5B.  Move definition of
RES_SET_H_ERRNO and accompanying comment to...
* include/resolv.h: ... here.

* resolv/arpa/namser.h: Update from BIND 8.2.3-T5B.
* resolv/arpa/nameser_compat.h: Likewise.

24 years agoUpdate.
Ulrich Drepper [Wed, 19 Jul 2000 18:58:05 +0000 (18:58 +0000)]
Update.

2000-07-19  Kaz Kylheku  <kaz@ashi.footprints.net>

Bugfixes to the variant of the code for machines with no compare
and swap.

* spinlock.c (__pthread_alt_lock, __pthread_alt_timedlock): Wait
node was not being properly enqueued, due to failing to update
the lock->__status field.

* spinlock.c (__pthread_alt_timedlock): The oldstatus variable was
being set inappropriately, causing the suspend function to be called
with a null self pointer and crash.

24 years agoUpdate.
Ulrich Drepper [Wed, 19 Jul 2000 07:47:34 +0000 (07:47 +0000)]
Update.

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

* locales/i18n: Fix typos.

* locales/iso14651_t1: Correct syntax for HAN script.

24 years agoUpdate.
Ulrich Drepper [Wed, 19 Jul 2000 06:24:30 +0000 (06:24 +0000)]
Update.

* spinlock.h (__pthread_alt_trylock): Fix code used if no
compare&swap is available.

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

* spinlock.h (__pthread_trylock): Use __compare_and_swap, not
compare_and_swap.

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

* nss/makedb.c (main): Compare result of load_db with
NSS_STATUS_SUCCESS and not 0.
Patch by Jan Rekorajski <baggins@sith.mimuw.edu.pl>.

24 years agoUpdate.
Ulrich Drepper [Tue, 18 Jul 2000 21:33:02 +0000 (21:33 +0000)]
Update.

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

* sysdeps/unix/sysv/linux/Versions: Export __sysctl for GLIBC_2.2.

24 years agoUpdate.
Ulrich Drepper [Tue, 18 Jul 2000 20:32:49 +0000 (20:32 +0000)]
Update.

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

* tst-ctype-de_DE.ISO-8859-1.in: Mark U0000 as cntrl and U00A0 not as
space.
* tst-ctype.c: Likewise.
* tst-ctype.sh: Likewise.
* locales/i18n: Likewise.
* locales/ja_JP: Likewise.
* tests-mbwc/dat_iswcntrl.c: Likewise.
* tests-mbwc/dat_iswctype.c: Likewise.
* tests-mbwc/dat_iswspace.c: Likewise.

* tst-ctype.sh: Also test C locale.

24 years agoMark U0000 as cntrl and U00A0 not as space.
Ulrich Drepper [Tue, 18 Jul 2000 20:32:25 +0000 (20:32 +0000)]
Mark U0000 as cntrl and U00A0 not as space.

24 years ago* posix/regex.c (EXTEND_BUFFER_HIGH_BOUND): New macro.
Greg McGary [Tue, 18 Jul 2000 19:18:09 +0000 (19:18 +0000)]
* posix/regex.c (EXTEND_BUFFER_HIGH_BOUND): New macro.

(EXTEND_BUFFER): Use it.
2000-07-18  Greg McGary  <greg@mcgary.org>

* posix/regex.c (EXTEND_BUFFER_HIGH_BOUND): New macro.
(EXTEND_BUFFER): Use it.

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

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

* spinlock.c (__pthread_alt_timedlock): Add back one of the
removed thread_self calls.

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

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

* include/libc-symbols.h: Define RETURN_ADDRESS macro.
* dlfcn/dlopen.c: Use RETURN_ADDRESS instead of
__builtin_return_address.
* dlfcn/dlopenold.c: Likewise.
* dlfcn/dlsym.c: Likewise.
* dlfcn/dlvsym.c: Likewise.
* elf/dl-profstub.c: Likewise.
* malloc/malloc.c: Likewise.
* sysdeps/generic/machine-gmon.h: Likewise.
Based on a patch by schwidefsky@de.ibm.com.

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

2000-07-18 Kaz Kylheku <kaz@ashi.footprints.net>

* spinlock.c (__pthread_alt_lock, __pthread_alt_timedlock): Fixed
bug whereby thr field of waitnode structure would not be correctly
set unless a null self pointer is passed to the functions.
Eliminated redundant calls to thread_self().

24 years agoDefine RETURN_ADDRESS macro.
Ulrich Drepper [Tue, 18 Jul 2000 17:12:50 +0000 (17:12 +0000)]
Define RETURN_ADDRESS macro.

24 years agoUpdate.
Andreas Jaeger [Tue, 18 Jul 2000 14:55:31 +0000 (14:55 +0000)]
Update.

* sysdeps/alpha/dl-machine.h (elf_machine_rela): Pass 0 instead of
NULL to elf_machine_fixup_plt t argument to silence GCC.

24 years agoUpdate.
Andreas Jaeger [Tue, 18 Jul 2000 14:00:31 +0000 (14:00 +0000)]
Update.

* include/string.h: Add prototype for __memchr.

24 years agoUpate.
Andreas Jaeger [Tue, 18 Jul 2000 08:42:07 +0000 (08:42 +0000)]
Upate.

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

* sysdeps/alpha/memchr.S: Fix copy & error in weak_alias.

* sysdeps/generic/memchr.c: Fix copy & paste error: Use memchr
instead of memrchr.

24 years agoFix copy & paste error: Use memchr instead of memrchr.
Andreas Jaeger [Tue, 18 Jul 2000 08:36:16 +0000 (08:36 +0000)]
Fix copy & paste error: Use memchr instead of memrchr.

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

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

* intl/Makefile: Make sure tst-translit is run after tst-gettext.

* locale/C-ctype.c: Add initializers for gap elements.
* locale/programs/ld-ctype.c (ctype_output): Write out index entries
for gap elements.

24 years agoUpdate.
Ulrich Drepper [Tue, 18 Jul 2000 01:58:56 +0000 (01:58 +0000)]
Update.

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

* nscd/nscd.c (print_version): Update copyright year.

24 years ago* elf/dl-runtime.c (fixup): Trampoline passes unbounded pointer.
Greg McGary [Tue, 18 Jul 2000 00:13:34 +0000 (00:13 +0000)]
* elf/dl-runtime.c (fixup): Trampoline passes unbounded pointer.

(profile_fixup): Don't define for __BOUNDED_POINTERS__.
* sysdeps/i386/dl-machine.h: Don't use regparm attribute for
__BOUNDED_POINTERS__.
(ELF_MACHINE_RUNTIME_TRAMPOLINE): Use non-regparm version
for __BOUNDED_POINTERS__.
* iconv/gconv_trans.c: Add #include <stdlib.h> to get malloc decl.

* elf/dl-runtime.c (fixup): Trampoline passes unbounded pointer.
(profile_fixup): Don't define for __BOUNDED_POINTERS__.
* sysdeps/i386/dl-machine.h: Don't use regparm attribute for
__BOUNDED_POINTERS__.
(ELF_MACHINE_RUNTIME_TRAMPOLINE): Use non-regparm version
for __BOUNDED_POINTERS__.

24 years ago* sysdeps/generic/bp-checks.h: Use unbounded __memchr
Greg McGary [Mon, 17 Jul 2000 22:36:16 +0000 (22:36 +0000)]
* sysdeps/generic/bp-checks.h: Use unbounded __memchr

rather than non-existent __ubp_memchr.
(CHECK_STRINGopt, CHECK_FCNTL, BOUNDED_N, BOUNDED_1): New macros.
(_CHECK_STRING, _CHECK_N): New macros.
(CHECK_STRING, CHECK_N, CHECK_Nopt): Rewrite in terms of _CHECK_*.
(CHECK_IOCTL): Move inside `#if !__ASSEMBLER__'.
* sysdeps/alpha/memchr.S: Change strong name to "__memchr".
Add weak alias "memchr".
* sysdeps/generic/memchr.c: Likewise.
* sysdeps/i386/memchr.S: Likewise.
* sysdeps/ia64/memchr.S: Likewise.
* sysdeps/m68k/memchr.S: Likewise.
* sysdeps/sparc/sparc32/memchr.S: Likewise.
* sysdeps/sparc/sparc64/memchr.S: Likewise.
* sysdeps/vax/memchr.s: Likewise.
* sysdeps/generic/bp-checks.h: Use unbounded __memchr
rather than non-existent __ubp_memchr.
(CHECK_STRINGopt, CHECK_FCNTL, BOUNDED_N, BOUNDED_1): New macros.
(_CHECK_STRING, _CHECK_N): New macros.
(CHECK_STRING, CHECK_N, CHECK_Nopt): Rewrite in terms of _CHECK_*.
(CHECK_IOCTL): Move inside `#if !__ASSEMBLER__'.
* sysdeps/alpha/memchr.S: Change strong name to "__memchr".
Add weak alias "memchr".
* sysdeps/generic/memchr.c: Likewise.
* sysdeps/i386/memchr.S: Likewise.
* sysdeps/ia64/memchr.S: Likewise.
* sysdeps/m68k/memchr.S: Likewise.
* sysdeps/sparc/sparc32/memchr.S: Likewise.
* sysdeps/sparc/sparc64/memchr.S: Likewise.
* sysdeps/vax/memchr.s: Likewise.

24 years ago* Makerules (o-objects): Supplement with $(o-objects$o).
Greg McGary [Mon, 17 Jul 2000 22:34:11 +0000 (22:34 +0000)]
* Makerules (o-objects): Supplement with $(o-objects$o).

* string/Makefile (o-objects.ob): Add variable to pull
unbounded versions of memcpy, memset and memchr into libc_b.
* Makerules (o-objects): Supplement with $(o-objects$o).
* string/Makefile (o-objects.ob): Add variable to pull
unbounded versions of memcpy, memset and memchr into libc_b.

24 years ago* include/libc-symbols.h (symbol_set_declare): Revert 2000-06-26 mods.
Greg McGary [Mon, 17 Jul 2000 22:33:06 +0000 (22:33 +0000)]
* include/libc-symbols.h (symbol_set_declare): Revert 2000-06-26 mods.

* include/set-hooks.h (RUN_HOOK): Revert 2000-06-26 mods.  Qualify
ptr as __unbouned.
* include/libc-symbols.h (symbol_set_declare): Revert 2000-06-26 mods.
* include/set-hooks.h (RUN_HOOK): Revert 2000-06-26 mods.  Qualify
ptr as __unbouned.

24 years ago* libio/iofdopen.c (_IO_new_fdopen): Pass _IO_FILE_plus pointer to
Greg McGary [Mon, 17 Jul 2000 22:31:56 +0000 (22:31 +0000)]
* libio/iofdopen.c (_IO_new_fdopen): Pass _IO_FILE_plus pointer to

_IO_file_attach.
* libio/iovdprintf.c (_IO_vdprintf): Likewise.
* sysdeps/generic/strcpy.c (strcpy): Stifle unused-value warnings.
* sysdeps/unix/sysv/linux/execve.c (__execve): Add const
qualifiers.  Don't check NULL-terminator of argv & envp.
* sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Use
unbounded pointer type in word-size assertion.
* sysdeps/unix/sysv/linux/ptrace.c (ptrace): Add missing
cases to stifle warnings.

* libio/iofdopen.c (_IO_new_fdopen): Pass _IO_FILE_plus pointer to
_IO_file_attach.
* libio/iovdprintf.c (_IO_vdprintf): Likewise.

24 years ago* sysdeps/unix/make-syscalls.sh: Handle new arg signature
Greg McGary [Mon, 17 Jul 2000 22:28:59 +0000 (22:28 +0000)]
* sysdeps/unix/make-syscalls.sh: Handle new arg signature

keyletters F, I, S, W.  Remove unused keyletter V.  Surround
signature argnames with angle-brackets for use as word delimiters,
and to induce syntax errors for any args not handled.  Split
multi-echo echoes and comment each stage.
* sysdeps/unix/common/syscalls.list: Refine & correct signatures.
* sysdeps/unix/inet/syscalls.list: Likewise.
* sysdeps/unix/mman/syscalls.list: Likewise.
* sysdeps/unix/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/syscalls.list: Likewise.
* sysdeps/unix/sysv/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/powerpc/syscalls.list
2000-07-17  Greg McGary  <greg@mcgary.org>

* sysdeps/unix/make-syscalls.sh: Handle new arg signature
keyletters F, I, S, W.  Remove unused keyletter V.  Surround
signature argnames with angle-brackets for use as word delimiters,
and to induce syntax errors for any args not handled.  Split
multi-echo echoes and comment each stage.
* sysdeps/unix/common/syscalls.list: Refine & correct signatures.
* sysdeps/unix/inet/syscalls.list: Likewise.
* sysdeps/unix/mman/syscalls.list: Likewise.
* sysdeps/unix/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/syscalls.list: Likewise.
* sysdeps/unix/sysv/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/powerpc/syscalls.list

24 years agoUpdate.
Ulrich Drepper [Mon, 17 Jul 2000 22:09:30 +0000 (22:09 +0000)]
Update.

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

* iconv/gconv_open.c (__gconv_open): Initialize the __data
field of struct __gconv_trans_data differently.  Don't pass NULL to
trans_init_fct.  Simplify list append operation.

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

* intl/dcigettext.c (dcigettext): Call plural_eval on all platforms,
not only those having tsearch.

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

* locale/langinfo.h: Add placeholder values in enum for removed
LC_CTYPE entries.

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

* elf/dl-addr.c (_dl_addr): Keep searching in the _dl_loaded
chain if the PHDR check fails.

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

* nss/getent.c (print_hosts): Make sure we always print a space
between numeric addresses and hostnames.

2000-07-17  Wolfram Gloger  <wg@malloc.de>

* malloc/malloc.c (chunk_alloc): Use mmap_chunk() only if allowed,
i.e. if n_mmaps_max>0.

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

* resolv/netdb.h (AI_V4MAPPED, AI_ALL, AI_ADDRCONFIG): Adjust
values to remove possible clash with other AI_* constants.
(AI_PASSIVE, AI_CANONNAME, AI_NUMERICHOST): Define as
hexadecimal constants to stress the fact they're in fact
bit flags.

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

* nss/getXXent_r.c [NEED__RES]: Include <resolv.h>.
(SETFUNC_NAME, ENDFUNC_NAME, REENTRANT_GETNAME): Use res_ninit
instead of res_init.

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).