Ulrich Drepper [Mon, 29 May 2000 17:17:31 +0000 (17:17 +0000)]
Update.
2000-05-29 Jakub Jelinek <jakub@redhat.com>
* inet/rcmd.c (rresvport_af): Use correct port number.
2000-05-26 Andreas Schwab <schwab@suse.de>
* Makeconfig ($(common-objpfx)soversions.mk): Prepend `$lib=' to
entries in all-sonames.
($(common-objpfx)gnu/lib-names.h): Use it for the CPP symbol,
preserving the old name if different for compatibility.
Ulrich Drepper [Mon, 29 May 2000 07:31:53 +0000 (07:31 +0000)]
Update.
2000-05-29 Ulrich Drepper <drepper@redhat.com>
* posix/Makefile (tests): Add tst-spawn.
(tst-spawn-ARGS): New variable.
* posix/tst-spawn.c: New file.
* posix/spawn_faction_addclose.c: Correctly account for new entry.
* posix/spawn_faction_adddup2.c: Likewise.
* posix/spawn_faction_addopen.c: Likewise.
* posix/spawni.c: Correctly test for success of dup2 calls.
* posix/tst-preadwrite.c: Check success of malloc call.
Ulrich Drepper [Mon, 29 May 2000 04:40:43 +0000 (04:40 +0000)]
Update.
* posix/Makefile (tests): Add tst-exec.
(tst-exec-ARGS): New variable.
* posix/tst-exec.c: New file.
* posix/tst-fork.c: New file.
Ulrich Drepper [Mon, 29 May 2000 01:00:03 +0000 (01:00 +0000)]
Update.
2000-05-28 Ulrich Drepper <drepper@redhat.com>
* sysdeps/arm/atomicity.h (compare_and_swap): Return result.
Ulrich Drepper [Sun, 28 May 2000 22:53:25 +0000 (22:53 +0000)]
Update.
2000-05-04 Andreas Jaeger <aj@suse.de>
* string/string.h: Remove __strdup prototype, it's not needed in
this file anymore.
Ulrich Drepper [Sun, 28 May 2000 22:14:55 +0000 (22:14 +0000)]
Update.
* posix/Makefile (tests): Add tst-fork.
Ulrich Drepper [Sun, 28 May 2000 19:32:08 +0000 (19:32 +0000)]
Update.
2000-05-28 Ulrich Drepper <drepper@redhat.com>
* resolv/inet_pton.c: Loose __P.
Ulrich Drepper [Sun, 28 May 2000 18:36:00 +0000 (18:36 +0000)]
Update.
Ulrich Drepper [Sun, 28 May 2000 18:32:20 +0000 (18:32 +0000)]
Update.
2000-05-21 Jakub Jelinek <jakub@redhat.com>
* libio/libioP.h (_IO_CHECK_WIDE): Define.
* libio/iosetbuffer.c (_IO_setbuffer): Use it.
Call _IO_WSETBUF even for _mode 1.
* libio/iosetvbuf.c (_IO_setvbuf): Likewise.
* libio/fileops.c (_IO_new_file_fopen): Return NULL if
_IO_CHECK_WIDE fails.
Ulrich Drepper [Sun, 28 May 2000 16:44:57 +0000 (16:44 +0000)]
Update.
* po/da.po: New file.
Ulrich Drepper [Sun, 28 May 2000 16:42:45 +0000 (16:42 +0000)]
Update.
* manual/charset.texi (Extended Char Intro): Fix typo (and -> as).
(Other iconv Implementations): Fix typo.
Patch by Martin Pool <mbp@wistful.humbug.org.au>.
Ulrich Drepper [Sun, 28 May 2000 16:31:09 +0000 (16:31 +0000)]
Update.
2000-05-28 Ulrich Drepper <drepper@redhat.com>
* manual/arith.texi (Rounding Functions): Fix documentation of trunc.
Patch by Steven G. Johnson <stevenj@gil-galad.mit.edu>.
Ulrich Drepper [Sun, 28 May 2000 07:07:05 +0000 (07:07 +0000)]
Update.
2000-05-28 Ulrich Drepper <drepper@redhat.com>
* locales/be_BY: New file.
Contributed by Aleksey Novodvorsky <aen@logic.ru>.
Ulrich Drepper [Sun, 28 May 2000 07:06:29 +0000 (07:06 +0000)]
Belarusian Language Locale for Belarus.
Andreas Jaeger [Sat, 27 May 2000 16:51:52 +0000 (16:51 +0000)]
Update.
2000-05-27 Andreas Jaeger <aj@suse.de>
* sysdeps/unix/sysv/linux/i386/pread.c: Removed, we can use the
normal version now.
* sysdeps/unix/sysv/linux/i386/pwrite.c: Likewise.
* sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
* sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
* sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
* sysdeps/unix/sysv/linux/arm/pread.c: Likewise.
* sysdeps/unix/sysv/linux/arm/pwrite.c: Likewise.
* sysdeps/unix/sysv/linux/pread.c (__libc_pread): Check
endianness to decide how to pass arguments.
* sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
* elf/vismain.c: Use test-skeleton interface.
(TEST_FUNCTION): New macro.
(do_test): Renamed from main.
Andreas Jaeger [Sat, 27 May 2000 16:48:06 +0000 (16:48 +0000)]
* sysdeps/unix/sysv/linux/i386/pread.c: Removed, we can use the normal version now. * sysdeps/unix/sysv/linux/i386/pwrite.c: Likewise. * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
Ulrich Drepper [Sat, 27 May 2000 08:17:05 +0000 (08:17 +0000)]
Update.
2000-05-27 Ulrich Drepper <drepper@redhat.com>
* sysdeps/posix/getaddrinfo.c (gaih_inet): If req->ai_family ==
AF_UNSPEC don't allow the IPv6 lookup to return mapped IPv4 addresses.
* nss/nss_files/files-hosts.c (LINE_PARSER): Simplify. Correct
handling of AI_V4MAPPED flag.
* resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): If lookup
of IPv6 address failed and RES_USE_INET6 bit in _res.options is set,
perform lookup for T_A type and tell getanswer_r to convert the
result with new argument.
(_nss_dns_gethostbyaddr_r): Pass zero as new argument to getanswer_r.
Don't convert addresses from IPv4 to IPv6 here.
(getanswer_r): Take new parameter indicating if mapping from IPv4 to
IPv6 is wanted. Allow qtype and type from reply to disagree if
IPv4 mapping has to be done. Perform mappings if required by the
caller and not if RES_USE_INET6 bit in _res.options is set.
Add several __builtin_expect.
Ulrich Drepper [Sat, 27 May 2000 08:09:40 +0000 (08:09 +0000)]
(gaih_inet): If req->ai_family == AF_UNSPEC don't allow the IPv6 lookup to return mapped IPv4 addresses.
Andreas Jaeger [Sat, 27 May 2000 06:56:36 +0000 (06:56 +0000)]
Update.
* sysdeps/unix/sysv/linux/ftruncate64.c (ftruncate64): Make order
of arguments dependend on endianness.
* sysdeps/unix/sysv/linux/truncate64.c: Likewise.
Ulrich Drepper [Sat, 27 May 2000 06:18:49 +0000 (06:18 +0000)]
Update.
* catgets/open_catalog.c (__open_catalog): Add a few __builtin_expect.
* elf/dl-load.c (_dl_map_object): Don't ignore RPATHs if loader ==
Ulrich Drepper [Sat, 27 May 2000 05:32:14 +0000 (05:32 +0000)]
Update.
* elf/dl-load.c (_dl_map_object): Don't ignore RPATHs of loader ==
NULL.
Ulrich Drepper [Fri, 26 May 2000 20:49:00 +0000 (20:49 +0000)]
Update.
* posix/tst-preadwrite.c: Allow parallel execution of
tst-preadwrite and tst-preadwrite64.
Ulrich Drepper [Fri, 26 May 2000 20:31:12 +0000 (20:31 +0000)]
Update.
* posix/Makefile (tests): Add tst-truncate and tst-truncate64.
* posix/tst-truncate.c: New file.
* posix/tst-truncate64.c: New file.
Ulrich Drepper [Fri, 26 May 2000 20:30:20 +0000 (20:30 +0000)]
Test for truncate and ftruncate.
Andreas Jaeger [Fri, 26 May 2000 20:11:43 +0000 (20:11 +0000)]
* sysdeps/unix/sysv/linux/ftruncate64.c (ftruncate64): Make order
of arguments dependend on endianness.
* sysdeps/unix/sysv/linux/truncate64.c: Likewise.
Ulrich Drepper [Fri, 26 May 2000 19:55:51 +0000 (19:55 +0000)]
Update.
* sysdeps/unix/sysv/linux/pread64.c: The little/big endian code
was switched.
Ulrich Drepper [Fri, 26 May 2000 19:51:15 +0000 (19:51 +0000)]
Update.
* posix/Makefile (tests): Add tst-preadwrite64.
Ulrich Drepper [Fri, 26 May 2000 19:49:46 +0000 (19:49 +0000)]
Update.
2000-05-26 Ulrich Drepper <drepper@redhat.com>
* posix/tst-preadwrite.c: Alloc file being used also for testing
pread64 and pwrite64.
* posix/tst-preadwrite64.c: New file.
Ulrich Drepper [Fri, 26 May 2000 19:48:39 +0000 (19:48 +0000)]
Test for pread64 and pwrite64.
Andreas Jaeger [Fri, 26 May 2000 15:46:14 +0000 (15:46 +0000)]
Update.
* sysdeps/unix/sysv/linux/i386/pread64.c: Removed, we can use the
normal version now.
* sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
* sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
* sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
* sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
* sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Check
endianness to check how to pass argument.
* sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
Andreas Jaeger [Fri, 26 May 2000 10:23:45 +0000 (10:23 +0000)]
Update.
2000-05-26 Andreas Jaeger <aj@suse.de>
* elf/ldconfig.h: Update parameter list for process_elf_file.
* sysdeps/unix/sysv/linux/sparc/readelflib.c (process_elf_file):
Add parameter file_length and pass it ot process_elf*file.
* sysdeps/generic/readelflib.c (check_ptr): New.
(process_elf_file): Use check_ptr to check all accesses to the
mmapped file. Add parameter file_length.
* elf/readlib.c (known_libs): Use <gnu/lib-names.h> to specify
library names.
* sunrpc/xdr_intXX_t.c (xdr_uint8_t): Fix conversion.
Closes PR libc/1573, reported by Bradley White
<bww@laurelnetworks.com>.
Andreas Jaeger [Fri, 26 May 2000 09:16:40 +0000 (09:16 +0000)]
Update.
Ulrich Drepper [Thu, 25 May 2000 19:10:22 +0000 (19:10 +0000)]
Update.
2000-05-25 Ulrich Drepper <drepper@redhat.com>
* sysdeps/i386/fpu/bits/mathinline.h: Define expm1 inline only if
__FAST_MATH__ is defined.
Ulrich Drepper [Thu, 25 May 2000 06:27:20 +0000 (06:27 +0000)]
Update.
2000-05-22 Andreas Jaeger <aj@suse.de>
* math/Makefile: Add -D__FAST_MATH__ to CFLAGS-test-ifloat.c,
CFLAGS-test-idouble.c, CFLAGS-test-ildoubl.c.
* manual/math.texi (FP Function Optimizations): Document gcc
-ffast-math behaviour with mathinlines.
* sysdeps/i386/fpu/bits/mathinline.h: Only use save inline
functions unless -ffast-math is given to gcc.
Ulrich Drepper [Thu, 25 May 2000 06:15:25 +0000 (06:15 +0000)]
Update.
2000-05-23 Jakub Jelinek <jakub@redhat.com>
* sysdeps/i386/fpu/bits/mathinline.h (__sincos, __sincosf,
__sincosl): Guard with __USE_GNU.
Ulrich Drepper [Thu, 25 May 2000 05:02:35 +0000 (05:02 +0000)]
Update.
* csu/Makefile (routines): Add check_fds.
* elf/rtld.c (dl_main): Call __libc_check_standard_fds for SUID
binaries. Add various __builtin_expect.
* sysdeps/generic/libc-start.c: Move check_fds and helper functions...
* sysdeps/generic/check_fds.c: ...here. New file.
* malloc/malloc.c (ptmalloc_init): Only enable debugging for SUID
binaries if file /etc/suid-debug is available.
Ulrich Drepper [Wed, 24 May 2000 20:22:51 +0000 (20:22 +0000)]
Update.
2000-05-24 Ulrich Drepper <drepper@redhat.com>
* locale/programs/ld-collate.c (struct element_t): Add mbseqorder
and wcseqorder members.
(struct locale_collate_t): Likewise.
(collate_finish): Assign collation sequence value to each character.
Create tables for output.
(collate_output): Write out tables with collation sequence information.
* locale/C-collate.c: Provide C locale data for collation sequence
table.
* locale/langinfo.h: Add _NL_COLLATE_COLLSEQMB and
_NL_COLLATE_COLLSEQWC.
* locale/categories.def: Add entries for _NL_COLLATE_COLLSEQMB and
_NL_COLLATE_COLLSEQWC.
* posix/fnmatch.c: Define SUFFIX and WIDE_CHAR_VERSION before
include fnmatch_loop.c.
* posix/fnmatch_loop.c: Don't use strcoll while determining whether
character is matched by range expression. Use collation sequence
table. Outside glibc fall back on simple character value comparison.
Ulrich Drepper [Wed, 24 May 2000 20:04:34 +0000 (20:04 +0000)]
(struct element_t): Add mbseqorder and wcseqorder members. (struct locale_collate_t): Likewise. (collate_finish): Assign collation sequence value to each character. Create tables for output. (collate_output): Write out tables with collation sequence information
Andreas Jaeger [Wed, 24 May 2000 16:16:53 +0000 (16:16 +0000)]
Update.
* sysdeps/mips/elf/start.S (ENTRY_POINT): Align stack for double
words.
Andreas Jaeger [Wed, 24 May 2000 15:33:21 +0000 (15:33 +0000)]
Update.
* sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_LDT_WORKS):
Define it for newer kernels.
Andreas Jaeger [Wed, 24 May 2000 09:31:51 +0000 (09:31 +0000)]
Update.
2000-05-24 Andreas Jaeger <aj@suse.de>
* intl/Makefile: Run gettext-test only if msgfmt is available.
Andreas Jaeger [Wed, 24 May 2000 09:31:17 +0000 (09:31 +0000)]
* intl/Makefile: Run gettext-test only if msgfmt is available.
Ulrich Drepper [Wed, 24 May 2000 01:06:00 +0000 (01:06 +0000)]
Update.
* elf/dl-sym.c: Minor cleanups.
Ulrich Drepper [Tue, 23 May 2000 19:23:25 +0000 (19:23 +0000)]
Update.
* configure.in: Add test for .protected.
* config.make.in: Add have-protected variable.
Ulrich Drepper [Tue, 23 May 2000 18:12:52 +0000 (18:12 +0000)]
Update.
2000-05-23 Ulrich Drepper <drepper@redhat.com>
* elf/Makefile (tests): Add $(tests-vis-$(have-protected)).
(tests-vis-yes): Add vismain.
(modules-names): Add $(modules-vis-$(have-protected)).
(modules-vis-yes): Add vismod1, vismod2, and vismod3.
Add rules to generate and run vismain.
* elf/vismain.c: New file.
* elf/vismod1.c: New file.
* elf/vismod2.c: New file.
* elf/vismod3.c: New file.
Ulrich Drepper [Tue, 23 May 2000 18:10:54 +0000 (18:10 +0000)]
(tests): Add $(tests-vis-$(have-protected)). (tests-vis-yes): Add vismain. (modules-names): Add $(modules-vis-$(have-protected)). (modules-vis-yes): Add vismod1, vismod2, and vismod3. Add rules to generate and run vismain.
Andreas Jaeger [Tue, 23 May 2000 09:07:17 +0000 (09:07 +0000)]
Remove K&R support.
Andreas Jaeger [Tue, 23 May 2000 08:43:26 +0000 (08:43 +0000)]
Update.
* csu/munch-tmpl.c (__libc_init): Remove K&R support.
* dirent/scandir64.c: Likewise.
* pwd/getpw.c: Likewise.
* stdlib/bsearch.c (bsearch): Likewise.
* stdlib/tst-strtoll.c: Likewise.
* localedata/collate-test.c: Likewise.
* localedata/xfrm-test.c: Likewise.
* posix/bsd-getpgrp.c: Likewise.
* sysdeps/alpha/fpu/bits/fenv.h: Likewise.
* sysdeps/generic/bits/siginfo.h: Likewise.
* sysdeps/generic/bits/sockaddr.h: Likewise.
* sysdeps/generic/sys/swap.h: Likewise.
* sysdeps/generic/sys/sysinfo.h: Likewise.
* sysdeps/generic/vfork.c: Likewise.
* sysdeps/m68k/fpu/switch/68881-sw.h: Likewise.
* sysdeps/mach/hurd/fdopen.c: Likewise.
* sysdeps/unix/sysv/linux/alpha/sys/acct.h: Likewise.
* sysdeps/unix/sysv/linux/poll.c: Likewise.
* sysdeps/unix/sysv/linux/readv.c: Likewise.
* sysdeps/unix/sysv/linux/writev.c: Likewise.
* sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
* sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
* misc/tst-dirname.c: Remove K&R support, use ANSI C prototypes.
* shadow/lckpwdf.c: Likewise.
* stdlib/tst-strtol.c: Likewise.
* sysdeps/generic/tcsetattr.c: Likewise.
* sysdeps/unix/sysv/linux/ttyname.c: Likewise.
* sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
Andreas Jaeger [Tue, 23 May 2000 06:56:29 +0000 (06:56 +0000)]
Remove duplicate.
Andreas Jaeger [Tue, 23 May 2000 06:37:29 +0000 (06:37 +0000)]
Update.
2000-05-23 Andreas Jaeger <aj@suse.de>
* stdio-common/tfformat.c (sprint_doubles): Add testcase for %a.
* manual/search.texi (Array Sort Function): Document that qsort is
not necessarily in-place.
* sunrpc/rpc_main.c (parseargs): Don't accept -M and -N.
Closes PR libc/1731.
* stdio-common/tfformat.c (sprint_doubles): Add testcase for %a.
Andreas Jaeger [Tue, 23 May 2000 06:31:35 +0000 (06:31 +0000)]
2000-05-18 Andreas Jaeger <aj@suse.de>
* sunrpc/rpc_main.c (parseargs): Don't accept -M and -N.
Closes PR libc/1731.
Ulrich Drepper [Mon, 22 May 2000 16:45:42 +0000 (16:45 +0000)]
Update.
2000-05-22 Jakub Jelinek <jakub@redhat.com>
* elf/dl-load.c (_dl_init_paths): If env_path_list has 0 elements,
free it and set to (void *) -1.
Ulrich Drepper [Mon, 22 May 2000 16:41:59 +0000 (16:41 +0000)]
Update.
2000-05-22 Jakub Jelinek <jakub@redhat.com>
* stdio-common/vfscanf.c (__vfscanf): Remove bogus check if '-' is
not the second character in the range.
* stdio-common/tstscanf.c (main): Add testcase for the above.
Reported by jik@kamens.brookline.ma.us.
Ulrich Drepper [Mon, 22 May 2000 16:33:19 +0000 (16:33 +0000)]
Update.
2000-05-21 H.J. Lu <hjl@gnu.org>
* elf/do-lookup.h (do_lookup_versioned): Replace reloc_type parameter
with noexec and noplt parameter.
(do_lookup): Likewise.
* elf/dl-lookup.c (_dl_lookup_symbol): Change for new parameters of
do_lookup. Support STV_PROTECTED.
(_dl_lookup_symbol_skip): Likewise.
(_dl_lookup_versioned_symbol): Likewise.
(_dl_lookup_versioned_symbol_skip): Likewise.
* elf/dl-reloc.c (RESOLVE): Check STB_LOCAL instead of ST_VISIBILITY.
* elf/dl-runtime.c (profile_fixup): Fix a typo in comment.
Ulrich Drepper [Mon, 22 May 2000 16:31:58 +0000 (16:31 +0000)]
(do_lookup_versioned): Replace reloc_type parameter with noexec and noplt parameter. (do_lookup): Likewise.
Andreas Jaeger [Mon, 22 May 2000 09:25:32 +0000 (09:25 +0000)]
Update.
2000-05-21 Jakub Jelinek <jakub@redhat.com>
* sysdeps/arm/bits/huge_val.h: Prereq gcc 2.96+, not 2.95.
* sysdeps/i386/bits/huge_val.h: Likewise.
* sysdeps/ieee754/bits/huge_val.h: Likewise.
* sysdeps/m68k/bits/huge_val.h: Likewise.
* sysdeps/sparc/sparc32/bits/huge_val.h: Likewise.
* sysdeps/sparc/sparc64/bits/huge_val.h: Likewise.
Andreas Jaeger [Mon, 22 May 2000 09:01:33 +0000 (09:01 +0000)]
2000-05-22 Andreas Jaeger <aj@suse.de>
* iconv/tst-iconv1.c (main): Remove const from inbuf to follow
change in iconv.h.
2000-05-22 Andreas Jaeger <aj@suse.de>
* iconv/tst-iconv1.c (main): Remove const from inbuf to follow
change in iconv.h.
Ulrich Drepper [Mon, 22 May 2000 01:03:59 +0000 (01:03 +0000)]
Update.
2000-05-19 Andreas Jaeger <aj@suse.de>
* sysdeps/unix/sysv/linux/i386/i686/sysdep.h
(SYSCALL_ERROR_HANDLER): Remove unneeded syscall_error which
breaks compilation without linuxthreads.
Ulrich Drepper [Sun, 21 May 2000 22:04:15 +0000 (22:04 +0000)]
Update.
* sysdeps/ia64/memccpy.S: New file.
* sysdeps/ia64/memchr.S: New file.
* sysdeps/ia64/memcmp.S: New file.
* sysdeps/ia64/memcpy.S: New file.
* sysdeps/ia64/memmove.S: New file.
* sysdeps/ia64/memset.S: New file.
* sysdeps/ia64/strcat.S: New file.
* sysdeps/ia64/strchr.S: New file.
* sysdeps/ia64/strcmp.S: New file.
* sysdeps/ia64/strcpy.S: New file.
* sysdeps/ia64/strlen.S: New file.
* sysdeps/ia64/strncmp.S: New file.
* sysdeps/ia64/strncpy.S: New file.
* sysdeps/ia64/softpipe.h: New file.
Patches by Dan Pop <Dan.Pop@cern.ch>.
* manual/memory.texi: Document memory handling functions (mlock,
munlock, mlockall, munlockall, brk, and sbrk)
Ulrich Drepper [Sun, 21 May 2000 21:22:28 +0000 (21:22 +0000)]
Update.
2000-05-21 Ulrich Drepper <drepper@redhat.com>
* manual/memory.texi: Document memory handling functions.
* manual/time.texi: Document timespec and friends.
* manual/conf.texi: Fix references.
* manual/ctype.texi: Likewise.
* manual/errno.texi: Likewise.
* manual/intro.texi: Likewise.
* manual/locale.texi: Likewise.
* manual/sysinfo.texi: Likewise.
Patches by Bryan Henderson <bryanh@giraffe-data.com>.
Ulrich Drepper [Sun, 21 May 2000 21:15:00 +0000 (21:15 +0000)]
Update.
2000-05-09 Jes Sorensen <jes@linuxcare.com>
* sysdeps/ia64/dl-machine.h: Move DL_SYMBOL_ADDRESS definition to...
* sysdeps/ia64/dl-lookupcfg.h: ...here.
Ulrich Drepper [Sun, 21 May 2000 21:01:01 +0000 (21:01 +0000)]
Update.
2000-05-21 Jakub Jelinek <jakub@redhat.com>
* sysdeps/unix/sysv/linux/scsi/sg.h (sg_io_hdr_t): Remove duplicate
dxfer_direction.
Ulrich Drepper [Sun, 21 May 2000 20:32:42 +0000 (20:32 +0000)]
Update.
* locale/langinfo.h: Remove _NL_MONETARY prefix from descriptors for
new standard elements.
* locale/categories.def: Adjust accordingly.
Ulrich Drepper [Sun, 21 May 2000 20:22:59 +0000 (20:22 +0000)]
Update.
* manual/charset.texi (Generic Conversion Interface): Remove from
inbuf parameter of iconv.
Ulrich Drepper [Sun, 21 May 2000 20:19:54 +0000 (20:19 +0000)]
Update.
* locale/locale.h (struct lconv): Add new elements from ISO C99.
* locale/localeconv.c: Initialize new elements from ISO C99.
* iconv/iconv_prog.c (process_block): Remove const from second
parameter.
(main): Remove const from addr definition.
Ulrich Drepper [Sun, 21 May 2000 20:13:15 +0000 (20:13 +0000)]
Update.
2000-05-21 Ulrich Drepper <drepper@redhat.com>
* iconv/iconv.h (iconv): Remove const from inbuf parameter.
* iconv/iconv.c: Likewise.
* conform/data/iconv.h-data: Likewise.
* intl/dcigettext.c: Fix typo in comment.
David Huggins-Daines <dhd@linuxcare.com>
Ulrich Drepper [Sun, 21 May 2000 20:05:08 +0000 (20:05 +0000)]
Fix typo in comment.
Andreas Jaeger [Sun, 21 May 2000 15:40:55 +0000 (15:40 +0000)]
Update.
2000-05-20 2000 H.J. Lu <hjl@gnu.org>
* resolv/res_libc.c (_res): Initialize _sock to -1.
2000-05-18 Jakub Jelinek <jakub@redhat.com>
* libio/iofopncook.c (_IO_fopencookie): Renamed from fopencookie.
(fopencookie@@GLIBC_2.2): New.
(_IO_old_cookie_seek, _IO_old_fopencookie, _IO_old_cookie_jumps): New.
(fopencookie@GLIBC_2.0): New.
* libio/Versions: Add fopencookie to GLIBC_2.2.
* sunrpc/rpc_main.c (parseargs): Don't accept -M and -N.
Closes PR libc/1731.
Andreas Jaeger [Thu, 18 May 2000 17:09:13 +0000 (17:09 +0000)]
Update.
2000-05-18 Andreas Jaeger <aj@suse.de>
* manual/arith.texi (Parsing of Integers): Fix typo.
Closes PR libc/1744, reported by blp@gnu.org.
Andreas Jaeger [Thu, 18 May 2000 05:35:38 +0000 (05:35 +0000)]
Update.
* sysdeps/generic/memmem.c (memmem): Check arguments to avoid
possibly searching through the whole memory.
Closes PR libc/1730, reported by Greg Hudson <ghudson@mit.edu>.
Andreas Jaeger [Wed, 17 May 2000 17:19:18 +0000 (17:19 +0000)]
Update.
2000-05-17 Jakub Jelinek <jakub@redhat.com>
* sysdeps/arm/bits/huge_val.h (HUGE_VAL, HUGE_VALF): Add
__extension__ to hexadecimal floating constant notation.
* sysdeps/i386/bits/huge_val.h (HUGE_VAL, HUGE_VALF, HUGE_VALL):
Likewise.
* sysdeps/ieee754/bits/huge_val.h (HUGE_VAL, HUGE_VALF): Likewise.
* sysdeps/m68k/bits/huge_val.h (HUGE_VAL, HUGE_VALF, HUGE_VALL):
Likewise.
* sysdeps/sparc/sparc64/bits/huge_val.h (HUGE_VAL, HUGE_VALF,
HUGE_VALL): Likewise.
* sysdeps/sparc/sparc32/bits/huge_val.h (HUGE_VAL, HUGE_VALF,
HUGE_VALL): Likewise.
(HUGE_VALL): Set to HUGE_VAL on sparc32.
Andreas Jaeger [Wed, 17 May 2000 12:19:16 +0000 (12:19 +0000)]
Update.
2000-05-17 Andreas Jaeger <aj@suse.de>
* string/envz.h: Add pure attributes if possible.
* string/argz.h: argz_count is a pure function.
* string/strings.h: Add pure and const attributes if possible.
Andreas Jaeger [Wed, 17 May 2000 11:04:21 +0000 (11:04 +0000)]
Update.
2000-05-17 Jakub Jelinek <jakub@redhat.com>
* sysdeps/generic/dl-cache.h (_DL_CACHE_DEFAULT_ID): Only define if
not yet defined.
(_dl_cache_check_flags): Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/dl-cache.h: include_next
dl-cache.h.
2000-05-17 Andreas Jaeger <aj@suse.de>
* manual/creature.texi (Feature Test Macros): Remove paragraph
since the description is wrong.
Closes PR libc/1691, reported by Geoff Clare <gwc@unisoft.com>.
2000-05-17 Andreas Jaeger <aj@suse.de>
* time/test_time.args: Removed.
* time/Makefile (test_time-ARGS): Added contents here instead.
* posix/tstgetopt.args: Removed.
* posix/Makefile (tstgetopt-ARGS): Added contents here instead.
* Rules: Allow arguments for test files to be specified in
Makefile with testname-ARGS; remove rules with .args in it.
* dirent/Makefile (opendir-tst1-ARGS): Use this for opendir-tst1,
remove old bogus rule for opendir-tst1.args.
* stdlib/test-canon.c: Rewrite to use test-skeleton.c.
* stdlib/Makefile (test-canon-ARGS): New, supply argument to chdir
into objdir. This allows a readonly sourcetree.
Reported by lrgallardo@yahoo.com, closes PR libc/1421.
2000-05-16 Andreas Jaeger <aj@suse.de>,
David Huggins-Daines <dhd@linuxcare.com>
* sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Set
cache_data in case of only new cache format correctly.
* sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Align struct
cache_file_new.
* sysdeps/generic/dl-cache.h (ALIGN_CACHE): New macro to align
struct cache_file_new.
* elf/cache.c (save_cache): Fix str_offset if only new cache is
present.
* elf/cache.c (save_cache): Align struct new_file_cache.
(print_cache): Likewise.
Andreas Jaeger [Wed, 17 May 2000 06:48:50 +0000 (06:48 +0000)]
Update.
2000-05-17 Andreas Jaeger <aj@suse.de>
* scripts/config.sub: New version.
* scripts/config.guess: Likewise.
* manual/texinfo.tex: Likewise.
Andreas Jaeger [Mon, 15 May 2000 11:49:07 +0000 (11:49 +0000)]
2000-05-15 Andreas Jaeger <aj@suse.de>
* tst-fmon.data: Change testcase following fixes for
de_DE.
* locales/de_DE: Remove space after DEM since DEM is
now placed after the value.
* tst-fmon.data: Change testcase following fixes for
de_DE.
* locales/de_DE: Remove space after DEM since DEM is
now placed after the value.
Andreas Jaeger [Mon, 15 May 2000 11:30:54 +0000 (11:30 +0000)]
2000-05-15 Andreas Jaeger <aj@suse.de>
* locales/de_DE: Fix currency placement to use "12.345,68 DM".
Reported by Christopher Creutzig <ccr@nescio.foebud.org>, closes
PR libc/1713.
2000-05-15 Andreas Jaeger <aj@suse.de>
* locales/de_DE: Fix currency placement to use "12.345,68 DM".
Reported by Christopher Creutzig <ccr@nescio.foebud.org>, closes
PR libc/1713.
Andreas Jaeger [Mon, 15 May 2000 07:15:24 +0000 (07:15 +0000)]
Update.
2000-05-13 Jakub Jelinek <jakub@redhat.com>
* elf/soinit.c (__libc_global_ctors): Move
__pthread_initialize_minimal call out of HAVE_DWARF2_* defines.
* resolv/resolv.h (__res_state): Added __attribute__((const)).
(_res): If __RES_PTHREAD_INTERNAL is defined, declare it as
variable, don't define it to __res_state call.
Andreas Jaeger [Mon, 15 May 2000 07:15:04 +0000 (07:15 +0000)]
2000-05-13 Jakub Jelinek <jakub@redhat.com>
* elf/soinit.c (__libc_global_ctors): Move
__pthread_initialize_minimal call out of HAVE_DWARF2_* defines.
* resolv/resolv.h (__res_state): Added __attribute__((const)).
(_res): If __RES_PTHREAD_INTERNAL is defined, declare it as
variable, don't define it to __res_state call.
2000-05-13 Jakub Jelinek <jakub@redhat.com>
* internals.h (__RES_PTHREAD_INTERNAL): Define.
2000-05-13 Jakub Jelinek <jakub@redhat.com>
* internals.h (__RES_PTHREAD_INTERNAL): Define.
Andreas Jaeger [Sat, 13 May 2000 18:18:33 +0000 (18:18 +0000)]
Update.
2000-05-13 Andreas Jaeger <aj@suse.de>
* sysdeps/unix/sysv/linux/bits/socket.h (PF_PPPOX): New, from
Linux 2.3.99pre7.
(AF_PPPOX): Likewise.
* sysdeps/unix/sysv/linux/mips/bits/socket.h (PF_PPPOX): Likewise.
(AF_PPPOX): Likewise.
* elf/dl-reloc.c (_dl_reloc_bad_type): Sync messages with plt
argument.
* sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
R_SPARC_UA64.
* sysdeps/unix/sysv/linux/sparc/sparc64/time.c: New file.
Andreas Jaeger [Fri, 12 May 2000 13:41:15 +0000 (13:41 +0000)]
Update.
2000-05-12 Andreas Jaeger <aj@suse.de>
* inet/netinet/in.h (IN6_ARE_ADDR_EQUAL): Correct indices.
Reported by tmoestl@gmx.net, closes PR libc/1732.
Andreas Jaeger [Fri, 12 May 2000 07:01:25 +0000 (07:01 +0000)]
Update.
2000-05-11 Jan Hubicka <jh@suse.cz>
* misc/sys/cdefs.h: Add support for pure attribute.
* include/string.h: Add __attribute_pure__ to various functions.
* string/string.h: Likewise.
Andreas Jaeger [Wed, 10 May 2000 15:58:36 +0000 (15:58 +0000)]
Update.
* elf/dl-reloc.c (_dl_reloc_bad_type): Sync messages with plt
argument.
* sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
R_SPARC_UA64.
* sysdeps/unix/sysv/linux/sparc/sparc64/time.c: New file.
2000-05-10 Jakub Jelinek <jakub@redhat.com>
Andreas Jaeger [Wed, 10 May 2000 10:20:09 +0000 (10:20 +0000)]
Update.
at proper place. Compute the high nibble correctly.
Andreas Jaeger [Wed, 10 May 2000 10:16:57 +0000 (10:16 +0000)]
Update.
2000-05-10 Jakub Jelinek <jakub@redhat.com>
* elf/dl-reloc.c (_dl_reloc_bad_type): Write type into the message
at proper place.
Andreas Jaeger [Wed, 10 May 2000 09:32:42 +0000 (09:32 +0000)]
Update.
* elf/ldconfig.c: Include elf.h.
Andreas Jaeger [Wed, 10 May 2000 09:06:56 +0000 (09:06 +0000)]
Update.
2000-05-09 Jakub Jelinek <jakub@redhat.com>
* elf/dl-sym.c (_dl_sym): Test ref not result for non-zero.
(_dl_vsym): Likewise.
Reported by Owen Taylor <otaylor@redhat.com>.
* elf/dl-deps.c (_dl_map_object_deps): Zero terminate L->l_initfini
always.
Andreas Jaeger [Mon, 8 May 2000 15:57:36 +0000 (15:57 +0000)]
Update.
2000-05-08 Andreas Jaeger <aj@suse.de>
* include/libintl.h: Add prototype for __bind_textdomain_codeset.
* intl/bindtextdom.c (set_binding_values): Add prototype.
Andreas Jaeger [Mon, 8 May 2000 15:42:53 +0000 (15:42 +0000)]
Update.
* sysdeps/alpha/dl-machine.h (elf_machine_rela): Fix arguments in
call to elf_machine_fixup_plt.
* sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
* sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
2000-05-08 Jakub Jelinek <jakub@redhat.com>
Andreas Jaeger [Mon, 8 May 2000 15:40:26 +0000 (15:40 +0000)]
2000-05-08 Jakub Jelinek <jakub@redhat.com>
* sysdeps/alpha/dl-machine.h (elf_machine_rela): Fix arguments in
call to elf_machine_fixup_plt.
* sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
* sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
Ulrich Drepper [Mon, 8 May 2000 15:29:32 +0000 (15:29 +0000)]
Update.
2000-05-08 Jakub Jelinek <jakub@redhat.com>
* elf/dl-fini.c (_dl_fini): Bump l_opencount of all objects so that
they are not dlclose'd from underneath us.
Ulrich Drepper [Mon, 8 May 2000 15:22:18 +0000 (15:22 +0000)]
Update.
* posix/execle.c: Fix size parameter of memcpy.
2000-05-08 Andreas Schwab <schwab@suse.de>
Ulrich Drepper [Mon, 8 May 2000 15:21:25 +0000 (15:21 +0000)]
Fix size parameter of memcpy.
Andreas Schwab [Mon, 8 May 2000 15:03:08 +0000 (15:03 +0000)]
* sysdeps/unix/sysv/linux/m68k/getpagesize.c: New file. Use
getpagesize syscall if available.
Andreas Schwab [Mon, 8 May 2000 15:01:07 +0000 (15:01 +0000)]
New file. Use getpagesize syscall if available.
Andreas Jaeger [Mon, 8 May 2000 14:04:59 +0000 (14:04 +0000)]
Update.
2000-05-08 Andreas Jaeger <aj@suse.de>
* sysdeps/generic/lockf64.c (lockf64): Return -1 for overflow and
set errno.
Andreas Jaeger [Mon, 8 May 2000 13:04:31 +0000 (13:04 +0000)]
Update.
2000-05-08 Jakub Jelinek <jakub@redhat.com>
* elf/dl-lookup.c (add_dependency): Reallocate l_reldeps in
sizeof(struct link_map *) chunks, not in bytes.
Andreas Jaeger [Mon, 8 May 2000 12:59:12 +0000 (12:59 +0000)]
2000-05-08 Jakub Jelinek <jakub@redhat.com>
* elf/dl-lookup.c (add_dependency): Reallocate l_reldeps in
sizeof(struct link_map *) chunks, not in bytes.
Ulrich Drepper [Mon, 8 May 2000 05:02:46 +0000 (05:02 +0000)]
Update.
2000-05-07 Ulrich Drepper <drepper@redhat.com>
* locale/Makefile (locale-CPPFLAGS): Renamed from CPPFLAGS. It's
only needed for locale.
* catgets/Makefile (catgets-CPPFLAGS): Renamed from CPPFLAGS.
It's only needed for catgets.
Patches by Greg McGary <gkm@eng.ascend.com>.
Ulrich Drepper [Mon, 8 May 2000 04:50:45 +0000 (04:50 +0000)]
Update.
2000-05-07 Mark Kettenis <kettenis@gnu.org>
* nss/nss_db/db-open.c: Cleanup and add comments. Pretty print.
Remove duplicate <errno.h> include. Remove inclusion of
<libintl.h> and "nsswitch.h".
(set_cloexec_flag): New function, broken out of dbopen.
(dbopen): Changed return type to `enum
nss_status'. Mostly rewritten to make sure that we do not report
NSS_STATUS_SUCCESS if something went wrong. Remove unnecessary casts.
(internal_setent): Change return type to nss_status.
Document, and make sure that the function
behaves accordingly. Make dynamically loading the database
library really thread-safe and return NSS_STATUS_UNAVAIL if it
failed.
(db_cursor): Return ENOMEM is memory allocation failed. Remove
unecessary casts.
* nss/nss_db/dummy-db.h: Add copyright notice. Improve
documentation.
(struct dbc24, struct dbc27): Use DBT type in parameter lists for
c_get function member.
* nss/nss_db/nss_db.h: Add and tweak some comments.
(DBT): Move typedef before NSS_DBC typedef.
(NSS_DBC, NSS_DB): Use DBT in function member parameter lists.
Ulrich Drepper [Mon, 8 May 2000 00:03:03 +0000 (00:03 +0000)]
Update.
2000-05-07 H.J. Lu <hjl@gnu.org>
* csu/initfini.c: Moved to ....
* sysdeps/generic/initfini.c: ...here.
* csu/Makefile (initfini.c): Set vpath to $(full_config_sysdirs).