Ulrich Drepper
6f0ea37903
Update.
...
* conform/data/sys/socket.h-data: Fix typos. Correct getsockopt,
recvfrom, send, and socketpair prototypes. Add allow lines.
* socket/sys/socket.h: Include <sys/uio.h>.
Don't use fancy __SOCKADDR_ARG definition unless __USE_GNU.
Fix type of second parameter of listen.
Don't declare isfdtype unless __USE_MISC.
* sysdeps/generic/listen.c: Fix type of second parameter of listen.
* sysdeps/mach/hurd/listen.c: Likewise.
* sysdeps/generic/bits/socket.h (struct sockaddr_storage): Define
ss_family and __ss_family.
* sysdeps/unix/sysv/aix/bits/socket.h: Likewise.
* sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
(struct msghdr): Change type of msg_iovlen to int and type of
msg_controllen to socklen_t.
* sysdeps/unix/sysv/linux/alpha/bits/socket.h: New file.
* sysdeps/unix/sysv/linux/ia64/bits/socket.h: New file.
* sysdeps/unix/sysv/linux/sparc/sparc64/bits/socket.h: New file.
2001-01-27 21:26:25 +00:00
Ulrich Drepper
257abbe2e3
Update.
...
* conform/data/sys/shm.h-data: SHMLBA is not required to by a constant.
* conform/conformtest.pl: Implement handling of symbol.
2001-01-27 19:45:21 +00:00
Ulrich Drepper
2ff458ebe6
Update.
...
2001-01-27 Ulrich Drepper <drepper@redhat.com>
* signal/signal.h: Fix handling of __need_* symbols.
* misc/sys/select.c: Define fd_set here. Remove __fd_set. Define
fd_mask only if __USE_MISC. Declare pselect for __USE_XOPEN2K.
* include/sys/select.h: Use fd_set not __fd_set.
* sysdeps/generic/bits/select.h: Likewise.
* sysdeps/i386/bits/select.h: Likewise.
* sysdeps/generic/bits/types.h: Don't define __fd_mask, __NFDBITS,
__FDELT, __FDMASK, and __fd_set here.
* sysdeps/unix/sysv/aix/bits/types.h: Likewise.
* sysdeps/unix/sysv/hpux/bits/types.h: Likewise.
* sysdeps/unix/sysv/linux/bits/types.h: Likewise.
* sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
* sysdeps/unix/sysv/linux/ia64/bits/types.h: Likewise.
* sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
* sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
* time/sys/time.h: Define struct timeval before including <time.h>
and <sys/select.h>.
* conform/data/sys/time.h-data: fd_set is a typedef.
* conform/data/sys/select.h-data: New file.
* conform/data/sys/mman.h-data: Make typed mem stuff optional.
* conform/conformtest.pl (@headers): Add sys/select.h.
(type, optional-type): Unless testing a typedef instantiate object.
Implement optional-function.
* math/test-misc.c: Include <float.h>.
2001-01-27 19:28:32 +00:00
Ulrich Drepper
eec409170b
Include <float.h>.
2001-01-27 19:09:14 +00:00
Andreas Jaeger
ded0a89994
Update.
...
2001-01-27 Andreas Jaeger <aj@suse.de>
* misc/efgcvt_r.c: Include <float.h>.
2001-01-27 10:55:10 +00:00
Andreas Jaeger
1420df2c2e
Include <float.h>.
2001-01-27 10:54:50 +00:00
Ulrich Drepper
0423ee1769
(Environment Access): Adjust comment about setenv() being BSD-only.
2001-01-27 08:32:08 +00:00
Ulrich Drepper
344be96af4
Update.
...
Change return type of random to long int.
2001-01-27 08:21:42 +00:00
Ulrich Drepper
842d709cb3
Update.
...
* include/stdlib.h: Change return type of unsetenv to int.
2001-01-27 08:17:38 +00:00
Ulrich Drepper
61f9d0a356
Update.
...
* conform/data/stdlib.h-data: Account for XPG6 changes.
* stdlib/stdlib.h (__random): Change return value type to long.
(posix_memalign): Cleanup parameter names.
(setenv, unsetenv): Make available for __USE_XOPEN2K.
Change return type of unsetenv to int.
(qecvt, qgcvt, qfcvt): Declare only if __USE_MISC.
* sysdeps/generic/setenv.c (unsetenv): Change return type to int.
Return -1 and set errno if parameter is invalid.
* stdlib/random.c (__random): Change return value type to long.
2001-01-27 07:07:07 +00:00
Ulrich Drepper
69bd45bdbd
Update.
...
* conform/data/stdio.h-data: Account for changes in XPG6.
2001-01-27 06:42:01 +00:00
Ulrich Drepper
edf9cc8901
Update.
...
* conform/data/spawn.h-data: Correct posix_spawnattr_setflags
prototype.
2001-01-27 06:35:43 +00:00
Ulrich Drepper
5a9339d5bb
Update.
...
* conform/conformtest.pl: Define $mustprepend{"signal.h"}.
* conform/data/signal.h-data: Fix sigev_notify_function entry.
Fix typo (SIGVALRM -> SIGVTALRM).
* sysdeps/unix/sysv/linux/bits/siginfo.h: Define sigev_notify_attr
with real type.
* sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Likewise.
* sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
* sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
2001-01-27 06:30:48 +00:00
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