Commit graph

3657 commits

Author SHA1 Message Date
Andreas Jaeger 741845cb9c 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.
2000-05-27 16:51:52 +00:00
Ulrich Drepper b455972fda 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.
2000-05-27 08:17:05 +00:00
Andreas Jaeger aac468aee2 Update.
* sysdeps/unix/sysv/linux/ftruncate64.c (ftruncate64): Make order
	of arguments dependend on endianness.
	* sysdeps/unix/sysv/linux/truncate64.c: Likewise.
2000-05-27 06:56:36 +00:00
Ulrich Drepper e84e339f5f 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 ==
2000-05-27 06:18:49 +00:00
Ulrich Drepper 4c540916ea Update.
* elf/dl-load.c (_dl_map_object): Don't ignore RPATHs of loader ==
	NULL.
2000-05-27 05:32:14 +00:00
Ulrich Drepper 0a5503211c Update.
* posix/tst-preadwrite.c: Allow parallel execution of
	tst-preadwrite and tst-preadwrite64.
2000-05-26 20:49:00 +00:00
Ulrich Drepper ad92208d51 Update.
* posix/Makefile (tests): Add tst-truncate and tst-truncate64.
	* posix/tst-truncate.c: New file.
	* posix/tst-truncate64.c: New file.
2000-05-26 20:31:12 +00:00
Ulrich Drepper f0b2767b75 Update.
* sysdeps/unix/sysv/linux/pread64.c: The little/big endian code
	was switched.
2000-05-26 19:55:51 +00:00
Ulrich Drepper bd9df4cdad Update.
* posix/Makefile (tests): Add tst-preadwrite64.
2000-05-26 19:51:15 +00:00
Ulrich Drepper 09bbe3bf4e 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.
2000-05-26 19:49:46 +00:00
Andreas Jaeger 088b991767 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.
2000-05-26 15:46:14 +00:00
Andreas Jaeger dc95d15887 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>.
2000-05-26 10:23:45 +00:00
Ulrich Drepper 81e43fc19b Update.
2000-05-25  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/i386/fpu/bits/mathinline.h: Define expm1 inline only if
	__FAST_MATH__ is defined.
2000-05-25 19:10:22 +00:00
Ulrich Drepper 378fbeb49a 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.
2000-05-25 06:27:20 +00:00
Ulrich Drepper 0f5504179a Update.
2000-05-23  Jakub Jelinek  <jakub@redhat.com>

	* sysdeps/i386/fpu/bits/mathinline.h (__sincos, __sincosf,
	__sincosl): Guard with __USE_GNU.
2000-05-25 06:15:25 +00:00
Ulrich Drepper db33f7d4ae 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.
2000-05-25 05:02:35 +00:00
Ulrich Drepper acb5ee2e56 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.
2000-05-24 20:22:51 +00:00
Andreas Jaeger fff82885d2 Update.
* sysdeps/mips/elf/start.S (ENTRY_POINT): Align stack for double
	words.
2000-05-24 16:16:53 +00:00
Andreas Jaeger a074fa3c2b Update.
* sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_LDT_WORKS):
	Define it for newer kernels.
2000-05-24 15:33:21 +00:00
Andreas Jaeger ff31ba59a7 Update.
2000-05-24  Andreas Jaeger  <aj@suse.de>

	* intl/Makefile: Run gettext-test only if msgfmt is available.
2000-05-24 09:31:51 +00:00
Ulrich Drepper 5e76a3468a Update.
* elf/dl-sym.c: Minor cleanups.
2000-05-24 01:06:00 +00:00
Ulrich Drepper 2d499f55d7 Update.
* configure.in: Add test for .protected.
	* config.make.in: Add have-protected variable.
2000-05-23 19:23:25 +00:00
Ulrich Drepper eec8ef5a73 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.
2000-05-23 18:12:52 +00:00
Andreas Jaeger bcaad6ee58 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.
2000-05-23 08:43:26 +00:00
Andreas Jaeger a396d36622 Remove duplicate. 2000-05-23 06:56:29 +00:00
Andreas Jaeger 21ad6b26f4 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.
2000-05-23 06:37:29 +00:00
Ulrich Drepper 6a7c9bb49a 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.
2000-05-22 16:45:42 +00:00
Ulrich Drepper 3f651a4de3 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.
2000-05-22 16:41:59 +00:00
Ulrich Drepper 6aa29abe9f 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.
2000-05-22 16:33:19 +00:00
Andreas Jaeger 85153f6c4c 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.
2000-05-22 09:25:32 +00:00
Andreas Jaeger 5748f418f0 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.
2000-05-22 09:01:33 +00:00
Ulrich Drepper 4a624ae307 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.
2000-05-22 01:03:59 +00:00
Ulrich Drepper 5bfc425236 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)
2000-05-21 22:04:15 +00:00
Ulrich Drepper 99a206167b 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>.
2000-05-21 21:22:28 +00:00
Ulrich Drepper 371071d573 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.
2000-05-21 21:15:00 +00:00
Ulrich Drepper f87e0815f5 Update.
2000-05-21  Jakub Jelinek  <jakub@redhat.com>

	* sysdeps/unix/sysv/linux/scsi/sg.h (sg_io_hdr_t): Remove duplicate
	dxfer_direction.
2000-05-21 21:01:01 +00:00
Ulrich Drepper 3446e2c39b Update.
* locale/langinfo.h: Remove _NL_MONETARY prefix from descriptors for
	new standard elements.
	* locale/categories.def: Adjust accordingly.
2000-05-21 20:32:42 +00:00
Ulrich Drepper 70a1a46550 Update.
* manual/charset.texi (Generic Conversion Interface): Remove from
	inbuf parameter of iconv.
2000-05-21 20:22:59 +00:00
Ulrich Drepper 3b43494000 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.
2000-05-21 20:19:54 +00:00
Ulrich Drepper 0efb48a1df 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>
2000-05-21 20:13:15 +00:00
Andreas Jaeger 5d1fba6d95 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.
2000-05-21 15:40:55 +00:00
Andreas Jaeger 600a745790 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.
2000-05-18 17:09:13 +00:00
Andreas Jaeger 1261b97d10 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>.
2000-05-18 05:35:38 +00:00
Andreas Jaeger cc3f0ddb75 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.
2000-05-17 17:19:18 +00:00
Andreas Jaeger e656498ea9 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.
2000-05-17 12:19:16 +00:00
Andreas Jaeger e25054c49c 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.
2000-05-17 11:04:21 +00:00
Andreas Jaeger 7626e16ceb Update.
2000-05-17  Andreas Jaeger  <aj@suse.de>

	* scripts/config.sub: New version.
	* scripts/config.guess: Likewise.
	* manual/texinfo.tex: Likewise.
2000-05-17 06:48:50 +00:00
Andreas Jaeger d7dcf1267a 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.
2000-05-15 07:15:24 +00:00
Andreas Jaeger 99356b9b90 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.
2000-05-13 18:18:33 +00:00
Andreas Jaeger 88d9b1b24b 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.
2000-05-12 13:41:15 +00:00
Andreas Jaeger ca5a4c3c9f 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.
2000-05-12 07:01:25 +00:00
Andreas Jaeger b227a3a6ad 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>
2000-05-10 15:58:36 +00:00
Andreas Jaeger 5d693ae3e5 Update.
at proper place.  Compute the high nibble correctly.
2000-05-10 10:20:09 +00:00
Andreas Jaeger 676d12fd82 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.
2000-05-10 10:16:57 +00:00
Andreas Jaeger 9c95d361a2 Update.
* elf/ldconfig.c: Include elf.h.
2000-05-10 09:32:42 +00:00
Andreas Jaeger a8571d373c 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.
2000-05-10 09:06:56 +00:00
Andreas Jaeger fbd61fc16f 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.
2000-05-08 15:57:36 +00:00
Andreas Jaeger 470175f1b9 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>
2000-05-08 15:42:53 +00:00
Ulrich Drepper 3b3938c9f4 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.
2000-05-08 15:29:32 +00:00
Ulrich Drepper 0320a5aad4 Update.
* posix/execle.c: Fix size parameter of memcpy.

2000-05-08  Andreas Schwab  <schwab@suse.de>
2000-05-08 15:22:18 +00:00
Andreas Schwab 4159408a7f * sysdeps/unix/sysv/linux/m68k/getpagesize.c: New file. Use
getpagesize syscall if available.
2000-05-08 15:03:08 +00:00
Andreas Jaeger 97d9957b66 Update.
2000-05-08  Andreas Jaeger  <aj@suse.de>

	* sysdeps/generic/lockf64.c (lockf64): Return -1 for overflow and
	set errno.
2000-05-08 14:04:59 +00:00
Andreas Jaeger ded812f479 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.
2000-05-08 13:04:31 +00:00
Ulrich Drepper 33f5839ff3 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>.
2000-05-08 05:02:46 +00:00
Ulrich Drepper d1c2a14cdf 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.
2000-05-08 04:50:45 +00:00
Ulrich Drepper 93414bb97c 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).
2000-05-08 00:03:03 +00:00
Ulrich Drepper 639c6286de Update.
* manual/resource.texi: Document POSIX scheduling functions.
	Patch by Bryan Henderson <bryanh@giraffe-data.com>.
2000-05-07 23:11:01 +00:00
Ulrich Drepper 6ac52e83bd Update.
* inet/rcmd.c (rcmd_af): errno is not set if read returns without
	reading anything.  Reported by Andries.Brouwer@cwi.nl.
2000-05-07 22:40:26 +00:00
Ulrich Drepper 74a0513daf Update.
* sysdeps/generic/memccpy.c (__memccpy): Don't use reg_char type
	for x since promotion in comparison might leads to unexpected
	results.  Reported by Dan Pop <Dan.Pop@cern.ch>.
2000-05-07 22:33:59 +00:00
Ulrich Drepper fc08075dc6 Update.
(ucs4_internal_loop): Likewise.
	(ucs4_internal_loop_unaligned): Likewise.
	(internal_ucs4le_loop): Likewise.
	(internal_ucs4le_loop_unaligned): Likewise.
	(ucs4le_internal_loop): Likewise.
	(ucs4le_internal_loop_unaligned): Likewise.
2000-05-07 22:04:36 +00:00
Ulrich Drepper 1336419e46 Update.
* iconv/gconv_simple.c (internal_ucs4_loop): Prefer reporting
	empty input buffer over full output buffer.
2000-05-07 22:00:43 +00:00
Ulrich Drepper c63b67bd9b Update.
2000-05-07  Ulrich Drepper  <drepper@redhat.com>

	* iconv/Makefile (tests): Add tst-iconv1.
	* iconv/tst-iconv1.c: New file.
	Reported by yaoz@nih.gov.
2000-05-07 21:58:34 +00:00
Ulrich Drepper 45eca4d141 Update.
2000-05-06  Bruno Haible  <haible@clisp.cons.org>

	* iconv/gconv_open.c (__gconv_open): If __gconv_find_transform
	returned != __GCONV_OK, there is nothing to clean up.

2000-05-06  Bruno Haible  <haible@clisp.cons.org>

	* intl/tst-gettext.c (main): Disable possibly existing LC_CTYPE and
	OUTPUT_CHARSET environment variables.

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

	* sysdeps/generic/dl-cache.h (struct file_entry_new): New.
	(struct cache_file_new): New.
	(struct file_entry): New (moved from cache.c).
	(struct cache_file): New (moved from cache.c).

	* sysdeps/generic/dl-cache.c (SEARCH_CACHE): New macro, broken out
	from _dl_load_cache_lookup.
	(_dl_load_cache_lookup): Move search to SEARCH_CACHE macro, handle
	the different cache formats.
	New variable cache_new for new format.

	* elf/ldconfig.h: Change according to changes in cache.c and
	ldconfig.c; remove cache_libcmp; add opt_format.

	* elf/ldconfig.c: Include "dl-cache.h" and "dl-procinfo.h"; remove
	stuff that's defined in those headers.
	Add hwcap to struct lib_entry.
	(opt_format): New variable to select cache format.
	(options): Add format parameter.
	(is_hwcap): New function.
	(path_hwcap): New function.
	(parse_opt): Handle new format parameter.
	(search_dir): Handle hwcap, search also subdirectories with hwcap.

	* elf/cache.c (_GNU_SOURCE): Removed.  Not needed anymore since
	ldconfig is part of glibc.
	Include dl-cache.h and remove stuff that's defined there.
	(struct cache_entry): Add new member hwcap.
	(print_entry): Print hwcap, cleanup a bit.
	(print_cache): Print new and old formats.
	(compare): Use _dl_cache_libcmp from dl-cache.h; handle hwcap.
	(save_cache): Save new and old formats.
	(add_to_cache): Handle hwcap.

	* sysdeps/generic/dl-cache.c (_dl_cache_libcmp): Moved from here...
	* sysdeps/generic/dl-cache.h (_dl_cache_libcmp): ...to here.
	* sysdeps/generic/dl-cache.c (LD_SO_CACHE): Moved from here...
	* sysdeps/generic/dl-cache.h (LD_SO_CACHE): ...to here.
	* sysdeps/generic/dl-cache.c (CACHEMAGIC): Moved from here...
	* sysdeps/generic/dl-cache.h (CACHEMAGIC): ...to here.

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

	* intl/dcigettext.c (alignof): New macro.
	(_nl_find_msg): Use it instead of __alignof__. Pass correct output
	buffer length to __gconv/iconv. If malloc (freemem_size) fails, set
	freemem_size to 0.

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

	* intl/dcigettext.c (dcigettext): Fix interpretation of tsearch
	return value.
2000-05-07 21:23:56 +00:00
Andreas Jaeger aa5f4ad8ef Removed conflict marker. 2000-05-07 14:13:21 +00:00
Ulrich Drepper f0a7f7424f Update.
2000-05-06  Ulrich Drepper  <drepper@redhat.com>

	* intl/dcigettext.c (DCIGETTEXT): Always define local variable `index'.
	(mempcpy): Correct typo is parameter list.
2000-05-06 17:57:43 +00:00
Andreas Jaeger badd9b02da Update.
2000-05-06  Andreas Jaeger  <aj@suse.de>

	* sysdeps/i386/fpu/bits/mathinline.h: Disable some inline
	functions unless -ffast-math is given to gcc.
2000-05-06 07:46:31 +00:00
Ulrich Drepper d02b156906 Update.
2000-05-06  Ulrich Drepper  <drepper@redhat.com>

	* po/ko.po: Update from translation team.
2000-05-06 07:07:02 +00:00
Ulrich Drepper fda4deac43 Update.
* sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: New file.
2000-05-05 20:48:16 +00:00
Ulrich Drepper 3c38e028f3 Update.
2000-05-05  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/unix/sysv/aix/linux/errnoconv.c: Moved to...
	* sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: ...here.
	* sysdeps/unix/sysv/aix/linux/statconv.c: Moved to...
	* sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: ...here.
	* sysdeps/unix/sysv/aix/linux/direntconv.c: Moved to...
	* sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: ...here.

	* sysdeps/unix/sysv/aix/linux/linux-errno.h: Removed.
	* sysdeps/unix/sysv/aix/linux/linux-stat.h: Removed
	* sysdeps/unix/sysv/aix/linux/linux-dirent.h: Removed.

	* sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: New file.
	* sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: New file.
	* sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: New file.
	* sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: New file.

	* sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: New file.
2000-05-05 20:03:03 +00:00
Ulrich Drepper f1d86a931b Update.
2000-05-05  Jes Sorensen  <jes@linuxcare.com>

	* sysdeps/unix/sysv/linux/ia64/sysdep.h: New file.
	* sysdeps/unix/sysv/linux/ia64/syscall.S: New file.

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

	* sysdeps/ia64/Implies: New file.
	* sysdeps/ia64/Versions: New file.  Declare _dl_symbol_address.
	* sysdeps/ia64/Makefile: New file.
	* sysdeps/ia64/gmp-mparam.h: New file,

	* sysdeps/ia64/elf/start.S: New file.

	* sysdeps/ia64/bits/fenv.h: New file.

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

	* sysdeps/unix/sysv/linux/ia64/sysdep.S: New file.

2000-04-26  Jes Sorensen  <Jes.Sorensen@cern.ch>

	* sysdeps/unix/sysv/linux/ia64/bits/elfclass.h: New file.  The
	ia64 has 64 bit .hash entries just as the Alpha.

2000-04-25  Jes Sorensen  <Jes.Sorensen@cern.ch>

	* sysdeps/ia64/memprof.h: New file.  Provide GETSP() macro.

2000-04-17  Jes Sorensen  <Jes.Sorensen@cern.ch>

	* sysdeps/ia64/fpu/fclrexcpt.c: New file.
	* sysdeps/ia64/fpu/fedisblxcpt.c: New file.
	* sysdeps/ia64/fpu/feenablxcpt.c: New file.
	* sysdeps/ia64/fpu/fegetenv.c: New file.
	* sysdeps/ia64/fpu/fegetexcept.c: New file.
	* sysdeps/ia64/fpu/fegetround.c: New file.
	* sysdeps/ia64/fpu/feholdexcpt.c: New file.
	* sysdeps/ia64/fpu/fesetenv.c: New file.
	* sysdeps/ia64/fpu/fesetround.c: New file.
	* sysdeps/ia64/fpu/feupdateenv.c: New file.
	* sysdeps/ia64/fpu/fgetexcptflg.c: New file.
	* sysdeps/ia64/fpu/fraiseexcpt.c: New file.
	* sysdeps/ia64/fpu/fsetexcptflg.c: New file.
	* sysdeps/ia64/fpu/ftestexcept.c: New file.

	* sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_DL_HWCAP_COUNT): New.
	* sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
	(_DL_HWCAP_COUNT): New.
	* sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h
	(_DL_HWCAP_COUNT): New.
2000-05-05 16:49:44 +00:00
Andreas Jaeger 0b6301682b Update.
* sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New.
	(_dl_string_hwcap): New, does nothing.

	* sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_DL_HWCAP_COUNT):
	New.
	(_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
	(_dl_string_hwcap): New function, converts from string to hwcap
	encoding.
	* sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h (_DL_HWCAP_COUNT):
	New.
	(_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
	(_dl_string_hwcap): New function, converts from string to hwcap
	encoding.
	* sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h (_DL_HWCAP_COUNT):
	New.
	(_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
	(_dl_string_hwcap): New function, converts from string to hwcap
	encoding.
2000-05-05 15:33:39 +00:00
Andreas Jaeger 621d9092d7 2000-05-05 Andreas Jaeger <aj@suse.de>
* misc/tst-tsearch.c (main): Correct type for initstate argument.
2000-05-05  Andreas Jaeger  <aj@suse.de>

	* misc/tst-tsearch.c (main): Correct type for initstate argument.
2000-05-05 15:29:58 +00:00
Ulrich Drepper c77ec56d0c Update.
* elf/Makefile (distribute): Add dl-lookupcfg.h.
	* sysdeps/ia64/Dist: New file.
2000-05-05 08:07:07 +00:00
Ulrich Drepper c0282c0642 Update.
2000-05-05  Ulrich Drepper  <drepper@redhat.com>

	* elf/dl-load.c (_dl_map_object_from_fd): Little of computation of
	parameter to mprotect and for variable assignments.

2000-05-03  Jes Sorensen  <jes@linuxcare.com>

	* sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Check the
	validity of map before dereferencing it.

	* elf/dl-reloc.c (RESOLVE_MAP): Define.

2000-05-02  Jes Sorensen  <jes@linuxcare.com>

	* elf/dl-runtime.c (fixup): Add the value returned in the symbol
	lookup to the arguments to elf_machine_fixup_plt().

	* sysdeps/ia64/dl-machine.h (elf_machine_fixup_plt): Add Link_map
	of the symbol being resolved to input argument list and make the
	function return the pointer to the reloc.

	* sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): Change
	return valuie to lookup_t and return the value.
	* sysdeps/arm/dl-machine.h (elf_machine_fixup_plt): Likewise.
	* sysdeps/generic/dl-machine.h (elf_machine_fixup_plt): Likewise.
	* sysdeps/i386/dl-machine.h (elf_machine_fixup_plt): Likewise.
	* sysdeps/m68k/dl-machine.h (elf_machine_fixup_plt): Likewise.
	* sysdeps/sparc/sparc32/dl-machine.h (elf_machine_fixup_plt): Likewise.
	* sysdeps/sparc/sparc64/dl-machine.h (elf_machine_fixup_plt): Likewise.

	* sysdeps/powerpc/dl-machine.h (elf_machine_fixup_plt): Likewise.
	Make it an inline function returning value after calling
	__elf_machine_fixup_plt().

	* elf/dl-sym.c (_dl_vsym): Use DL_SYMBOL_ADDRESS() to obtain the
	symbol address.

	* elf/dl-symbol.c (_dl_symbol_value): Use LOOKUP_VALUE_ADDRESS to
	obtain the symbol address.

	* sysdeps/generic/ldsodefs.h: Add generic DL_SYMBOL_ADDRESS() macro
	depending on the definition of ELF_FUNCTION_PTR_IS_SPECIAL.

	* sysdeps/ia64/dl-machine.h: Add DL_SYMBOL_ADDRESS() macro calling
	_dl_symbol_address() - this way DL_SYMBOL_ADDRESS() turns into an
	inline on non ia64.

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

	* elf/dl-runtime.c (fixup): Use the portable macros to get the
	symbol address of an object.

	* elf/dl-runtime.c (fixup-profile): Use the portable macros to get
	the symbol address of an object.

	* elf/dl-libc.c (struct do_dlsym_args): Change loadbase to a lookup_t.
	* elf/dl-lookup.c (_dl_lookup_symbol): Likewise.
	(_dl_lookup_symbol_skip): Likewise.
	(_dl_lookup_versioned_symbol): Likewise.
	(_dl_lookup_versioned_symbol_skip): Likewise.

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

	* elf/rtld.c (_dl_start): Get the function pointer return address
	via _dl_start_address for architectures that need a function
	pointer descriptor rather than just a pointer (ia64).

	* sysdeps/generic/dl-lookupcfg.h: New file.
	* sysdeps/ia64/dl-lookupcfg.h: New file.
	* sysdeps/ia64/dl-machine.h: New file.
	* sysdeps/ia64/dl-symaddr.c: New file.
	* sysdeps/ia64/dl-fptr.c: New file.

	* elf/elf.h: Add IA-64 specific definitions.
2000-05-05 07:15:29 +00:00
Ulrich Drepper 61d357cae3 Update.
2000-05-04  Jakub Jelinek  <jakub@redhat.com>

	* sysdeps/generic/bits/confname.h (_SC* enum): Avoid comma at the
	end of enum.

2000-05-04  Jakub Jelinek  <jakub@redhat.com>

	* iconv/gconv.h (__gconv_t): Add __extension__ to make gcc -pedantic
	happy.
2000-05-05 05:47:53 +00:00
Geoff Keating 5a59a3a514 Update sysdeps/powerpc/dl-start.S.
2000-04-11  Geoff Keating  <geoffk@cygnus.com>

	* sysdeps/powerpc/dl-start.S (_dl_start): Add _dl_start_user
	symbol.  Call _dl_init rather than the old way.

>>>>>>> 1.3514
2000-05-04 23:12:19 +00:00
Ulrich Drepper 6c51aa641e Update.
2000-05-04  Ulrich Drepper  <drepper@redhat.com>

	* elf/dl-open.c (dl_open_worker): Use l_map_start and l_map_end to
	test for pointer in range of DSO address space.

	* nscd/pwdcache.c (addpwbyname): Initialize oldeuid to silence GCC.
2000-05-04 15:48:44 +00:00
Andreas Jaeger 6884329416 Update.
2000-05-04  Andreas Jaeger  <aj@suse.de>

	* nscd/pwdcache.c (addpwbyname): Initialize oldeuid to silence
	GCC.
2000-05-04 13:22:03 +00:00
Ulrich Drepper 229c86ead7 Update.
* locale/findlocale.c (_nl_find_locale): Add new parameter to
	calls of _nl_make_l10nflist.
2000-05-04 04:11:22 +00:00
Ulrich Drepper 17c389fc2b Update.
* libio/stdio.h: Make fseeko and ftello prototypes available is
	__USE_LARGEFILE.  Patch by Paul Eggert <eggert@twinsun.com>.

	* sysdeps/generic/dl-environ.c (unsetenv): Follow change to the
	real unsetenv implementation from 1999-07-29 [PR libc/1714].

2000-05-03  Bruno Haible  <haible@clisp.cons.org>

	* intl/dcigettext.c (dcigettext): Do the defaulting of 'domainname'
	before calling tfind.

2000-03-05  Jakub Jelinek  <jakub@redhat.com>

	* resolv/resolv.h (res_querydomain): Remove redefinition to
	__res_querydomain (reported by Owen Taylor <otaylor@redhat.com>).

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

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

	* manual/intro.texi (Program Basics): Change section title.
	* manual/process.texi: Fix reference.
	(Executing a File): Add reference exec in other section.
	* manual/signal.texi: Fix reference.
	* manual/startup.texi: Document syscall function.
	Patches by Bryan Henderson <bryanh@giraffe-data.com>.

2000-04-29  Bruno Haible  <haible@clisp.cons.org>

	* intl/libintl.h (bind_textdomain_codeset): New declaration.
	* intl/bindtextdom.c (set_binding_values): New function.
	(bindtextdomain): Call it.
	(bind_textdomain_codeset): New function.
	* intl/dcigettext.c (dcigettext): Pass binding to _nl_find_domain.
	(free_mem): Free each binding's codeset.
	* intl/gettextP.h (struct binding): Add codeset field.
	(_nl_find_domain): Add domainbinding argument.
	* intl/finddomain.c (_nl_find_domain): Add domainbinding argument.
	Pass it to _nl_make_l10nflist.
	* intl/loadinfo.h (struct loaded_l10nfile): Add domainbinding field.
	(_nl_make_l10nflist): Add domainbinding argument.
	* intl/l10nflist.c (_nl_make_l10nflist): Add domainbinding argument.
	* intl/loadmsgcat.c (_nl_load_domain): Look at the domainbinding's
	codeset when determining outcharset. If !_LIBC && HAVE_ICONV, call
	locale_charset().
	* manual/message.texi: New node "Charset conversion in gettext".

2000-04-30  Bruno Haible  <haible@clisp.cons.org>

	* catgets/open_catalog.c (__open_catalog): Use __builtin_expect where
	appropriate.  Handle possible __read error.

2000-04-29  Bruno Haible  <haible@clisp.cons.org>

	* intl/gettextP.h (__builtin_expect): Define as empty if not a
	compiler builtin.
	* intl/loadinfo.h (__builtin_expect): Likewise.
	* intl/dcigettext.c (dcigettext, _nl_find_msg): Use
	__builtin_expect where appropriate.
	* intl/loadmsgcat.c (_nl_load_domain): Likewise.
	* intl/localealias.c (extend_alias_table): Return an error indicator.
	(read_alias_file): Bail out if extend_alias_table fails.

2000-04-29  Bruno Haible  <haible@clisp.cons.org>

	* intl/loadmsgcat.c: Define _GNU_SOURCE as early as possible.
	* intl/localealias.c: Likewise.

2000-05-01  Bruno Haible  <haible@clisp.cons.org>

	* intl/loadmsgcat.c (_nl_load_domain): Initialize domain->conv_tab.
	Initialize domain->plural and domain->nplurals even if there is no
	nullentry.

2000-05-01  Bruno Haible  <haible@clisp.cons.org>

	* intl/dcigettext.c (_nl_find_msg): Terminate __gconv loop if return
	value is == __GCONV_OK or == __GCONV_EMPTY_INPUT, not != __GCONV_OK.
	In case of failure, goto converted.

2000-05-01  Bruno Haible  <haible@clisp.cons.org>

	* wcsmbs/wcsmbsload.c (norm_add_slashes): Move away.
	* iconv/gconv_int.h (norm_add_slashes): Move to here.
	* intl/loadmsgcat.c (_nl_load_domain): Normalize strings passed to
	__gconv_open.

2000-04-29  Bruno Haible  <haible@clisp.cons.org>

	* intl/dcigettext.c (transcmp): Compare the domains as well.
	(dcigettext): Call strlen (msgid1) after testing msgid1 against NULL,
	not before.
	* intl/loadmsgcat.c (_nl_load_domain): Deal with EINTR. Include
	<errno.h>.

2000-05-03  Ulrich Drepper  <drepper@redhat.com>
2000-05-04 02:46:54 +00:00
Ulrich Drepper 160016c945 Update.
2000-05-03  Ulrich Drepper  <drepper@redhat.com>

	* string/bits/string2.h: Declare __strdup and __strndup if necessary.
	Reported by Bruno Haible.

2000-04-29  Bruno Haible  <haible@clisp.cons.org>

	* manual/arith.texi: Remove @w from @itemize.
2000-05-04 00:56:16 +00:00
Andreas Jaeger 75cabb043f Update.
* conform/data/tar.h-data: Add some checks for specific values.

	* conform/data/stdlib.h-data: Add checks for value of EXIT_SUCCESS
	and RAND_MAX.

	* conform/data/stdio.h-data: Add checks for value of TMP_MAX and
	FOPEN_MAX.

	* conform/data/netinet/in.h-data: Add exact checks for the values
	fo INET_ADDRSTRLEN and INET6_ADDRSTRLEN.

	* conform/data/float.h-data: Add some minimal values.
2000-05-02 19:09:48 +00:00
Andreas Jaeger 20d4963949 Update.
2000-05-02  Andreas Jaeger  <aj@suse.de>

	* conform/conformtest.pl: Test for macros with string constants,
	check for minimum and maximum values.
	Add limits.h to headers.

	* conform/data/cpio.h-data: Test for value of MAGIC.

	* conform/data/limits.h-data: New file.
2000-05-02 18:18:59 +00:00
Andreas Jaeger 741befc828 Update.
2000-04-30  Bruno Haible  <haible@clisp.cons.org>

	* math/Makefile (headers): Add bits/fenvinline.h.
2000-05-02 13:52:57 +00:00
Ulrich Drepper 0f50c8d300 Update.
* sysdeps/unix/sysv/aix/linux/linux-dirent.h: New file.
	* sysdeps/unix/sysv/aix/linux/direntconv.c: New file.
2000-05-01 23:44:22 +00:00
Ulrich Drepper 782af2c07f Update.
* conform/data/spawn.h-data: Likewise.
2000-05-01 22:00:00 +00:00
Ulrich Drepper 094116864f Update.
2000-05-01  Ulrich Drepper  <drepper@redhat.com>

	* posix/Versions: Change posix_spawnattr_getdefault and
	posix_spawnattr_setdefault to posix_spawnattr_getsigdefault
	and posix_spawnattr_setsigdefault respectively.
	* posix/spawn.h: Likewise.
	* posix/spawnattr_getdefault.h: Likewise.
	* posix/spawnattr_setdefault.h: Likewise.
2000-05-01 20:52:11 +00:00
Andreas Jaeger 2c1efeaf34 Update.
2000-05-01  Andreas Jaeger  <aj@suse.de>

	* nscd/nscd.c: Include <grp.h> for setgroups prototype.
2000-05-01 11:54:34 +00:00
Ulrich Drepper 4b9a6d7cbf Update.
* manual/sysinfo.texi: Document getdomainname, setdomainname
	and sysctl.
2000-04-30 20:53:48 +00:00
Ulrich Drepper e52236e536 Update.
2000-04-30  Ulrich Drepper  <drepper@redhat.com>

	* manual/string.texi: Fix typo.
	* manual/terminal.texi: Document gtty and stty.
	Patch by Bryan Henderson <bryanh@giraffe-data.com>.
2000-04-30 17:56:00 +00:00