Commit Graph

6520 Commits

Author SHA1 Message Date
Ulrich Drepper da23829807 Update.
* conform/conformtest.pl: Implement optional-element.  Define
	$mustprepend{"sched.h"}.

	* conform/data/sched.h-data: Make sporadic scheduler definitions
	optional.

	* pwd/pwd.h: Don't define getpwent_r for XPG.
2001-01-27 05:30:29 +00:00
Ulrich Drepper 3eee130454 Update.
* io/sys/poll.h: Define nfds_t and use it in poll prototype.
	* sysdeps/generic/poll.c: Use nfds_t type in function definition.
	* sysdeps/mach/hurd/poll.c: Likewise.
	* sysdeps/unix/bsd/poll.c: Likewise.
	* sysdeps/unix/sysv/linux/poll.c: Likewise.
	* sysdeps/unix/sysv/aix/poll.c: Likewise.
	* sysdeps/generic/bits/poll.h: Define NPOLLFILE only if __USE_MISC.
	* sysdeps/unix/sysv/linux/bits/poll.h: Likewise.
	* sysdeps/unix/sysv/linux/m68k/bits/poll.h: Likewise.
	* sysdeps/unix/sysv/linux/mips/bits/poll.h: Likewise.
	* sysdeps/unix/sysv/linux/sparc/bits/poll.h: Likewise.
	* conform/data/poll.h-data: Fix typo in poll prototype.
2001-01-27 05:01:26 +00:00
Ulrich Drepper feb4f75926 Update.
* sysdeps/gnu/netinet/tcp.h: Define everything but TCP_ macros
	only if __USE_MISC.
	* conform/data/netinet/tcp.h-data: Reserved prefix TCP_.
2001-01-27 04:41:31 +00:00
Ulrich Drepper 84d7b1ea9e Update.
* sysdeps/gnu/net/if.h: Cleanup namespace.  Define IF_NAMESIZE.
2001-01-27 04:10:50 +00:00
Ulrich Drepper 126f53e86d Update.
* inet/netinet/in.h: Make IPPROTO_ constants also macros.
2001-01-27 03:03:05 +00:00
Ulrich Drepper ccd4b479dc Update.
* conform/conformtest.pl: Implement optional-type.

	* resolv/netdb.h: Include <netinet/in.h> not <sys/socket.h>.  Include
	<rpc/netdb.h> only if __USE_MISC.  Include <stdint.h> instead of
	defining uint32_t here.  Define IPPORT_RESERVED.
	(struct hostent): Type of h_length element is int.
	(getnameinfo): Type of flags parameter is unsigned int.
	* inet/getnameinfo.c (getnameinfo): flags argument is unsigned.
	* conform/data/netdb.h-data: Add many missing definitions.
2001-01-27 02:27:46 +00:00
Ulrich Drepper 12b64309cf Update.
* conform/conformtest.pl: Implement optional-macro.
	* conform/data/math.h-data: Update for XPG6.

	* math/math.h (HUGE): Define as FLT_MAX value but don't use
	FLT_MAX.  Don't include <float.h>.
	(MAXFLOAT): Likewise.

	* math/math.h: Define MATH_ERRNO and MATH_ERREXCEPT.
2001-01-27 00:15:16 +00:00
Ulrich Drepper a7927149a1 Update.
* include/bits/xopen_lim.h: Don't define FOPEN_MAX here.
2001-01-26 19:25:17 +00:00
Ulrich Drepper ef7aba4c90 Update.
* conform/data/limits.h-data: Mark constants as optional wherever
	appropriate.
2001-01-26 18:58:19 +00:00
Ulrich Drepper dbc3e61b6d Update.
* posix/bits/posix2_lim.h: Set correct values for
	_POSIX2_COLL_WEIGHTS_MAX and _POSIX2_CHARCLASS_NAME_MAX.  Remove
	EQUIV_CLASS_MAX.
2001-01-26 18:56:29 +00:00
Ulrich Drepper 0c0b9451f8 Update.
* posix/bits/posix1_lim.h: Define _POSIX_TZNAME_MAX as 6.
	Required by POSIX.
2001-01-26 18:27:51 +00:00
Ulrich Drepper 58593d2eb9 Update.
* intl/loadmsgcat.c: Include <locale.h.> for _LIBC.
2001-01-26 17:18:04 +00:00
Ulrich Drepper 5876389a58 Update.
2001-01-26  Ulrich Drepper  <drepper@redhat.com>

	* conform/data/netinet/in.h-data: Add reserved prefixes.

	* conform/data/arpa/inet.h-data: Fix a few typos.
2001-01-26 17:02:29 +00:00
Ulrich Drepper d35cd064c6 Fix a few typos. 2001-01-26 17:01:03 +00:00
Andreas Jaeger 6d6e4021ee Update.
* string/strcoll.c: Likewise.
	* string/strxfrm.c: Likewise.
	* wctype/wcfuncs_l.c: Likewise.
	* wctype/wctype_l.c: Likewise.
	* wctype/wctrans_l.c: Likewise.
2001-01-26 13:42:50 +00:00
Andreas Jaeger f46a097c5d Update.
* sysdeps/generic/strtol.c: Include <locale.h>
	* stdlib/strtod.c: Likewise
	* stdlib/strfmon.c: Likewise.
2001-01-26 13:22:13 +00:00
Andreas Jaeger 4422df02dc Update.
2001-01-26  Andreas Jaeger  <aj@suse.de>

	* include/bits/locale.h: New file.
2001-01-26 13:13:06 +00:00
Andreas Jaeger 3fa2c31af7 New file. 2001-01-26 13:12:51 +00:00
Ulrich Drepper d0376ea799 Update.
* locale/langinfo.h: Correct logic in #ifs when defining YESSTR
	and NOSTR.
2001-01-26 09:25:28 +00:00
Ulrich Drepper 3e154a6f93 Update.
* locale/Makefile (headers): Add bits/locale.h.
	* locale/langinfo.h: Don't include <locale.h>.  Include <bits/locale.h>
	and use __LC_ constants instead of LC_.
	* locale/locale.h: Include <bits/locale.h> and define LC_ constants
	using __LC_ constants.
	* locale/bits/locale.h: New file.
	* locale/loadlocale.c: Include <locale.h>.
	* locale/nl_langinfo.h: Likewise.
2001-01-26 09:22:30 +00:00
Ulrich Drepper 97ac0eafb8 Update.
* posix/glob.h: Cleanup namespace for non-_GNU_SOURCE case.
2001-01-26 09:02:38 +00:00
Ulrich Drepper 1e4380f8fc Update.
* io/sys/stat.h: Define S_IFSOCK for XPG6.

	* conform/data/fcntl.h-data: posix_madvise is not expected here.
2001-01-26 08:54:05 +00:00
Ulrich Drepper 7cc9fcf4fd Update.
* conform/conformtest.pl: Fix handling of macro-str.
2001-01-26 08:46:20 +00:00
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
Ulrich Drepper ac259c27be (str_to_mpn): Correct parsing of thousands separators. 2001-01-24 22:10:30 +00:00