Commit Graph

5016 Commits

Author SHA1 Message Date
Ulrich Drepper
aaca79eb56 Update.
* conform/data/inttypes.h-data: Add missing definition and all of
	stdint.h-data.
2001-01-26 08:27:46 +00:00
Ulrich Drepper
020275b5b8 Update.
2001-01-26  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/unix/sysv/linux/sys/param.h (MAXSYMLINKS): Bump to 20.

	* conform/conformtest.pl (@headers): Add stdint.h.
	* conform/data/stdint.h-data: New file.
2001-01-26 08:06:53 +00:00
Ulrich Drepper
ad4f2ebf64 Update.
* conform/conformtest.pl: Recognize options --headers and
	--dialect.  Add dialect-specific CFLAGS.
2001-01-26 04:33:38 +00:00
Ulrich Drepper
9d48fef0aa Update.
* conform/conformtest.pl: Implement handling of recursive
	allow-header.

	* conform/data/locale.h-data: Add new struct lconv members.
2001-01-26 02:42:11 +00:00
Ulrich Drepper
8a6c22174e Update.
* posix/wordexp.h: Correct definition of wordexp_t.
	* posix/wordexp.c: Moved to ...
	* sysdeps/generic/wordexp.c: ...here.  New file.
	* sysdeps/unix/sysv/linux/alpha/wordexp.c: New file.
	* sysdeps/unix/sysv/linux/ia64/wordexp.c: New file.
	* sysdeps/unix/sysv/linux/sparc/sparc64/wordexp.c: New file.
	* sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.2.2): Add
	wordexp.
	* sysdeps/unix/sysv/linux/ia64/Versions: Likewise.
	* sysdeps/unix/sysv/linux/sparc/sparc64/Versions: Likewise.
2001-01-26 02:17:50 +00:00
Ulrich Drepper
deea1b2970 Update.
* math/tgmath.h: Pretty printing.
2001-01-26 01:42:51 +00:00
Ulrich Drepper
4f2689f478 Update.
* math/Makefile (tests): Add test-tgmath.
	(CFLAGS-test-tgmath.c): New variable.
	* math/test-tgmath.c: New file.  Contributed by Jakub Jelinek.
2001-01-25 22:38:42 +00:00
Ulrich Drepper
bec7805d99 Update.
2001-01-25  Ulrich Drepper  <drepper@redhat.com>

	* conform/conformtest.pl: Handle allow-header in secondary headers
	correctly.

	* conform/data/fcntl.h-data: Mark symbols introduced in XPG6 with
	#ifdef.

	* conform/data/netinet/in.h-data: Use correct comment character.
	* conform/data/sys/stat.h-data: Likewise.
2001-01-25 20:05:55 +00:00
Ulrich Drepper
e7c3d12bc2 Update.
2001-01-25  Jakub Jelinek  <jakub@redhat.com>

	* math/tgmath.h (__TGMATH_BINARY_FIRST_REAL_ONLY,
	__TGMATH_BINARY_REAL_ONLY, __TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY,
	__TGMATH_TERNARY_REAL_ONLY): Use proper arguments to
	__builtin_classify_type, add ##f suffixes where appropriate.
	(__TGMATH_UNARY_REAL_IMAG): Remove extraneous left parenthesis.
	(__TGMATH_BINARY_REAL_IMAG): Likewise, use proper arguments to
	__builtin_classify_type.
	(fma): Fix spelling of first argument.
2001-01-25 19:54:39 +00:00
Ulrich Drepper
773bd1e109 Update.
* conform/data/unistd.h-data: Mark functions removed in XPG6
	correctly.

	* posix/unistd.h: Don't make functions removed in XPG6 available if
2001-01-25 19:51:25 +00:00
Ulrich Drepper
d921b30445 Update.
* posix/unistd.h: Make functions removed in XPG6 not available if
	__USE_XOPEN2K.
2001-01-25 19:35:30 +00:00
Ulrich Drepper
2eba94b2cb Update.
* conform/conformtest.pl: Implement optional-constant.
	* conform/data/unistd.h-data: Use optional-constant wherever
	appropriate.
2001-01-25 19:14:31 +00:00
Ulrich Drepper
6b3e83338b Update.
* sysdeps/generic/bits/confname.h: Correct names of _SC_PBS
	constants and add _SC_STREAMS.
	* sysdeps/posix/sysconf.c (__sysconf): Likewise.
2001-01-25 18:40:46 +00:00
Ulrich Drepper
c1fac80331 Update.
* include/sys/statvfs.h: New file.
2001-01-25 10:25:08 +00:00
Ulrich Drepper
87d2f3f00a Update.
* sysdeps/unix/sysv/linux/statvfs64.c: Rename to __statvfs64 and
	make old name weak alias.
	* sysdeps/generic/statvfs64.c: Likewise.
	* sysdeps/unix/sysv/linux/fstatvfs64.c: Rename to __fstatvfs64 and
	make old name weak alias.
	* sysdeps/generic/fstatvfs64.c: Likewise.

	* sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
2001-01-25 10:11:50 +00:00
Ulrich Drepper
2da161d47e Update.
* sysdeps/generic/bits/confname.h: Define _PC_REC_INCR_XFER_SIZE,
	_PC_REC_MAX_XFER_SIZE, _PC_REC_MIN_XFER_SIZE, and
	_PC_REC_XFER_ALIGN.
	* sysdeps/posix/pathconf.c (__pathconf): Implement handling of
	_PC_REC_INCR_XFER_SIZE, _PC_REC_MAX_XFER_SIZE,
	_PC_REC_MIN_XFER_SIZE, and _PC_REC_XFER_ALIGN.
2001-01-25 10:04:35 +00:00
Ulrich Drepper
7287c36dd8 Update.
* conform/conformtest.pl: Run Unix tests for XPG6.
	Implement handling of known namespace violations.
	Improve printing of results.

	* posix/unistd.h (usleep): Correct return type.
	* sysdeps/unix/sysv/linux/usleep.c: Correct return type.
	* sysdeps/unix/bsd/usleep.c: Correct return type.
	* sysdeps/mach/usleep.c: Correct return type.
	* sysdeps/generic/usleep.c: Correct return type.

	* posix/unistd.h (sync): Correct return type.
	* sysdeps/generic/sync.c: Likewise.
	* sysdeps/mach/hurd/sync.c: Likewise.

	* sysdeps/generic/bits/confname.h (_SC_IOV_MAX): New definition.
2001-01-25 09:33:04 +00:00
Ulrich Drepper
49833554e3 Update.
* posix/unistd.h: Make seteuid and setegid available for XPG6.
2001-01-25 08:52:08 +00:00
Ulrich Drepper
d9826675fc Update.
* wcsmbs/wchar.h: Get FILE definition for XPG5.
2001-01-25 08:43:53 +00:00
Ulrich Drepper
4de9dbfa2c Update.
2001-01-25  Ulrich Drepper  <drepper@redhat.com>

	* conform/data/ctype.h-data: Use correct comment form.
	* conform/data/errno.h-data: Likewise.
	* conform/data/math.h-data: Likewise.
	* conform/data/mqueue.h-data: Likewise.
	* conform/data/netdb.h-data: Likewise.
	* conform/data/pthread.h-data: Likewise.
2001-01-25 08:10:36 +00:00
Ulrich Drepper
c39fb5e4c5 Update.
* conform/data/wordexp.h-data: Fix typo.
2001-01-25 07:46:09 +00:00
Ulrich Drepper
d753ffefe5 Update.
* conform/conformtest.pl: Handle allow-header correctly.

	* conform/data/time.h-data: Use correct comment form.
2001-01-25 02:57:58 +00:00
Ulrich Drepper
1953312770 Update.
* conform/conformtest.pl (checknamespace): Ignore #undef lines.
2001-01-25 02:44:19 +00:00
Ulrich Drepper
45ef592db2 Update.
* configure.in: Comment out binutils version test.
2001-01-24 22:56:53 +00:00
Ulrich Drepper
98d3e9934d Update.
* stdlib/Makefile (tst-strtod-ENV): New variable.
2001-01-24 22:19:16 +00:00
Ulrich Drepper
dc5fd90772 Update.
2001-01-24  Ulrich Drepper  <drepper@redhat.com>

	* stdlib/strtod.c (str_to_mpn): Correct parsing of thousands
	separators.
	Reported by Lagardere Jean-Francois <LAGARDEREJ@thmulti.com>.

	* stdlib/tst-strtod.c (locale_test): New function.
	(main): Call locale_test.

	* include/sys/sysctl.h: New file.
2001-01-24 22:13:39 +00:00
Mark Kettenis
99f1b15bd1 * hurd/hurdsig.c (_hurdsig_getenv): Remove spurious innermost declaration of value such that we actually return the value of the environment variable.
2001-01-24  Mark Kettenis  <kettenis@gnu.org>

	* hurd/hurdsig.c (_hurdsig_getenv): Remove spurious innermost
	declaration of value such that we actually return the value of the
	environment variable.
2001-01-24 11:19:56 +00:00
Andreas Jaeger
1f3109a5f8 Update.
2001-01-24  Andreas Jaeger  <aj@suse.de>

	* sysdeps/unix/sysv/linux/init-first.c: Remove extra __sysctl
	prototype.
	* sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.

	* include/sys/sysctl.h: New.

	* stdlib/Makefile ($(objpfx)isomac.out): Also pass sysincludes to
	isomac.
2001-01-24 08:48:10 +00:00
Andreas Jaeger
7eff7a05a2 Update.
* stdlib/Makefile ($(objpfx)isomac.out): Also pass sysincludes to isomac.
2001-01-23 12:46:59 +00:00
Andreas Jaeger
b0ed91aecf Update.
* elf/dl-load.c (_dl_init_paths): Don't use strdupa in function
	arguments.  Reported by Jiri Kubicek <kubicek@bitsmart.com>,
	closes PR libc/2039.
2001-01-23 09:29:53 +00:00
Andreas Jaeger
ecf525cdd7 Update.
2001-01-23  Andreas Jaeger  <aj@suse.de>

	* manual/install.texi (Tools for Compilation): Change required
	binutils version.
2001-01-23 08:23:14 +00:00
Andreas Jaeger
ea9f119b61 Add test for new enough binutils version, move compiler/binutils test up.
* configure.in: Add test for new enough binutils version, move
	compiler/binutils test up.
2001-01-23 08:03:26 +00:00
Andreas Jaeger
7d0673aea5 * Versions.def: Add version GLIBC_2.2.2.
2001-01-22  Andreas Jaeger  <aj@suse.de>

	* Versions.def: Add version GLIBC_2.2.2.
2001-01-22 10:03:51 +00:00
Ulrich Drepper
3132d11a8a Update.
2001-01-21  Ulrich Drepper  <drepper@redhat.com>

	* iconvdata/TESTS: UTF-8 test data for IBM932 and IBM943 are now
	available.
	* iconvdata/testdata/IBM932: New file.
	* iconvdata/testdata/IBM932..UTF8: New file.
	* iconvdata/testdata/IBM943: New file.
	* iconvdata/testdata/IBM943..UTF8: New file.
	Contributed by Masahide Washizawa <washi@jp.ibm.com>.
2001-01-22 03:56:13 +00:00
Ulrich Drepper
608d481e6b Update.
2001-01-21  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

	* sysdeps/unix/sysv/linux/powerpc/mmap64.c: Correctly mask offset.

2001-01-21  Ulrich Drepper  <drepper@redhat.com>

	* malloc/malloc.c: Remove a few unnecessary initializers of global
	variables.
2001-01-22 00:12:23 +00:00
Ulrich Drepper
a5fdf99b7c Update.
2000-12-09  H.J. Lu  <hjl@gnu.org>

	* nss/Makefile (routines): Add digits_dots.
	* nss/Versions (libc): Add __nss_hostname_digits_dots to GLIBC_2.2.2.
	* nss/digits_dots.c (__nss_hostname_digits_dots): Turn template
	into a function.
	* nss/nsswitch.h (__nss_hostname_digits_dots): New internal NSS
	function.
	* nss/getXXbyYY.c (H_ERRNO_VAR_P): New definition.
	(TYPE_VAR_P): Likewise.
	(FLAGS_VAR): Likewise.
	(AF_VAR_P): Likewise.
	(INTERNAL (REENTRANT_NAME)): Call __nss_hostname_digits_dots ()
	instead of including digits_dots.c.
	* nss/getXXbyYY_r.c (H_ERRNO_VAR_P): New definition.
	(TYPE_VAR_P): Likewise.
	(FLAGS_VAR): Likewise.
	(AF_VAR_P): Likewise.
	(INTERNAL (REENTRANT_NAME)): Call __nss_hostname_digits_dots ()
	instead of including digits_dots.c.
2001-01-21 21:23:21 +00:00
Ulrich Drepper
df18ec9afe Update.
2001-01-21  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/posix/getaddrinfo.c: Reduce .data size.
2001-01-21 19:31:41 +00:00
Andreas Jaeger
01ed37472a Update.
2001-01-21  Andreas Jaeger  <aj@suse.de>

	* elf/constload2.c: Add prototype for init.
2001-01-21 17:16:06 +00:00
Ulrich Drepper
d17c01f9fe Update.
* stdlib/stdlib.h (drand48_data): Make available only for
	__USE_MISC.  Rename elements to protect namespace.  Change type
	and position of a and init element.
	* stdlib/drand48-iter.c: Don't handle unsigned short > 16 bit
	differently.  Adjust for drand48_data change.  Don't compute a here,
	it comes from drand48_data.
	* stdlib/lcong48_r.c: Don't handle unsigned short > 16 bit
	differently.  Adjust for drand48_data change.  Compute a here.
	* stdlib/srand48_r.c: Likewise.
	* stdlib/drand48.c: Adjust for drand48_data change.
	* stdlib/lrand48.c: Likewise.
	* stdlib/mrand48.c: Likewise.
	* stdlib/seek48.c: Likewise.
	* stdlib/drand48_r.c: Likewise.
	* stdlib/lrand48_r.c: Likewise.
	* stdlib/mrand48_r.c: Likewise.
	* stdlib/seed48_r.c: Likewise.  Don't handle unsigned short > 16 bit
	differently.
	* stdlib/erand48_r.c: Don't handle unsigned short > 16 bit differently.
	* stdlib/jrand48_r.c: Likewise.
2001-01-21 16:54:08 +00:00
Ulrich Drepper
27cb6b28b9 Update.
2001-01-21  Ulrich Drepper  <drepper@redhat.com>

	* po/sv.po: Update from translation team.
2001-01-21 16:01:00 +00:00
Andreas Jaeger
d28c955e53 Update.
2001-01-21  Andreas Jaeger  <aj@suse.de>

	* stdio-common/vfprintf.c (vfprintf): Add casts.
2001-01-21 14:58:35 +00:00
Ulrich Drepper
3b7caeac2c Update.
* iconvdata/run-iconv-test.sh: Reorgnize a bit to allow running only
	the ASCII test.
	* iconvdata/TESTS: Add entries for IBM932 and IBM943.

	* iconvdata/Makefile (modules): Add IBM932 and IBM943.
	* iconvdata/gconv-modules: Add entries for IBM932 and IBM943.
	* iconvdata/ibm932.c: New file.
	* iconvdata/ibm932.h: New file.
	* iconvdata/ibm943.c: New file.
	* iconvdata/ibm943.h: New file.
	Patches by Masahide Washizawa <washi@jp.ibm.com>.
2001-01-20 21:20:46 +00:00
Ulrich Drepper
b72f9d5197 Update.
* sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Fix typo
	preventing optimization from being done.  Set the correct type bit
	in seen.  Don't define and use _dl_base_addr unless
2001-01-20 19:14:31 +00:00
Ulrich Drepper
1b6020c13e Update.
* sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Initialize egid
	to 1.  This helps those installing ld.so SUID (nobody will be that
	stupid, I hope).  Don't define and use _dl_base_addr unless
	NEED_DL_BASE_ADDR is defined.
2001-01-20 16:51:01 +00:00
Ulrich Drepper
21a568e279 Update.
2001-01-20  Ulrich Drepper  <drepper@redhat.com>

	* io/ftw.c (ftw_dir): Add slash after directory name if there
	wasn't any.  Reported by loris <loris@iol.it>.
	* io/Makefile (tests): Add bug-ftw2.
	* io/bug-ftw2.c: New file.
2001-01-20 16:30:18 +00:00
Ulrich Drepper
df152cc80e Update.
* stdlib/jrand48_r.c (__jrand48_r): Correct constructing of
	results.  Reported by Jeff Higham <jhigham@algorithmics.com>.
	* stdlib/tst-rand48.c: New file.
	* stdlib/Makefile (tests): Add tst-rand48.
2001-01-20 04:33:16 +00:00
Ulrich Drepper
ec4ae3b891 Update.
2001-01-19  Ulrich Drepper  <drepper@redhat.com>

	* locale/newlocale.c (__newlocale): Fix test for setting all
	categories.
2001-01-20 01:50:54 +00:00
Mark Kettenis
db11c38c4d * sysdeps/mach/hurd/chroot.c (chroot): Revert 1999-02-27 changes, but change looking up the initial directory port in a similar way as done by _hurd_change_directory_port_from_name. * hurd/fchroot.c (fchroot): Likewise.
2001-01-19  Mark Kettenis  <kettenis@gnu.org>

	* sysdeps/mach/hurd/chroot.c (chroot): Revert 1999-02-27 changes,
	but change looking up the initial directory port in a similar way
	as done by _hurd_change_directory_port_from_name.
	* hurd/fchroot.c (fchroot): Likewise.
2001-01-19 09:37:23 +00:00
Ulrich Drepper
4e56fdbce3 Update.
* sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): If HAVE_AUX_XID is
	defined don't look whether the AT_*ID values were set.
	If HAVE_AUX_PAGESIZE is defined don't look whether the pagesize is set.
	(_dl_show_auxv): Rewrite to avoid switch statement.
	* sysdeps/unix/sysv/linux/kernel-features.h: Define
	__ASSUME_AT_PAGESIZE for kernel >= 2.4.1.
	* sysdeps/unix/sysv/linux/ldsodefs.h: Define HAVE_AUX_XID.
	Define HAVE_AUX_PAGESIZE if __ASSUME_AT_PAGESIZE is defined.
2001-01-19 05:16:45 +00:00
Ulrich Drepper
5287b1d872 Update.
* sysdeps/unix/sysv/linux/fxstat64.c: Add one __builtin_expect.
	* sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
	* sysdeps/unix/sysv/linux/xstat64.c: Likewise.
2001-01-19 02:08:08 +00:00
Ulrich Drepper
1e71bd5279 Update.
* elf/rtld.c (process_envvars): Call __strtoul_internal instead of
	strtoul.
	* elf/dl-minimal.c (strtol, __strtol_internal, strtoul): Removed.
	(__sigjmp_save): Set __mask_was_saved to zero since we don't save
	anything.
	* dlfcn/eval.c (__strtol_internal): Define here.
	(eval): Use __strtol_internal instead of strtol.
2001-01-19 00:36:48 +00:00
Ulrich Drepper
2e42b53ca2 Update.
2001-01-18  Ulrich Drepper  <drepper@redhat.com>

	* elf/elf.h: Add a few more EF_MIPS_* constants.
2001-01-18 23:46:16 +00:00
Ulrich Drepper
2244ddf2bf Update.
2001-01-17  Ulrich Drepper  <drepper@redhat.com>

	* manual/Makefile (chapters): Add debug.
	* manual/debug.texi: New file.
	* manual/examples/execinfo.c: New file.
	Patch by suckfish@ihug.co.nz.
2001-01-17 16:54:30 +00:00
Andreas Schwab
ee4905312f * sysdeps/m68k/bits/byteswap.h (__bswap_32): Add cast to avoid
invalid asm.
2001-01-17 15:56:17 +00:00
Andreas Jaeger
d26253b410 Update.
2001-01-17  Andreas Jaeger  <aj@suse.de>

	* nscd/connections.c (nscd_run): Use proper format specifier.
2001-01-17 10:45:44 +00:00
Ulrich Drepper
629cd0b808 Update.
* sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Move x86_cap_flags and
	x86_platforms data into new file after prepending _dl_.  Change
	users.
	* sysdeps/unix/sysv/linux/i386/dl-procinfo.c: New file.
	* sysdeps/unix/sysv/linux/i386/Dist: Add dl-procinfo.c.
	* sysdeps/unix/sysv/linux/i386/Makefile: Add rules to build
	dl-procinfo.c.
2001-01-17 01:14:51 +00:00
Ulrich Drepper
eca90c85f5 Update.
* setjmp/setjmp.h: Cleanup definition of setjmp macro.
2001-01-17 01:01:02 +00:00
Ulrich Drepper
376c348c91 Update.
* sysdeps/i386/elf/bsd-setjmp.S: Real implementation.
	* sysdeps/i386/elf/bsd-_setjmp.S: Removed.
	* sysdeps/i386/elf/setjmp.S (setjmp): Removed here.
	* sysdeps/i386/bsd-_setjmp.S: Real implementation.
	* sysdeps/i386/bsd-setjmp.S: Real implementation.
	* sysdeps/i386/bits/setjmp.h: Remove PUSH_SIGNAL_MASK definition.
	* sysdeps/i386/setjmp.S: Remove PIC support.  This is the non-ELF
	version.
	* stdio-common/tstscanf.c (main): Add two testcases for '*' modifier.
2001-01-16 23:37:51 +00:00
Ulrich Drepper
f806546c56 Update.
2001-01-16  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/i386/elf/setjmp.S (setjmp): Don't use __sigsetjmp code,
	do it here.
	(_setjmp): Likewise.
2001-01-16 23:11:39 +00:00
Andreas Jaeger
17b32c7409 Update.
2001-01-16  Andreas Jaeger  <aj@suse.de>

	* sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (SIGCONTEXT): Fix
	misapplied last patch.
2001-01-16 06:39:20 +00:00
Ulrich Drepper
a9e4124c20 Update.
* stdlib/random.c (__initstate): Clean up a cast.
	(__setstate): Likewise.
2001-01-16 01:11:59 +00:00
Ulrich Drepper
ad7069d7f4 Update.
2001-01-15  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/unix/sysv/linux/mips/syscalls.list: Remove select
	syscall handling.  The generic Linux version should work.
2001-01-15 20:31:16 +00:00
Andreas Jaeger
dab645369b Update.
* sysdeps/unix/sysv/linux/sys/sendfile.h: Fix typo.
2001-01-15 15:52:12 +00:00
Andreas Jaeger
d5049d866a Update.
2001-01-15  Andreas Jaeger  <aj@suse.de>

	* stdio-common/tstscanf.c (main): Add two testcases for '*'
	modifier.
2001-01-15 11:17:39 +00:00
Ulrich Drepper
5b6bed491f Update.
* sunrpc/xdr.c (xdr_long, xdr_u_long): Fix comments about these
2001-01-15 07:59:24 +00:00
Ulrich Drepper
232b465589 Update.
2001-01-14  Jakub Jelinek  <jakub@redhat.com>

	* nss/getent.c (print_aliases, aliases_keys, ethers_keys,
	netgroup_keys, print_rpc, rpc_keys, print_shadow, shadow_keys):
	New functions.
	(group_keys, hosts_keys, network_keys, passwd_keys, protocols_keys):
	If number is 0, list all.
	(services_keys): Likewise.  Lookup aliases as well.
	(databases): New table.
	(build_doc): Prepare argp doc text with list of supported databases.
	(main): Change to table driven processing.

2001-01-14  Thorsten Kukuk <kukuk@suse.de>

	* sunrpc/xdr.c (xdr_long, xdr_u_long): Fix comments about this
	functions.

2001-01-03  Jakub Jelinek  <jakub@redhat.com>

	* sunrpc/xdr.c (xdr_long, xdr_u_long): Return FALSE if trying to
	encode value which does not fit in the 32bit type.
2001-01-15 07:22:30 +00:00
Andreas Jaeger
6589ba79ad Update.
2001-01-15  Hiroyuki Machida <machida@sm.sony.co.jp>

	* sysdeps/unix/sysv/linux/mips/register-dump.h (REGISTER_DUMP):
	Change type of CTX to (struct sigcontext *).
	* sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (GET_PC): Likewise.
	(GET_FRAME): Likewise.
	(GET_STACK): Likewise.
	(SIGCONTEXT): Likewise. Add 2nd arg _code.
	(SIGCONTEXT_EXTRA_ARGS): Add 2nd arg _code.

2001-01-12  Franz Sirl	<Franz.Sirl-kernel@lauterbach.com>
2001-01-12  Ben Collins	 <bcollins@debian.org>
	patch.	We must use unsigned int for l member of union.
2001-01-07  Ben Collins	 <bcollins@debian.org>
2001-01-05  Ben Collins	 <bcollins@debian.org>
2001-01-05  Ben Collins	 <bcollins@debian.org>
	if it is not available.	 Instead use it only if it is available.
	* elf/dl-support.c (DL_FIND_AUXV): New.	 Defined if not defined.
	(DCIGETTEXT): Change cache handing in the plural case.	Don't call
	to the caller instead.	Weaken comparison of string lengths, to account
2001-01-04  Kaz Kojima	<kkojima@rr.iij4u.or.jp>
2001-01-03  Franz Sirl	<Franz.Sirl-kernel@lauterbach.com>
2001-01-02  Franz Sirl	<Franz.Sirl-kernel@lauterbach.com>
2001-01-02  Franz Sirl	<Franz.Sirl-kernel@lauterbach.com>
2001-01-02  Ben Collins	 <bcollins@debian.org>
2001-01-01  Ben Collins	 <bcollins@debian.org>
2000-12-22  Ben Collins	 <bcollins@debian.org>
2000-12-27  Ben Collins	 <bcollins@debian.org>
2000-12-23  Ben Collins	 <bcollins@debian.org>
2000-12-15  Ben Collins	 <bcollins@debian.org>
2001-01-15 07:02:41 +00:00
Ulrich Drepper
b82d4f727f Update.
2001-01-13  Ulrich Drepper  <drepper@redhat.com>

	* manual/texinfo.tex: Update from upstream version.
2001-01-14 03:33:32 +00:00
Ulrich Drepper
3f73836632 Update.
2001-01-13  Jakub Jelinek  <jakub@redhat.com>

	* inet/ether_ntoh.c (lookup_function): Change arguments to match
	_nss_*_getntohost_r prototype.
	(ether_ntohost): Pass errno pointer to NSS function.

2001-01-12  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

	* sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MS_SYNC): Fix value.
	(MAP_LOCKED): New definition.
	(MAP_NORESERVE): New definition.
2001-01-13 16:09:41 +00:00
Ulrich Drepper
234669e268 Update.
2001-01-12  Ulrich Drepper  <drepper@redhat.com>

	* assert/assert.h: Use static_cast instead of C-style cast for C++.
	Patch by Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>.
2001-01-13 00:55:28 +00:00
Andreas Jaeger
0376962668 Update.
* stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
2001-01-12 17:38:55 +00:00
Ulrich Drepper
ff0eee2981 Update.
2001-01-12  Ben Collins  <bcollins@debian.org>

	* sysdeps/generic/segfault.c (install_handler): Use access, not
	__access.
2001-01-12 17:35:00 +00:00
Andreas Jaeger
a7cdbcb81b Update.
2001-01-12  Andreas Jaeger  <aj@suse.de>

	* posix/fnmatch_loop.c (FCT): Remove signed warnings.
	* posix/wordexp.c (do_parse_glob): Likewise.
	* sysdeps/posix/sigblock.c (__sigblock): Likewise.
	* sysdeps/posix/sigsetmask.c (__sigsetmask): Likewise.
	* elf/dl-open.c (_dl_open): Likewise.
	* elf/dl-close.c (_dl_close): Likewise.
	* elf/dl-load.c (_dl_map_object): Likewise.
	* iconv/iconv_prog.c (process_fd): Likewise.

	* locale/localeinfo.h (struct locale_data): Use __flexarr instead
	of a zero-length array.
2001-01-12 17:04:13 +00:00
Ulrich Drepper
5ef50d00de Update.
2001-01-11  Jakub Jelinek  <jakub@redhat.com>

	* stdlib/cxa_atexit.c (__cxa_atexit): Cast to (void *, int) func.
	* stdlib/cxa_finalize.c (__cxa_finalize): Add hidden second argument.
	* stdlib/cxa_on_exit.c: Remove.
	* stdlib/Makefile: Revert last patch.
	* stdlib/Versions: Likewise.
	* include/stdlib.h: Likewise.
	* stdlib/exit.h: Revert last patch.
	(struct exit_function): Add second argument to cxa fn.
	* stdlib/exit.c: Revert last patch.
	(exit): Add hidden second argument.
2001-01-12 07:29:55 +00:00
Ulrich Drepper
7e36861e77 Update.
2001-01-11  H.J. Lu  <hjl@gnu.org>

	* elf/dl-libc.c (do_dlopen): Move DL_STATIC_INIT to ...
	* elf/dl-open.c (_dl_open): Here.
	* sysdeps/unix/sysv/linux/ia64/dl-static.c (_dl_static_lock):
	Make it static.
	(_dl_static_init): Initialize the variables every time when possible.
	* sysdeps/unix/sysv/linux/ia64/ldsodefs.h (DL_STATIC_INIT):
	Undefine it first.
2001-01-11 19:42:21 +00:00
Ulrich Drepper
3bbddbe4a3 Update.
2001-01-11  Ulrich Drepper  <drepper@redhat.com>

	* stdlib/Makefile (routines): Add cxa_on_exit.
	* stdlib/Versions [libc] (GLIBC_2.2.1): Add __cxa_on_exit.
	* stdlib/cxa_on_exit.c: New file.
	* include/stdlib.h: Add prototype for __cxa_on_exit.
	* stdlib/exit.c: Handle ef_cxa2.
	* stdlib/exit.h (enum): Add ef_cxa2.
	(struct exit_function): Add cxa2.

	* Versions.def [ld]: Add GLIBC_2.2.1.
2001-01-11 19:25:07 +00:00
Ulrich Drepper
beb5387cf6 Update.
2001-01-10  H.J. Lu  <hjl@gnu.org>

	* elf/dl-libc.c (do_dlopen): Call DL_STATIC_INIT for static binaries.
	* sysdeps/unix/sysv/linux/ia64/Makefile (sysdep-dl-routines): Add
	dl-static.
	* sysdeps/unix/sysv/linux/ia64/Versions (ld): Add _dl_var_init.
	* sysdeps/generic/ldsodefs.h (DL_STATIC_INIT): Defined if not defined.
	* sysdeps/unix/sysv/linux/ia64/ldsodefs.h: New file.
	* sysdeps/unix/sysv/linux/ia64/dl-static.c: New file.
	* sysdeps/unix/sysv/linux/ia64/Dist: Add dl-static.c.
2001-01-11 17:50:24 +00:00
Ulrich Drepper
c926001f2a Update.
2001-01-11  Ulrich Drepper  <drepper@redhat.com>

	* libio/stdio.h: Remove definition of off_t.
2001-01-11 17:24:47 +00:00
Andreas Jaeger
64ed453308 Update.
2001-01-11  Andreas Jaeger  <aj@suse.de>

	* wcsmbs/tst-mbrtowc.c (utf8_test): New function by Markus Kuhn
	<mkuhn@acm.org>.
2001-01-11 16:30:23 +00:00
Ulrich Drepper
b9483044c3 Update.
2001-01-10  Ulrich Drepper  <drepper@redhat.com>

	* sunrpc/Makefile (distribute): Add errqueue.h.
2001-01-11 03:06:50 +00:00
Ulrich Drepper
b1eab23011 Update.
* sysdeps/ia64/dl-machine.h (TRAMPOLINE_TEMPLATE): Also preserve
	r9, r10 and r11 for language specific registers.

2001-01-10  Jakub Jelinek  <jakub@redhat.com>

	* sunrpc/clnt_udp.c (clntudp_bufcreate): Set IP_RECVERR on the
	UDP socket.
	(clntudp_call): Handle MSG_ERRQUEUE.
	* sysdeps/generic/errqueue.h: New file.
	* sysdeps/unix/sysv/linux/errqueue.h: New file.

2001-01-10  H.J. Lu  <hjl@gnu.org>
2001-01-10 23:47:39 +00:00
Ulrich Drepper
963100c9f9 Update.
2001-01-10  H.J. Lu  <hjl@gnu.org>

	* sysdeps/unix/sysv/linux/ia64/syscalls.list (s_getpagesize): Removed.
2001-01-10 19:04:45 +00:00
Ulrich Drepper
e32f61253b Update.
2001-01-10  Joseph S. Myers  <jsm28@cam.ac.uk>

	* CONFORMANCE: Update.
2001-01-10 18:12:15 +00:00
Ulrich Drepper
88d88a58d7 Update.
* sysdeps/generic/elf/backtracesyms.c (__backtrace_symbols):
	Minimal cleanups.  Add assert to ensure memory handling is correct.
2001-01-10 01:02:24 +00:00
Ulrich Drepper
4ab5b7b53f Update.
* manual/conf.texi (File Minimums): Fix _POSIX_PATH_MAX value.
	Reported by Ben Collins <bcollins@debian.org>.
2001-01-10 00:51:04 +00:00
Ulrich Drepper
4dd98cad25 Update.
2001-01-09  Ulrich Drepper  <drepper@redhat.com>

	* time/strftime.c (my_strftime): Mark previous GNU extensions
	which are now in C99 as such.
2001-01-09 17:54:30 +00:00
Ulrich Drepper
92effacf83 Update.
* elf/rtld.c (process_envvars): Place output files for profiling
	in SUID binaries in /var/profile.
2001-01-09 04:32:41 +00:00
Ulrich Drepper
27f9ede1e9 Update.
* elf/dl-load.c (_dl_map_object): Don't look in cache for
	preloading in SUID binaries.
2001-01-09 04:26:31 +00:00
Ulrich Drepper
f2a8d16bed Update.
* elf/dl-profile.c (_dl_start_profile): Open the output file with
	O_NOFOLLOW if possible.
2001-01-09 03:08:54 +00:00
Ulrich Drepper
0101a56fd6 Update.
* include/stdlib.h: Add __posix_openpt declaration.
	* stdlib/stdlib.h: Add posix_openpt declaration.
	* login/Versions: Add posix_openpt for GLIBC_2.2.1.
	* sysdeps/generic/getpt.c: Define posix_openpt.
	* sysdeps/unix/bsd/getpt.c: Likewise.
	* sysdeps/unix/sysv/linux/getpt.c: Likewise.
2001-01-09 01:59:17 +00:00
Ulrich Drepper
354e6102a1 Update.
* time/Makefile (tests): Add tst-mktime.
	* time/tst-mktime.c: New file.

	* posix/tst-dir.c (main): One more mkdir() test.
2001-01-09 01:04:59 +00:00
Ulrich Drepper
f93e323f9e Update.
* sysdeps/unix/sysv/linux/ia64/getpagesize.c (__getpagesize):
	Remove getpagesize syscall.  We assume that the pagesize is always
	determined from the auxiliary vector.
2001-01-08 22:30:44 +00:00
Ulrich Drepper
0b795736c8 Update.
* intl/dcigettext.c: Fix a few warnings.
	Patch by Bruno Haible <haible@ilog.fr>.

2001-01-08  Andreas Jaeger  <aj@suse.de>

	* io/test-lfs.c (do_test): Check lseek64 return for EINVAL.
	Reported by Joseph S. Myers <jsm28@cam.ac.uk>.

2001-01-08  Ulrich Drepper  <drepper@redhat.com>
2001-01-08 22:28:15 +00:00
Ulrich Drepper
2090dd7364 Update.
* sysdeps/generic/segfault.c (install_handler): Check output file
	name with access().
2001-01-08 18:06:26 +00:00
Ulrich Drepper
52ee62236b Update.
* resolv/res_query.c: Use simply getenv() for HOSTALIASES.
	* sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add HOSTALIASES.
2001-01-08 17:55:53 +00:00
Ulrich Drepper
0eb8a89b50 Update.
* sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add missing comma.
2001-01-08 17:38:52 +00:00
Ulrich Drepper
cf1bb6d5c0 Update.
* malloc/memusage.c (me): Use access() to determine whether we
	should write the output file or not.
2001-01-08 17:21:48 +00:00
Ulrich Drepper
1950ebc6cb Update.
* stdio-common/printf.c: Undefine printf.
2001-01-08 08:59:36 +00:00
Ulrich Drepper
9b2c75233e Update.
2001-01-08  Ulrich Drepper  <drepper@redhat.com>

	* libio/bits/stdio.h (printf): Define macro to map printf call to
	fprintf which gcc can optimize.
2001-01-08 08:50:37 +00:00
Ulrich Drepper
bf2c10ded6 Update.
* sysdeps/generic/bits/byteswap.h (__bswap_64): Partly revert last
	patch.  We must use unsigned int for l member of union.
2001-01-07 20:02:56 +00:00
Ulrich Drepper
51ac41a799 Update.
* sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Don't call
	_dl_aux_init for shared libraries.
2001-01-07 19:09:48 +00:00
Ulrich Drepper
af58d8a273 Update.
2001-01-07  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/unix/sysv/linux/glob64.c: Moved to ...
	* sysdeps/gnu/glob64.c: ...here.  New file.
2001-01-07 17:27:59 +00:00
Ulrich Drepper
9495793d2a Update.
2001-01-07  Ben Collins  <bcollins@debian.org>

	* manual/examples/longopt.c: Make the "struct option" a little
	more like it should be, adding usage of required_argument,
	noargument and such, and also setting the options string right.

	* manual/sysinfo.texi (Load Average): New section, documents
	getloadavg().
2001-01-07 16:59:39 +00:00
Ulrich Drepper
dabb1db4d1 Update.
* sysdeps/alpha/Dist: Add alphaev6/stxncpy.S and alphaev6/stxcpy.S.
	* sysdeps/unix/sysv/aix/Dist: Add uitrunc.c, savef.S, and restf.S.
	* dlfcn/Makefile (distribute): Add errmsg1mod.c.
	* Makefile (distribute): Add include/libc-internal.h.
	* libio/Makefile (distribute): Avoid overwriting.
2001-01-07 07:37:31 +00:00
Ulrich Drepper
b41486e9c9 Update.
* sysdeps/unix/sysv/linux/mips/Dist: Remove sys/acct.h.
2001-01-07 07:04:03 +00:00
Ulrich Drepper
22f021231b Update.
* version.h (VERSION): Bump to 2.2.1.
2001-01-07 06:25:47 +00:00
Ulrich Drepper
531950cebd Update.
2001-01-06  Ulrich Drepper  <drepper@redhat.com>

	* iconvdata/ibm937.c (BODY to IBM937): Correct several mistakes in
	buffer and table handling.
2001-01-07 04:34:56 +00:00
Ulrich Drepper
e4a5f77de6 Update.
2001-01-05  H.J. Lu  <hjl@gnu.org>

	* elf/dl-support.c (non_dynamic_init): Move the auxiliary
	vector checking to ...
	(_dl_aux_init): Here. New function. Defined only if
	HAVE_AUX_VECTOR is defined.

	* sysdeps/generic/libc-start.c (__libc_start_main): Call
	_dl_aux_init for static binaries if HAVE_AUX_VECTOR is defined.

	* sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Call
	_dl_aux_init.

	* sysdeps/unix/sysv/linux/ldsodefs.h (DL_FIND_AUXV): Removed.
	(HAVE_AUX_VECTOR): Defined.
	(_dl_aux_init): Declared.
2001-01-07 02:00:21 +00:00
Ulrich Drepper
bf798a9534 Update.
2001-01-05  Ben Collins  <bcollins@debian.org>

	* manual/string.texi (Finding Tokens in a String): Document XPG
	basename() and dirname(), as well as GNU basename().

2001-01-05  Jakub Jelinek  <jakub@redhat.com>

	* Makeconfig (preprocess-version): Replace -traditional with
	-x assembler-with-cpp.

2001-01-05  Joseph S. Myers  <jsm28@cam.ac.uk>

	* math/bits/cmathcalls.h: Don't define inline cimag, creal or conj
	for GCC 2.97 or later.

2001-01-05  Ben Collins  <bcollins@debian.org>

	* manual/stdio.texi (getline): Clarify the return value in the
	case of EOF being reached before a newline.

2001-01-04  Jakub Jelinek  <jakub@redhat.com>

	* sunrpc/pmap_clnt.c (__get_myaddress): Return TRUE if successful,
	FALSE otherwise.
	(pmap_set, pmap_unset): Check __get_myaddress return value.

2001-01-05  Mark Kettenis  <kettenis@gnu.org>

	* sysdeps/generic/netinet/if_ether.h: Include <sys/types.h>.
	(struct ether_addr): Declare ether_addr_octet member as
	`u_int8_t'.  Add __attribute__ ((__packed__)).
2001-01-07 00:39:33 +00:00
Mark Kettenis
4c587216c9 * sysdeps/mach/hurd/readdir64.c: New file. * sysdeps/mach/hurd/readdir64_r.c: New file.
2001-01-06  Mark Kettenis  <kettenis@gnu.org>

	* sysdeps/mach/hurd/readdir64.c: New file.
	* sysdeps/mach/hurd/readdir64_r.c: New file.
2001-01-07 00:25:46 +00:00
Mark Kettenis
ce08cce99d * sysdeps/mach/hurd/fstatvfs.c (fstatvfs): Add comment about struct statfs' and struct statvfs' being identical. * sysdeps/mach/hurd/statvfs.c (statvfs): Likewise.
2001-01-07  Mark Kettenis  <kettenis@gnu.org>

	* sysdeps/mach/hurd/fstatvfs.c (fstatvfs): Add comment about
	`struct statfs' and `struct statvfs' being identical.
	* sysdeps/mach/hurd/statvfs.c (statvfs): Likewise.
2001-01-07 00:18:58 +00:00
Mark Kettenis
7b3d21b227 * sysdeps/mach/hurd/fstatfs64.c: New file. * sysdeps/mach/hurd/fstatvfs64.c: New file. * sysdeps/mach/hurd/statfs64.c: New file. * sysdeps/mach/hurd/statvfs64.c: New file. * sysdeps/mach/hurd/statfsconv.c: New file. * sysdeps/mach/hurd/Dist: Add statfsconv.c.
2001-01-06  Mark Kettenis  <kettenis@gnu.org>

	* sysdeps/mach/hurd/fstatfs64.c: New file.
	* sysdeps/mach/hurd/fstatvfs64.c: New file.
	* sysdeps/mach/hurd/statfs64.c: New file.
	* sysdeps/mach/hurd/statvfs64.c: New file.
	* sysdeps/mach/hurd/statfsconv.c: New file.
	* sysdeps/mach/hurd/Dist: Add statfsconv.c.
2001-01-07 00:13:43 +00:00
Ulrich Drepper
f1813b562b Update.
2001-01-06  Ulrich Drepper  <drepper@redhat.com>

	* iconv/skeleton.c: Reset outbuf for next round of the loop.
	Reported by Owen Taylor <otaylor@redhat.com>.
	* iconv/Makefile (tests): Add tst-iconv3.
	* iconv/tst-iconv3.c: New file.

	* iconvdata/ibm930.c: Fix handling of state.  Optimize a bit.
	* iconvdata/ibm933.c: Likewise.
	* iconvdata/ibm935.c: Likewise.
	* iconvdata/ibm937.c: Likewise.
	* iconvdata/ibm939.c: Likewise.
	* iconvdata/ibm930.h: Adjust single byte table for optimization.
	* iconvdata/ibm933.h: Likewise.
	* iconvdata/ibm935.h: Likewise.
	* iconvdata/ibm939.h: Likewise.

	* iconvdata/testdata/IBM930: Add misssing SI.
	* iconvdata/testdata/IBM933: Likewise.
	* iconvdata/testdata/IBM935: Likewise.
	* iconvdata/testdata/IBM937: Likewise.
	* iconvdata/testdata/IBM939: Likewise.

	* configure.in: Check for old add-ons that shouldn't be used with
	current glibc anymore.
2001-01-06 20:21:33 +00:00
Andreas Jaeger
aa44a9de3d * configure.in: Check for old add-ons that shouldn't be used with current glibc anymore.
2001-01-06  Andreas Jaeger  <aj@suse.de>

        * configure.in: Check for old add-ons that shouldn't be used with
        current glibc anymore.
2001-01-06 17:33:47 +00:00
Mark Kettenis
655bfb8bff * sysdeps/mach/hurd/readdir_r.c (__readdir_r): Return error number instead of -1 on failure. Don't forget to copy file name into *ENTRY if successful. Set *RESULT to NULL upon reaching the end of the directory.
* sysdeps/mach/hurd/readdir_r.c (__readdir_r): Return error number
	instead of -1 on failure.  Don't forget to copy file name into
	*ENTRY if successful.  Set *RESULT to NULL upon reaching the end
	of the directory.

2001-01-06  Mark Kettenis  <kettenis@gnu.org>
2001-01-06 12:31:35 +00:00
Mark Kettenis
74ec0232c2 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Don't forget to copy st_atime member.
2001-01-06  Mark Kettenis  <kettenis@gnu.org>

	* sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Don't forget to
	copy st_atime member.
2001-01-06 01:52:03 +00:00
Ulrich Drepper
25f227b924 Update.
* io/ftw.c (ftw_dir): Don't add a second slash at the beginning
	for searches from the root directory.
	Reported by loris <loris@iol.it> [PR libc/1991].
	* io/Makefile (tests): Add bug-ftw1.
	* io/bug-ftw1.c: New file.
2001-01-05 18:10:10 +00:00
Ulrich Drepper
155fd00c74 Update.
* elf/dl-support.c (non_dynamic_init): Don't define DL_FIND_AUXV
	if it is not available.  Instead use it only if it is available.
	* sysdeps/unix/sysv/linux/ldsodefs.h: New file.
2001-01-05 16:27:04 +00:00
Ulrich Drepper
c4f6641346 Update.
2001-01-05  Ulrich Drepper  <drepper@redhat.com>

	* iconv/gconv_simple.c (internal_ics4_loop): Correct test for
	overflowing output buffer.
	(internal_ucs4_loop_unaligned): Likewise.
	(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.
	Reported by Owen Taylor <otaylor@redhat.com>.
	* iconv/Makefile (tests): Add tst-iconv2.
	* iconv/tst-iconv2.c: New file.
2001-01-05 08:10:28 +00:00
Ulrich Drepper
f8f900ecb9 Update
2001-01-04  H.J. Lu  <hjl@gnu.org>

	* elf/dl-support.c (DL_FIND_AUXV): New.  Defined if not defined.
	(_dl_clktck): Declared.
	(non_dynamic_init): Take 3 arguments.
	Set _dl_pagesize, _dl_platform and _dl_clktck from AUX.

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

	Finish implementation of plural form handling.
	* intl/dcigettext.c (known_translation_t): Rename 'domain' field to
	'domainname'.  Remove 'plindex' field. Add 'domain' and
	'translation_length' fields.
	(transcmp): Don't compare 'plindex' fields.
	(plural_lookup): New function.
	(DCIGETTEXT): Change cache handing in the plural case.  Don't call
	plural_eval before the translation and its catalog file have been
	found. Remove plindex from cache key.  Add 'translation_length' and
	'domain' to cache result.
	(_nl_find_msg): Remove index argument, return length of translation
	to the caller instead.  Weaken comparison of string lengths, to account
	for plural entries.  Call iconv() on the entire result string, not
	only on the portion needed so far.
	* intl/loadinfo.h (_nl_find_msg): Remove index argument, add lengthp
	argument.
	* intl/loadmsgcat.c (_nl_load_domain): Adapt to _nl_find_msg change.
2001-01-05 06:43:17 +00:00
Ulrich Drepper
eda6c725e7 Update.
2001-01-04  Ulrich Drepper  <drepper@redhat.com>

	* intl/plural.y (yylex): Minimal improvement in number scanner.
2001-01-05 06:18:46 +00:00
Ulrich Drepper
61402fd689 Update.
2000-07-31  Bruno Haible  <haible@clisp.cons.org>

	* intl/plural.y: Include config.h. Needed to define 'inline' away for
	C compilers that don't support it.
	(yylex): Don't use gcc specific case range syntax.
	* intl/loadmsgcat.c (INIT_GERMANIC_PLURAL): New macro, for old
	compilers.

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

	* intl/finddomain.c: Remove unneeded includes.

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

	* intl/localealias.c (memcpy): Return first argument, just like the
	real memcpy function does.
	* intl/bindtextdom.c (memcpy): Likewise.
	* intl/finddomain.c (memcpy): Likewise.
	* intl/l10nflist.c (memcpy): Likewise.
	* intl/textdomain.c (memcpy): Likewise.
	From Paul Eggert <eggert@twinsun.com>.
2001-01-05 05:52:11 +00:00
Ulrich Drepper
03fbfeb508 Update.
2001-01-03  Jakub Jelinek  <jakub@redhat.com>

	* resolv/resolv.h (struct __res_state): Add nsinit field.
	* resolv/res_send.c (res_nsend): Use it instead of nscount.
	* resolv/res_init.c (__res_vinit): Initialize it.
	(res_nclose): Clear it instead of nscount.

	* malloc/mtrace.pl: Fix matching of addresses.
	Patch by Aharon Robbins <arnold@skeeve.com>.
2001-01-05 02:36:27 +00:00
Ulrich Drepper
06a60d9c89 Update.
2001-01-04  Ulrich Drepper  <drepper@redhat.com>

	* Versions.def (ld): Add GLIBC_2.2.

	* catgets/gencat.c: Copyright 2001.
	* csu/version.c: Likewise.
	* debug/catchsegv.sh: Likewise.
	* debug/xtrace.sh: Likewise.
	* elf/ldconfig.c: Likewise.
	* elf/sprof.c: Likewise.
	* iconv/iconv_prog.c: Likewise.
	* locale/locale.c: Likewise.
	* locale/localedef.c: Likewise.
	* malloc/memusage.sh: Likewise.
	* malloc/mtrace.pl: Likewise.
	* nscd/nscd.c: Likewise.
	* posix/getconf.c: Likewise.

2001-01-04  Mark Kettenis  <kettenis@gnu.org>

	* include/stdio.h: Only provide __getwc_unlocked prototype if
	USE_IN_LIBIO is defined.

2001-01-04  Kaz Kojima  <kkojima@rr.iij4u.or.jp>

	* sysdeps/unix/sysv/linux/sh/socket.S (__socket): Fix error code
	handling.

2001-01-03  Andreas Schwab  <schwab@suse.de>

	* sysdeps/generic/strtoll.c: Remove unused __strtoq_internal alias.
	* sysdeps/generic/strtoull.c: Remove unused __strtouq_internal alias.

	* sysdeps/wordsize-64/strtol.c: Add strtoq alias and fix strtoll alias.
	* sysdeps/wordsize-64/strtoul.c: Add strtouq alias and fix
	strtoull alias.
	* sysdeps/wordsize-64/wcstol.c: Add wcstoq alias and fix wcstoll alias.
	* sysdeps/wordsize-64/wcstoul.c: Add wcstouq alias and fix
	wcstoull alias.

	* sysdeps/generic/strtoul.c: Make sure we find strtol.c in this
	directory.
	* sysdeps/generic/strtol_l.c: Likewise.
	* sysdeps/generic/strtoul_l.c: Likewise.
	* sysdeps/generic/wcstoul.c: Likewise, for wcstol.c.

	* sysdeps/wordsize-64/strtol_l.c: Fix alias.
	* sysdeps/wordsize-64/strtoul_l.c: Likewise.
	* sysdeps/wordsize-64/wcstol_l.c: Fix alias.
	* sysdeps/wordsize-64/wcstoul_l.c: Likewise.
2001-01-05 01:01:31 +00:00
Andreas Jaeger
7f28638c7d Update.
2001-01-04  Andreas Jaeger  <aj@suse.de>

	* nss/nsswitch.c: Include files for missing prototypes, remove
	buggy declaration of prototypes.
2001-01-04 17:07:06 +00:00
Andreas Jaeger
dc0722b289 Update.
* sysdeps/sparc/sparc64/soft-fp/Versions: Likewise.
2001-01-03 19:59:47 +00:00
Andreas Jaeger
6ea8a113df Update.
2001-01-03  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

	* resolv/Versions: Fix bracing.
	* sysdeps/powerpc/soft-fp/Versions: Likewise.
2001-01-03 17:23:49 +00:00
Ulrich Drepper
f49b52b601 Update.
2001-01-02  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

	* sysdeps/powerpc/dl-machine.c (__process_machine_rela): Fix typo.
2001-01-03 16:13:16 +00:00
Ulrich Drepper
fb0dd05043 Update.
* manual/Makefile (TEXI2PDF): Change to texi2dvi --pdf.
	Suggested by Minko Markov <mmarkov@home.com>.

2001-01-02  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

	* sysdeps/powerpc/elf/start.S (__data_start): Make it global.
	* sysdeps/powerpc/dl-machine.c (dl_reloc_overflow): Print the name of
	the failing symbol.
	(__process_machine_rela): Pass symbol to dl_reloc_overflow().

2001-01-02  Ben Collins  <bcollins@debian.org>

	* time/tzset.c (tzset_internal): Make sure we fall back to UTC
	if TZ is not set and TZDEFAULT is not present.

2001-01-01  Ben Collins  <bcollins@debian.org>

	* string/strings.h: Make sure we declare our functions even if
	string.h is already included, based on whether or not __USE_BSD is
	defined.

2001-01-02  Ulrich Drepper  <drepper@redhat.com>

	* dlfcn/dlerror.c (dlerror): Handle call of dlerror() before any
	other dlopen() and dlsym().
	Based on a patch by Ben Collins <bcollins@debian.org>.

2001-01-02  Andreas Jaeger  <aj@suse.de>

	* dlfcn/errmsg1.c (main): Call dlerror initially.
	Reported by Ben Collins <bcollins@debian.org>.

2001-01-02  Ulrich Drepper  <drepper@redhat.com>
2001-01-03 04:50:22 +00:00
Ulrich Drepper
3470b82679 Update.
2001-01-02  Ulrich Drepper  <drepper@redhat.com>

	* intl/dcigettext.c (guess_category_value): Rewrite so that LANGUAGE
	value is ignored if the selected locale is the C locale.
	* intl/tst-gettext.c: Set locale for above change.
	* intl/tst-translit.c: Likewise.
2001-01-03 04:02:46 +00:00
Andreas Jaeger
1dc72e4ffe Update.
* libio/wgenops.c (_IO_wdoallocbuf): Use correct wide access macro.
	(_IO_switch_to_wget_mode): Likewise.
	(_IO_sputbackwc): Likewise.
	(_IO_sungetwc): Use wint_t for result.

	* stdio-common/vfscanf.c (__vfscanf): Use WINT_T for done.

	* sysdeps/generic/strtol.c (strtol): Make cnt size_t for correct
	signedness.

	* sysdeps/generic/printf_fphex.c (putc): Cast _IO_putwc_unlocked
	to (int) to avoid warnings.
	* stdio-common/printf_fp.c (putc): Likewise.
	* stdio-common/printf_size.c (putc): Likewise.
2001-01-02 17:02:20 +00:00
Andreas Jaeger
78db65139d Update.
2001-01-02  Andreas Jaeger  <aj@suse.de>

	* sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Make
	constant unsigned.
2001-01-02 15:05:08 +00:00
Andreas Jaeger
8261c7547d Update.
2001-01-01  Andreas Jaeger  <aj@suse.de>

	* inet/rcmd.c (rcmd_af): Use socklen_t for len.
2001-01-01 14:53:18 +00:00
Andreas Jaeger
66539a737d Update.
* include/libc-internal.h: Add prototype for __libc_freeres.

	* malloc/mtrace.c: Likewise.
	* malloc/set-freeres.c: Likewise.
2000-12-31 19:13:04 +00:00
Andreas Jaeger
72f70279f4 Update.
* sysdeps/unix/sysv/linux/init-first.c: Include <libc-internals.h>
	for prototypes, remove redundant prototypes.
	* gmon/gmon.c: Likewise.
	* sysdeps/unix/i386/i586/clock_getres.c: Likewise.
	* sysdeps/unix/i386/i586/clock_gettime.c: Likewise.

	* sysdeps/generic/enbl-secure.c: Include <libc-internals.h> for
	prototypes.
	* elf/soinit.c: Likewise.
	* sysdeps/generic/prof-freq.c: Likewise.
	* sysdeps/mach/hurd/profil.c: Likewise.
	* debug/noophooks.c: Likewise.
	* debug/pcprofile.c: Likewise.
	* sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
	* sysdeps/generic/get_clockfreq.c: Likewise.

	* locale/localeinfo.h: Add internal prototypes.

	* elf/rtld.c (dl_main): Fix prototype.
2000-12-31 18:24:24 +00:00
Andreas Jaeger
9346aad7c4 Update.
* iconvdata/tst-table-to.c (main): Use return instead of exit to
	avoid warning.

	* nis/rpcsvc/yp_prot.h: Remove __P.
	* nis/rpcsvc/ypupd.h: Likewise.
	* nis/rpcsvc/yp.h: Likewise.
2000-12-31 16:56:12 +00:00
Andreas Jaeger
fa39f7f7be Update.
* sunrpc/rpc_main.c: Add noreturn attributes.
	* sunrpc/rpc_scan.h: Likewise.

	* sunrpc/rpc_hout.c (storexdrfuncdecl): Make static.

	* sunrpc/rpcinfo.c: Add noreturn attribute to brdcst.

	* sunrpc/proto.h: Add noreturn attributes to error and crash.
2000-12-31 15:43:43 +00:00
Andreas Jaeger
e4aced47ae Update.
* posix/bsd-getpgrp.c: Add prototype to avoid warning.

	* sunrpc/svc_unix.c: Include <rpc/svc.h> for prototypes.

	* sunrpc/create_xid.c: Include <rpc/svc.h> for prototypes.

	* include/rpc/rpc_msg.h: Add prototypes for some functions.
	* include/rpc/auth.h: Likewise.
	* include/rpc/auth_des.h: Likewise.
	* include/rpc/clnt.h: Likewise.
	* include/rpc/rpc.h: Likewise.
	* include/rpc/svc.h: Likewise.
	* include/rpc/svc_auth.h: Likewise.

	* include/rpc/des_crypt.h: New file.
2000-12-31 15:34:47 +00:00
Andreas Jaeger
a2e48a256a Update.
2000-12-31  Andreas Jaeger  <aj@suse.de>

	* malloc/memusagestat.c (main): Use return instead of exit to
	avoid warning.
	* io/pwd.c (main): Likewise.
	* iconvdata/tst-table-from.c (main): Likewise.
	* ctype/test_ctype.c (main): Likewise.
	* setjmp/tst-setjmp.c (main): Likewise.
	* signal/tst-signal.c (main): Likewise.
	* stdlib/tst-strtol.c (main): Likewise.
	* stdlib/tst-strtod.c (main): Likewise.
	* stdlib/tst-strtoll.c (main): Likewise.
	* stdlib/tst-xpg-basename.c (main): Likewise.
	* dirent/tst-seekdir.c (main): Likewise.
	* grp/testgrp.c (main): Likewise.
	* inet/test_ifindex.c (main): Likewise.
	* io/test-utime.c (main): Likewise.
	* posix/test-vfork.c (main): Likewise.
	* posix/testfnm.c (main): Likewise.
	* stdio-common/temptest.c (main): Likewise.
	* stdio-common/test_rdwr.c (main): Likewise.
	* stdio-common/tst-fileno.c (main): Likewise.
	* stdio-common/tst-sscanf.c (main): Likewise.
	* stdio-common/tstscanf.c (main): Likewise.
	* string/bug-strncat1.c (main): Likewise.
	* string/bug-strpbrk1.c (main): Likewise.
	* string/bug-strspn1.c (main): Likewise.
	* string/test-ffs.c (main): Likewise.
	* string/tst-inlcall.c (main): Likewise.
	* string/tst-svc.c (main): Likewise.
	* timezone/test-tz.c (main): Likewise.
	* wctype/test_wcfuncs.c (main): Likewise.
	* wctype/test_wctype.c (main): Likewise.

	* stdlib/tst-random.c: Add attribute noreturn to fail.
2000-12-31 10:52:40 +00:00
Ulrich Drepper
09f5e1635a Update.
2000-12-28  Wolfram Gloger  <wg@malloc.de>

	* malloc/malloc.c (MALLOC_COPY): Handle case if source and
	destination overlap.  Assume dest is always below source if
	overlapping.
2000-12-31 07:39:50 +00:00
Ulrich Drepper
c77a447822 Update.
2000-12-30  Ulrich Drepper  <drepper@redhat.com>

	* elf/dl-close.c (_dl_close): We can ignore the NODELETE flag if the
	object was not yet initialized.

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

	* elf/dl-deps.c (_dl_map_object_deps): Make sure the DSO state
	is always consistent even if its dependency is failed.

	* elf/dl-open.c (_dl_open): Increment the open count before
	calling _dl_close () in case of failure.

	* elf/neededtest4.c: New file.
	* elf/neededobj5.c: New file.
	* elf/neededobj6.c: New file.

	* elf/Makefile (distribute): Add neededobj5.c and neededobj6.c.
	(tests): Add neededtest4.
	(modules-names): Add neededobj5 and neededobj6.
	($(objpfx)neededobj6.so): New target.
	($(objpfx)neededtest4): New target.
	($(objpfx)neededtest4.out): New target.
2000-12-31 06:09:08 +00:00
Ulrich Drepper
d9af88677f Update.
2000-12-28  Joseph S. Myers  <jsm28@cam.ac.uk>

	* misc/sys/cdefs.h (__attribute_format_strfmon__): Define.
	* stdlib/monetary.h: Add strfmon format attributes.
2000-12-29 22:21:02 +00:00
Roland McGrath
547d4019fa * sysdeps/mach/hurd/ioctl.c (do_ioctl): Avoid double-increment after
__mempcpy does it for us.
2000-12-28 20:44:54 +00:00
Andreas Jaeger
e9ffd39f8c Update. 2000-12-28 15:08:51 +00:00
Andreas Jaeger
dde52fca48 Update.
* sysdeps/generic/dl-environ.c: Add prototype for unsetenv.

	* sysdeps/unix/sysv/linux/i386/setrlimit.c: Add prototype for
	__new_setrlimit.

	* sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Add prototype for
	__old_getrlimit64.

	* sysdeps/unix/sysv/linux/i386/getrlimit.c: Add prototype for
	__new_getrlimit.

	* sysdeps/unix/sysv/linux/i386/chown.c: Add prototypes for
	__chown_is_lchown and __real_chown.
2000-12-28 14:22:22 +00:00
Andreas Jaeger
8da8e2dbd2 Update.
* sysdeps/generic/ldsodefs.h: Add noreturn attribute to
	_dl_reloc_bad_type.
2000-12-28 10:35:17 +00:00
Andreas Jaeger
11e0f1cf9e Update.
2000-12-28  Andreas Jaeger  <aj@suse.de>

	* sunrpc/rpc_hout.c (print_funcdef): Add break statement to shut
	up GCC's warning about "deprecated use of label at end of compound
	statement."
	* sunrpc/rpc_cout.c (emit_inline): Likewise.

	* include/argp.h (_argp_unlock_xxx): Add declaration.

	* gmon/bb_exit_func.c: Include <sys/gmon.h> for internal
	prototypes.
	Remove struct bb and __bb_head since those are declared by
	sys/gmon.h.
2000-12-28 10:21:29 +00:00
Andreas Jaeger
01f8c9f234 Update.
2000-12-22  Ben Collins  <bcollins@debian.org>

	* manual/charset.texi: Fix typo in description of WCHAR_MAX.

	* manual/argp.texi: Document argp_domain as part of struct argp.
2000-12-28 08:40:59 +00:00
Andreas Jaeger
a2820ec41f Update.
* catgets/Makefile (generated): Add sample.SJIS.cat.
2000-12-28 08:35:40 +00:00
Andreas Jaeger
12f942cdac Update.
* sunrpc/rpc_dtable.c: Include rpc/clnt.h for prototypes.
2000-12-28 08:28:43 +00:00
Andreas Jaeger
728c24ff87 Update.
* elf/dl-minimal.c: Add prototypes.

	* include/locale.h: Add internal prototypes.
	* include/sys/gmon.h: Likewise.
2000-12-28 07:58:08 +00:00
Andreas Jaeger
a7cfa34189 Update.
2000-12-28  Andreas Jaeger  <aj@suse.de>

	* dlfcn/errmsg1mod.c: Add prototype for foo to shut up GCC.
2000-12-28 06:58:51 +00:00
Ulrich Drepper
7231f6f940 Update.
2000-12-27  Ben Collins  <bcollins@debian.org>

	* elf/dl-open.c (_dl_open): Correctly set the new objname pointer
	when reallocating the error strings.
	Reported by Kalle Olavi Niemitalo <kon@iki.fi>
2000-12-28 04:19:14 +00:00
Ulrich Drepper
f116c77f7b Update.
* dlfcn/Makefile (tests): Add errmsg1.
	(modules-names): Add errmsg1mod.
	Add rules to run errmsg1.
	* dlfcn/errmsg1.c: New file.
	* dlfcn/errmsg1mod.c: New file.
2000-12-28 03:59:21 +00:00
Ulrich Drepper
9c99fa3d31 Update.
* dlfcn/dlerror.c (dlerror): Always create output string which
	includes object file name.
2000-12-28 00:48:48 +00:00
Ulrich Drepper
bb548f63d5 Update.
2000-12-27  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/alpha/alphaev6/memcpy.S: Don't go through unrolled loop
	if we would go through it only once.
	Patch by Rick Gorton <rick.gorton@api-networks.com>.

	* sysdeps/alpha/alphaev67/strncat.S: Fix handling of numeric parameter.
	Patch by Richard Henderson <rth@redhat.com>.

2000-12-27  Jakub Jelinek  <jakub@redhat.com>

	* malloc/malloc.c (memmove): Add prototypes.
	(MALLOC_MEMMOVE): Define.
	(chunk_realloc): Use it instead of MALLOC_COPY if source and
	destination might overlap.
2000-12-27 23:38:53 +00:00
Andreas Jaeger
784d802ea2 Update.
* include/setjmp.h: Likewise.
2000-12-27 20:25:30 +00:00
Andreas Jaeger
ce351e07c9 Update.
2000-12-27  Andreas Jaeger  <aj@suse.de>

	* stdio-common/printf_fp.c (__printf_fp): Add prototype for nested
	function.
	* elf/dl-load.c (_dl_map_object_from_fd): Likewise.
	* locale/programs/locale.c (show_locale_vars): Likewise.
	(show_info): Likewise.
	* locale/programs/ld-collate.c (collate_output): Likewise.
	* locale/programs/ld-ctype.c (set_class_defaults): Likewise.
	* elf/dl-deps.c (_dl_map_object_deps): Likewise.
	* stdlib/rpmatch.c (rpmatch): Likewise.

	* setjmp/tst-setjmp.c: Make local functions static.
	* setjmp/jmpbug.c: Likewise.
	* signal/tst-signal.c: Likewise.
	* stdio-common/tfformat.c: Likewise.
	* string/tst-svc.c: Likewise.
	* time/clocktest.c: Likewise.
	* time/tst-getdate.c: Likewise.
	* dirent/list.c: Likewise.
	* dirent/opendir-tst1.c: Likewise.
	* posix/runtests.c: Likewise.
	* posix/tst-getaddrinfo.c: Likewise.
	* posix/tst-chmod.c: Likewise.
	* posix/wordexp-test.c: Likewise.
	* misc/tst-efgcvt.c: Likewise.
	* timezone/tst-timezone.c: Likewise.
	* rt/tst-clock.c: Likewise.
	* rt/tst-shm.c: Likewise.
	* rt/tst-aio2.c: Likewise.
	* rt/tst-aio3.c: Likewise.
	* rt/tst-aio4.c: Likewise.
	* rt/tst-aio5.c: Likewise.

	* dlfcn/failtest.c: Add prototype for foo.

	* dlfcn/glrefmain.c: Add prototype for do_test.

	* dlfcn/tst-dladdr.c: Add prototype for do_test.

	* string/test-ffs.c (main): Add prototype for nested function.

	* sunrpc/des_soft.c: Include rpc/des_crypt.h for prototype.

	* nss/XXX-lookup.c: Add prototype to shut up GCC.

	* include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): Fix
	setetherent prototype.
	Add internal interfaces.

	* nis/nss_nis/nis-ethers.c (_nss_nis_setetherent): Likewise.
	* nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent): Likewise.

	* resolv/res_data.c: Don't add (conflicting) prototypes for _LIBC.

	* nis/nis_intern.h: Add prototype for __pmap_getnisport.

	* nss/nss_files/files-ethers.c: Include netinet/ether.h to get
	prototypes, remove struct etherent since it's declared in ether.h.
	Fix ntohost declaration.

	* elf/dl-profile.c (_dl_mcount): Add empty statement to shut up GCC.

	* include/getopt.h: Add internal interfaces.
	* include/termios.h: Likewise.
	* include/resolv.h: Likewise.
	* include/netdb.h: Likewise.
	* include/grp.h: Likewise.
	* include/pwd.h: Likewise.
	* include/shadow.h: Likewise.
	* include/rpc/netdb.h: Likewise.

	* include/stdio.h: Add prototypes for compatibility functions.
	* include/grp.h: Likewise.
	* include/pwd.h: Likewise.
	* include/shadow.h: Likewise.

	* include/fenv.h: Define internal interfaces.
2000-12-27 20:19:23 +00:00
Ulrich Drepper
96749bc273 Update.
2000-12-27  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/generic/bits/byteswap.h (__bswap_64): Handle constant
	argument case separately.
	* sysdeps/i386/bits/byteswap.h (__bswap_64): Likewise.
2000-12-27 20:01:49 +00:00
Andreas Jaeger
27ee0a5595 Update.
* include/sys/wait.h: Add some prototypes.
	* Rules (dummy.c): Create also prototype to shut up GCC.

2000-12-27  Andreas Jaeger  <aj@suse.de>
2000-12-27 17:18:07 +00:00
Andreas Jaeger
38eb40ea11 Update.
2000-12-27  Andreas Jaeger  <aj@suse.de>

	* sysdeps/mach/hurd/if_index.c (__protocol_available): Uncomment,
	it's not needed at the moment.
	* sysdeps/generic/if_index.c (__protocol_available): Likewise.
	* sysdeps/unix/sysv/linux/if_index.c (__protocol_available): Likewise.
2000-12-27 08:14:29 +00:00
Andreas Jaeger
03bac9acad Update.
2000-12-26  Andreas Jaeger  <aj@suse.de>

	* libio/getc_u.c: Include stdio.h via system path to get internal
	prototypes.
	* libio/getwc_u.c: Likewise.

	* stdlib/strfmon.c: Fix prototype of __printf_fp.

	* stdio-common/vfprintf.c (process_arg): Move __printf_fphex and
	__printf_fp prototypes to ...
	* include/printf.h: ...here.

	* include/stdio.h: Add some internal prototypes to shut up GCC.
	* include/stdlib.h: Likewise.

	* sysdeps/posix/sigpause.c (__sigpause): Use ISO C prototype
	declaration.

	* include/signal.h: Add prototypes for internal sigpause
	interfaces.
2000-12-27 07:56:28 +00:00
Ulrich Drepper
fc1fb585c6 Update.
* string/Makefile (tests): Add tst-bswap.
	* string/tst-bswap.c: New file.
2000-12-27 04:41:52 +00:00
Ulrich Drepper
945c975dff Update.
2000-12-26  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/generic/bits/byteswap.h (__bswap_64): Make it usable for
	64bit platforms.  Reported by Dave Gilbert <gilbertd@treblig.org>.
2000-12-27 04:24:10 +00:00
Ulrich Drepper
be76803a73 Update.
2000-12-11  Bruno Haible  <haible@clisp.cons.org>

	* Makefile ($(inst_includedir)/gnu/stubs.h): Sort in the C locale.

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

	* sunrpc/Makefile (rpcgen-cmd): Use single quotes in sed call.
	Patch by Ed Connell <Ed.Connell@sas.com>.
2000-12-27 03:30:43 +00:00
Ulrich Drepper
214414c897 Upda.te
2000-12-24  Ulrich Drepper  <drepper@redhat.com>

	* locale/iso-639.def: Correct one entry.  Add two missing entries.

	* locale/iso-4217.def: Change entry for Eritrea.
	Reported by Daniel Yacob <yacob@geez.org>.
2000-12-25 01:11:15 +00:00
Ulrich Drepper
640a3be10f Update.
2000-12-23  Ben Collins  <bcollins@debian.org>

	* manual/charset.texi (Extended Char Intro): Fix typo in ISO 6937
	description.

	* manual/stdio.texi (Dynamic Output): Document the return value of
	asprintf.  Also make the asprintf/snprintf examples a little
	better (check for some error returns).
2000-12-25 00:51:33 +00:00
Andreas Jaeger
b708b1ca77 Update.
2000-12-22  Andreas Jaeger  <aj@suse.de>

	* include/stdio.h: Add __ftrylockfile prototype.
2000-12-22 09:00:20 +00:00
Ulrich Drepper
912f97da3d Update.
2000-12-21  H.J. Lu  <hjl@gnu.org>

	* sysdeps/ia64/fpu/math_ldbl.h (ieee_long_double_shape_type):
	Make sign_exponent element signed.

	* sysdeps/ieee754/ldbl-96/math_ldbl.h (ieee_long_double_shape_type):
	Fix a typo.

	* sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Remove dead branch.
2000-12-21 23:42:32 +00:00
Andreas Jaeger
cc657ce583 Update.
2000-12-21  Andreas Jaeger  <aj@suse.de>

	* nis/nss_nisplus/nisplus-ethers.c (struct etherent): Removed.
	* inet/ether_hton.c: Likewise
	* inet/ether_ntoh.c: Likewise.

	* nis/nss_nis/nis-ethers.c (_nss_nis_getntohost_r): Fix
	declaration to match prototype.

	* include/netinet/ether.h (struct etherent): Declare here so that
	all implementations use the same struct.

	* nis/nss_nis/nis-ethers.c: Include netinet/ether.h to get
	prototypes.
	(struct ether): Removed.
	Use struct etherent instead of ether everywhere.

	* include/rpc/auth.h (DECLARE_NSS_PROTOTYPES): New.

	* include/rpc/auth_des.h (DECLARE_NSS_PROTOTYPES): New.

	* sunrpc/publickey.c: Include auth_des.h for prototypes.

	* test-skeleton.c: Use temp_name_list instead of name_list to
2000-12-21 17:24:40 +00:00
Ulrich Drepper
ddc3ed9d3d Update.
2000-12-20  Ulrich Drepper  <drepper@redhat.com>

	* math/test-misc.c: Add more tests for nextafter functions.

	* sysdeps/i386/fpu/s_nextafterl.c: Handle change from denormal to
	normal correctly.  Correct test for sign.
	Based on a patch by HJ Lu.
2000-12-21 04:17:49 +00:00
Ulrich Drepper
0a4c7b18e2 Update.
2000-12-19  Ulrich Drepper  <drepper@redhat.com>

	* Makeconfig (preprocess-version): Add -traditional to gcc call.
	Cleanup sed calls.
2000-12-20 00:40:36 +00:00
Andreas Jaeger
6c9914d8e1 Update.
2000-12-19  Andreas Jaeger  <aj@suse.de>

	* include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): New.

	* nis/nis_intern.h: Add prototype for __do_niscall3.

	* nis/nss_nis/nis-rpc.c (_nss_nis_setrpcent): Fix declaration to
	match prototype.

	* include/netdb.h (DECLARE_NSS_PROTOTYPES): Reformat.

	* include/rpc/netdb.h (DECLARE_NSS_PROTOTYPES): New.

	* include/aliases.h (DECLARE_NSS_PROTOTYPES): New.
2000-12-19 09:51:05 +00:00
Ulrich Drepper
cc46d0cfcf Update.
* math/test-misc.c: Add more tests for nextafter.
	* sysdeps/i386/fpu/s_nextafterl.c: Handle decrement for x<0 correctly.
	* sysdeps/ieee754/ldbl-96/math_ldbl.h
	(ieee_long_double_shape_type): Make sign_exponent element signed.
2000-12-19 05:07:31 +00:00
Ulrich Drepper
aa9e3c3940 Update.
* manual/message.texi: Add Estonian to plural overview list.
	Correct rule for Slavic languages.
	Patch by Stanislav Brabec <utx@penguin.cz>.
2000-12-19 00:53:04 +00:00
Ulrich Drepper
9b4b880b41 Update.
2000-12-18  Ulrich Drepper  <drepper@redhat.com>

	* nis/nss_nis/nis-netgrp.c: Remove unnecessary initializations.
2000-12-18 17:22:27 +00:00
Andreas Jaeger
51eecc4aff Update.
2000-12-18  Andreas Jaeger  <aj@suse.de>

	* test-skeleton.c: Use temp_name_list instead of temp_name_list to
	avoid collision with name_list from inet/netgroup.h.

	* nss/nss_files/files-network.c (NEED_H_ERRNO): Define.

	* include/grp.h (DECLARE_NSS_PROTOTYPES): New.
	* include/pwd.h (DECLARE_NSS_PROTOTYPES): New.
	* include/netdb.h (DECLARE_NSS_PROTOTYPES): New.
	* include/shadow.h (DECLARE_NSS_PROTOTYPES): New.

	* hesiod/nss_hesiod/hesiod-proto.c (_nss_hesiod_setprotoent): Fix
	declaration to match prototype.
	* hesiod/nss_hesiod/hesiod-pwd.c (_nss_hesiod_setpwent): Likewise.
	* hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_setgrent): Likewise.
	* hesiod/nss_hesiod/hesiod-service.c (_nss_hesiod_setservent):
	Likewise.
	* nis/nss_nis/nis-grp.c (_nss_nis_setgrent): Likewise.
	* nis/nss_nis/nis-pwd.c (_nss_nis_setpwent): Likewise.
	* nis/nss_nis/nis-proto.c (_nss_nis_setprotoent): Likewise.
	* nis/nss_nis/nis-service.c (_nss_nis_setservent): Likewise.
	(_nss_nis_getservbyport_r): Likewise.
	* nis/nss_nis/nis-hosts.c (_nss_nis_sethostent): Likewise.
	* nis/nss_nis/nis-spwd.c (_nss_nis_setspent): Likewise.
	* nis/nss_nis/nis-network.c (_nss_nis_getnetent_r): Likewise.
	(_nss_nis_setnetent): Likewise
	* nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
	(_nss_nis_endnetgrent): Likewise.
	* nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_endnetgrent):
	Likewise.
	(_nss_nisplus_setnetgrent): Likewise.
	* nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Likewise.
	* nis/nss_nisplus/nisplus-pwd.c (_nss_nisplus_setpwent): Likewise.
	* nis/nss_nisplus/nisplus-grp.c (_nss_nisplus_setgrent): Likewise.
	* nis/nss_nisplus/nisplus-network.c (_nss_nisplus_setnetent):
	Likewise.
	* nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_sethostent):
	Likewise.
	* nis/nss_nisplus/nisplus-service.c (_nss_nisplus_setservent):
	Likewise.
	* nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_setprotoent):
	Likewise.
	* nis/nss_compat/compat-spwd.c (_nss_compat_setspent): Likewise.
	* nis/nss_compat/compat-pwd.c (_nss_compat_setpwent): Likewise.
	* nis/nss_compat/compat-grp.c (_nss_compat_setgrent): Likewise.
	* resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
	* resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Likewise.
	(_nss_dns_getnetbyaddr_r): Likewise.
2000-12-18 16:40:40 +00:00
Andreas Jaeger
b6e2071240 Update.
* sysdeps/generic/k_sinl.c (__kernel_sinl): Fix functions
	parameter.

	* sysdeps/unix/sysv/linux/shm_open.c (freeit): Make static and add
	unused attribute to shut up gcc warnings.

	* sysdeps/generic/k_sinl.c: Include math_private for prototypes.
	* sysdeps/generic/k_tanl.c: Likewise.
	* sysdeps/generic/k_cosl.c: Likewise.
	* sysdeps/generic/e_j0l.c: Likewise.
	* sysdeps/generic/e_j1l.c: Likewise.
	* sysdeps/generic/e_jnl.c: Likewise.
	* sysdeps/generic/e_lgammal_r.c: Likewise.
2000-12-17 18:12:07 +00:00
Andreas Jaeger
5c80f57cfc Update.
* elf/neededobj1.c: Likewise.
	* elf/neededobj2.c: Likewise.
	* elf/neededobj3.c: Likewise.
	* elf/neededobj4.c: Likewise.
	* elf/nextmod1.c: Likewise.
	* elf/nextmod2.c: Likewise.
2000-12-17 17:50:56 +00:00
Andreas Jaeger
715ed1e9a5 Update.
2000-12-17  Andreas Jaeger  <aj@suse.de>

	* elf/vismain.c: Move prototypes for functions in vismod*.c to
	vismod.h.
	* elf/vismod.h: New file.
	* elf/Makefile (distribute): Add vismod.h.
	* elf/vismod1.c: Include vismod.h.
	* elf/vismod2.c: Likewise.
	* elf/vismod3.c: Likewise.

	* elf/constload3.c: Add prototype declarations to shut up gcc.
	* elf/failobj.c: Likewise.
	* elf/nodelmod3.c: Likewise.
	* elf/filtmod1.c: Likewise.
	* elf/filtmod2.c: Likewise.
	* elf/reldepmod1.c: Likewise.
	* elf/reldepmod2.c: Likewise.
	* elf/reldepmod3.c: Likewise.
	* elf/reldepmod4.c: Likewise.
	* elf/unload2dep.c: Likewise.
	* elf/unload2mod.c: Likewise.
	* elf/ltglobmod1.c: Likewise.
	* elf/pathoptobj.c: Likewise.

	* locale/programs/ld-collate.c (collate_finish): Don't use labels
	at end of compound statement.
	* locale/programs/locale.c (show_info): Likewise.
	* resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
2000-12-17 17:09:01 +00:00
Ulrich Drepper
0a70515e2e Update.
2000-12-16  Jakub Jelinek  <jakub@redhat.com>

	* catgets/gencat.c (read_input_file): Avoid calling obstack_free
	with a pointer not returned by obstack_ functions.

	* sysdeps/unix/sysv/aix/bits/stat.h (struct stat): Align with AIX
	version.
	(struct stat64): Likewise.
	Reported by Michael Keezer <mkeezer@redhat.com>.
2000-12-16 18:25:45 +00:00
Ulrich Drepper
3d73829c18 Update.
2000-12-16  Ulrich Drepper  <drepper@redhat.com>

	* timezone/asia: Update from tzdata2000h.
	* timezone/australasia: Likewise.
	* timezone/backward: Likewise.
	* timezone/europe: Likewise.
	* timezone/northamerica: Likewise.
	* timezone/southamerica: Likewise.
	* timezone/zone.tab: Likewise.

2000-12-14  Jakub Jelinek  <jakub@redhat.com>

	* io/ftw.c (ftw_dir): If process_entry returned non-zero result
	and dir.stream is NULL, only free dir.content.
	* io/ftwtest.c (cb, main): Add --early-exit option to test it.
	* io/ftwtest-sh: Test with --early-exit.
2000-12-16 17:50:48 +00:00
Ulrich Drepper
887e7ab6c5 Update.
2000-12-13  Jakub Jelinek  <jakub@redhat.com>

	* misc/efgcvt.c (FCVT_MAXDIG): Define.
	(FCVT_BUFPTR): New variable.
	(fcvt): If fcvt_r returns -1 on the static short buffer,
	try to malloc a sufficiently large one and retry.
	(free_mem): New function.
	* misc/qefgcvt.c (FCVT_MAXDIG): Define.
	* misc/tst-efgcvt.c (fcvt_tests): Add new test.

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

	* misc/dirname.c (dirname): Fix search for second to last slash.

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

	* misc/tst-dirname.c (main): Fix typo in test to really use
	the examples from Unix98.
	Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
2000-12-16 07:54:18 +00:00
Ulrich Drepper
bafd15679c Update.
2000-12-09  H.J. Lu  <hjl@gnu.org>

	* sysdeps/ia64/fpu/s_fabs.S: New file.
	* sysdeps/ia64/fpu/s_fabsf.S: New file.
	* sysdeps/ia64/fpu/s_fabsl.S: New file.

2000-12-10  Richard Henderson  <rth@redhat.com>
2000-12-16 04:48:49 +00:00
Andreas Jaeger
1a511d3105 Update.
2000-12-15  Andreas Jaeger  <aj@suse.de>

	* stdio-common/scanf9.c (main): Reformat and change to avoid
	warnings.

	* stdio-common/tstdiomisc.c: Make local functions static.
	* stdio-common/tst-printf.c: Likewise.

	* elf/constload2.c: Add prototype declarations to shut up gcc.
	* elf/dep1.c: Likewise.
	* elf/dep2.c: Likewise.
	* elf/dep3.c: Likewise.
	* elf/dep4.c: Likewise.
	* elf/ltglobmod2.c: Likewise.

	* libio/fmemopen.c: Make local functions static.

	* elf/Makefile (distribute): Added testobj.h.

	* elf/testobj.h: New file.

	* elf/testobj1.c: Include testobj.h and move prototype
	declarations to testobj.h.
	* elf/testobj2.c: Likewise.
	* elf/testobj3.c: Likewise.
	* elf/testobj4.c: Likewise.
	* elf/testobj5.c: Likewise.
	* elf/testobj6.c: Likewise.
	* elf/testobj1_1.c: Likewise.
	* elf/preloadtest.c: Likewise.
2000-12-15 16:03:57 +00:00
Andreas Jaeger
8ab5926a26 Update.
2000-12-15  Ben Collins  <bcollins@debian.org>

	* misc/sys/cdefs.h: Fix thinko in checks for flexarr macros.
	Patch by Akim Demaille <akim@epita.fr> in Debian bug report.
2000-12-15 14:16:56 +00:00
Andreas Jaeger
940f075460 Update.
2000-12-14  H.J. Lu  <hjl@gnu.org>

	* sysdeps/ieee754/flt-32/s_sincosf.c (__sincosf): The exponent
	field in a float is 8 bits, not 11 bits.
2000-12-15 06:42:07 +00:00
Andreas Jaeger
7b84d1296b Update.
2000-12-13  Jakub Jelinek  <jakub@redhat.com>

	* math/test-misc.c (main): Adjust m for IEEE quad long double.
2000-12-13 14:04:38 +00:00
Andreas Jaeger
b71f84a07f Update.
* manual/message.texi (Using gettextized software): Fix typo.

	* manual/charset.texi (Converting a Character): Fix mbstouwcs
	program to compile.
	Patch by Martin Buchholz <martin@xemacs.org>.
2000-12-13 10:56:28 +00:00
Andreas Jaeger
13193a3837 Update.
2000-12-13  Andreas Jaeger  <aj@suse.de>

	* sysdeps/unix/sysv/linux/sigpending.c (sigpending): Fix typo.
	Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
2000-12-13 08:48:42 +00:00
Andreas Jaeger
1e3869d809 Update.
2000-12-11  Andreas Jaeger  <aj@suse.de>

	* sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Declare
	kernel_sigset_t and use it.
	Patch by Hiroyuki Machida <machida@sm.sony.co.jp>.
2000-12-11 19:27:26 +00:00
Ulrich Drepper
874b4dd5e8 Update.
2000-12-10  Richard Henderson <rth@redhat.com>

	* sysdeps/alpha/alphaev67/fpu/Implies: New file.
	* sysdeps/alpha/alphaev6/fpu/e_sqrtf.S: New file.
	* sysdeps/alpha/alphaev6/fpu/e_sqrt.S: New file.
2000-12-11 04:36:53 +00:00
Ulrich Drepper
a31530e355 Update.
* sysdeps/alpha/htonl.S: Fix a typo.

2000-12-10  Jakub Jelinek  <jakub@redhat.com>
2000-12-10 22:34:55 +00:00
Ulrich Drepper
adc85e2f59 Update.
2000-12-10  Jakub Jelinek  <jakub@redhat.com>

	* sysdeps/alpha/alphaev6/stxcpy.S: Exchange t8 with t10.
2000-12-10 22:28:48 +00:00
Andreas Jaeger
4e8d52c929 Update.
cast as suggested by Jakub Jelinek <jakub@redhat.com> and Ulrich
	Drepper <drepper@redhat.com>.
2000-12-10 16:14:00 +00:00
Andreas Jaeger
9068de3309 Update.
2000-12-10  Andreas Jaeger  <aj@suse.de>

	* locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fixed
	cast as suggested by Jakub Jelinek <jakub@redhat.com>.

2000-12-06  Jim Wilson	<wilson@redhat.com>
2000-12-05  Martin Schwidefsky	<schwidefsky@de.ibm.com>
2000-11-22  Paul Eggert	 <eggert@twinsun.com>
2000-11-28  Masahide Washizawa	<washi@jp.ibm.com>
2000-11-21  Alan Modra	<alan@linuxcare.com.au>
2000-11-21  Martin Schwidefsky	<schwidefsky@de.ibm.com>
	failed.	 Use gettext() not _().
2000-11-09  Martin Schwidefsky	<mschwide@nc.boeblingen.de.ibm.com>
2000-12-10 11:25:44 +00:00
Andreas Jaeger
0a12bf88f1 Update.
2000-12-09  Andreas Jaeger  <aj@suse.de>

	* sysdeps/unix/sysv/linux/mips/sigaction.c: New file.

	* sysdeps/unix/sysv/linux/mips/sys/acct.h: Removed, we can use the
	generic version.
	Patches by Hiroyuki Machida <machida@sm.sony.co.jp>.

	* locale/programs/ld-collate.c (handle_ellipsis): Fix format
	string.

	* locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fix
	format string.

	* nscd/hstcache.c (addhstbyname): Add cast to avoid warning.
	* nscd/connections.c (handle_request): Likewise.
	* nscd/pwdcache.c (addpwbyname): Likewise.
	* nscd/grpcache.c (addgrbyname): Likewise.

	* nscd/nscd_conf.c (nscd_parse_file): Remove extra argument.
2000-12-09 18:33:58 +00:00
Ulrich Drepper
c13f651e0f Update.
* string/stratcliff.c: Add tests for stpncpy, memcpy, and mempcpy.
2000-12-09 18:10:15 +00:00
Ulrich Drepper
1d5c2feb1c Update.
2000-12-09  Ulrich Drepper  <drepper@redhat.com>

	* Makeconfig (default_cflags): Make -O2 the default for stable
	releases.

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

	* sysdeps/ia64/fpu/s_isinfl.S: Renamed to ...
	* sysdeps/ia64/fpu/s_isinf.S: This.
	Add a .pred.rel.mutex note to avoid false report.

	* sysdeps/ia64/fpu/s_isnanl.S: Renamed to ...
	* sysdeps/ia64/fpu/s_isnan.S: This.

	* sysdeps/ia64/fpu/s_fpclassify.S: New file.
	* sysdeps/ia64/fpu/s_fpclassifyf.S: New file.
	* sysdeps/ia64/fpu/s_fpclassifyl.S: New file.
	* sysdeps/ia64/fpu/s_isinff.S: New file.
	* sysdeps/ia64/fpu/s_isinfl.S: New file.
	* sysdeps/ia64/fpu/s_isnanf.S: New file.
	* sysdeps/ia64/fpu/s_isnanl.S: New file.
	* sysdeps/ia64/fpu/s_finite.S: New file.
	* sysdeps/ia64/fpu/s_finitef.S: New file.
	* sysdeps/ia64/fpu/s_finitel.S: New file.
	* sysdeps/ia64/fpu/s_signbit.S: New file.
	* sysdeps/ia64/fpu/s_signbitf.S: New file.
	* sysdeps/ia64/fpu/s_signbitl.S: New file.
	* sysdeps/ia64/fpu/s_copysign.S: New file.
	* sysdeps/ia64/fpu/s_copysignf.S: New file.
	* sysdeps/ia64/fpu/s_copysignl.S: New file.
2000-12-09 16:41:02 +00:00
Ulrich Drepper
a9a569606b Update.
* math/libm-test.inc (main): Fix typos in messages.
2000-12-09 03:58:22 +00:00