Ulrich Drepper
952df0afdc
Fix definition and testing of S_ISSOCK.
2010-04-04 01:51:01 -07:00
Ulrich Drepper
2e3e1b3309
More test suite fixes.
2010-01-12 20:11:10 -08:00
Ulrich Drepper
dfe11a137c
Fix up grp.h for XPG7.
2010-01-12 20:01:46 -08:00
Ulrich Drepper
505cf2c00a
Fix up netdb.h for XPG7.
2010-01-12 16:43:00 -08:00
Ulrich Drepper
86df697d80
Fix thinko in last patch.
2010-01-12 12:20:15 -08:00
Ulrich Drepper
a9625ea95f
Internal namespace test improvements.
2010-01-12 12:18:08 -08:00
Ulrich Drepper
d3c7e68655
Fix up pthread.h for XPG7.
2010-01-12 12:13:04 -08:00
Ulrich Drepper
4bfc6ab9ae
Fix up sys/select.h test for XPG7.
2010-01-12 07:49:10 -08:00
Ulrich Drepper
e00a72ef5e
Fix up sys/stat.h for XPG7.
2010-01-11 21:11:29 -08:00
Ulrich Drepper
91251b7f54
Fix up tests of math.h and tgmath.h for XPG[67].
2010-01-11 20:54:12 -08:00
Ulrich Drepper
75eb41b42e
Fix time.h POSIX test.
2010-01-11 20:12:53 -08:00
Ulrich Drepper
e531ede5af
Fix up wchar.h for XPG7.
2010-01-11 20:07:47 -08:00
Ulrich Drepper
37c8e46632
Fix typo in wordexp.h tests.
2010-01-11 19:06:15 -08:00
Ulrich Drepper
1bdfadb4cc
Fix up unistd.h tests.
2010-01-11 18:37:42 -08:00
Ulrich Drepper
7cdb5a32f9
Fix up unistd.h for XPG7.
2010-01-11 14:43:46 -08:00
Ulrich Drepper
7b4715c536
Fix compile error.
2010-01-11 03:41:22 -08:00
Ulrich Drepper
33780b6d33
FIx up signal.h for XPG7.
2010-01-10 18:43:30 -08:00
Ulrich Drepper
99d46ae379
Fix up sys/wait.h header for XPG7.
2010-01-10 11:06:06 -08:00
Ulrich Drepper
f9cfa295ae
Fix up sys/types.h for XPG7.
...
Also fix a test.
2010-01-10 07:16:54 -08:00
Ulrich Drepper
18598ff105
Cleanup strings.h.
...
Cleanup the strings.h header for XPG7 and update the tests.
2010-01-10 02:08:32 -08:00
Ulrich Drepper
cd2f000c07
Fix standalone stdio.h inclusion.
2010-01-10 00:39:22 -08:00
Ulrich Drepper
f095bb7204
Add support for XPG7 testing.
...
The header conformance testing code needed extending for XPG7. This
exposed a few bugs in the headers. There are more changes to come.
2010-01-09 10:56:41 -08:00
Ulrich Drepper
a53d3f8295
[BZ #5607 ]
...
2008-01-16 Ulrich Drepper <drepper@redhat.com>
[BZ #5607 ]
* conform/data/fcntl.h-data: Fix posix_fadvise and posix_fallocate
prototypes.
* conform/data/limits.h-data: Adjust limits changed in v6 and add
additional suffixes.
* conform/data/mqueue.h-data: Fix typo in mq_curmsgs entry.
Add optional functions mq_timedreceive and mq_timedsend.
* conform/data/netdb.h-data: Add more AI_* and EAI_* constants.
* conform/data/pthread.h-data: Fix prototype of
pthread_condattr_setclock. pthread_sigmask is not required in v6.
* conform/data/semaphore.h-data: Allow time.h definitions.
* conform/data/signal.h-data: Likewise.
* conform/data/stdio.h-data: getw and putw are not required in v6.
* conform/data/stdlib.h-data: Change setstate prototype.
* conform/data/string.h-data: Fix strerror_r prototype.
* conform/data/time.h-data: Fix typo in TIMER_ABSTIME definition.
* conform/data/unistd.h-data: pthread_atfork not required in v6.
Fix readlink prototype.
* conform/data/netinet/in.h-data: Add const to in6addr_any and
in6addr_loopback.
* inet/netinet/in.h: Cleanup namespace.
* posix/regex.h: Likewise.
* resolv/netdb.h: Likewise.
* sysdeps/unix/sysv/linux/bits/in.h: Likewise.
* sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
* sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Likewise.
2008-01-16 10:11:18 +00:00
Ulrich Drepper
fbe90cd5c7
* conform/data/fmtmsg.h-data: Add missing allows.
...
* conform/data/ftw.h-data: Likewise.
* conform/data/inttypes.h-data: Likewise.
* conform/data/math.h-data: Likewise.
* conform/data/signal.h-data: Likewise.
* conform/data/net/if.h-data: Likewise.
* conform/data/netinet/in.h-data: Likewise.
* conform/data/sys/socket.h-data: Likewise.
2008-01-15 21:30:09 +00:00
Roland McGrath
328b540006
2004-05-26 Roland McGrath <roland@frob.com>
...
* sysdeps/generic/bits/in.h
(IMPLINK_IP, IMPLINK_LOWEXPER, IMPLINK_HIGHEXPER): Macros removed.
These are long obsolete in BSD systems where they originated.
* conform/data/netinet/in.h-data: Remove `allow IMPLINK_*'
2004-05-26 19:21:39 +00:00
Ulrich Drepper
f0b1c8ea85
Add strerror_r prototype.
2002-04-23 21:16:22 +00:00
Ulrich Drepper
b6d64fb0f9
Update.
...
* wcsmbs/wchar.h (wcwdith): Change parameter type to wchar_t.
* wcsmbs/wcwidth.c (wcwdith): Likewise.
* wcsmbs/wcwidth.h (internal_wcwdith): Likewise.
* conform/data/unistd.h-data: Remove _SC_MULTIPLE_PROCESS.
* conform/data/ucontext.h-data: Fix typos in ucontext_t element tests.
2001-08-19 01:09:06 +00:00
Ulrich Drepper
689849878d
Update.
...
* time/time.h (struct timespec): Use __time_t for tv_sec element.
* sysdeps/generic/inttypes.h: Define __wchar_t. Use it instead of
wchar_t for function declarations and defintions.
* misc/sys/select.h: Define __need_time_t before including <time.h>.
Define suseconds_t if it hasn't happened yet.
* iconv/gconv.h: Define __need_wchar_t before including <stddef.h>.
* conform/data/sys/uio.h-data: Allow UIO_MAXIOV to be defined.
* sysdeps/generic/stdint.h: Don't get definition of wchar_t from
<stddef.h>.
* conform/data/stddef.h-data: Remove wint_t.
2001-08-18 23:36:58 +00:00
Ulrich Drepper
9c777dfe83
Update.
...
2001-08-18 Ulrich Drepper <drepper@redhat.com>
* conform/conformtest.pl: Change namespace test to take #undef
lines into account.
* conform/data/netinet/in.h-data: Fix typo in allow-header line.
* conform/data/sys/socket.h-data: Add sockatmark.
2001-08-18 11:55:52 +00:00
Ulrich Drepper
0f4b99a643
Update.
...
2001-08-17 Ulrich Drepper <drepper@redhat.com>
* conform/data/netdb.h-data: Adjust gai_strerror return type.
* misc/getpass.c: Include wchar.h for prototypes.
* malloc/obstack.c: Likewise.
2001-08-18 00:46:40 +00:00
Ulrich Drepper
639c324856
Update.
...
2001-03-18 Ulrich Drepper <drepper@redhat.com>
* Makerules (build-shlib): Remove unnecessary slashes introduced in
last change.
* configure.in: Test for -Bgroup option of linker.
* config.make.in: Define have-Bgroup.
* conform/data/unistd.h-data: Require gethostname.
* posix/unistd.h: Make gethostname prototype available for
__USE_XOPEN2K.
* crypt/Makefile: When generating DSO link with libc_nonshared.a.
* debug/Makefile: Likewise.
* dlfcn/Makefile: Likewise.
* hesiod/Makefile: Likewise.
* iconvdata/extra-module.mk: Likewise.
* locale/Makefile: Likewise.
* login/Makefile: Likewise.
* math/Makefile: Likewise.
* nis/Makefile: Likewise.
* nss/Makefile: Likewise.
* resolv/Makefile: Likewise.
* rt/Makefile: Likewise.
* posix/unistd.h (gethostname): Change type of second parameter
back to size_t as per upcoming XPG6.
2001-03-18 21:34:58 +00:00
Ulrich Drepper
4e0fc56262
Allow SO* symbols.
2001-03-09 17:16:03 +00:00
Ulrich Drepper
38447cbe4e
Update.
...
* conform/data/pthread.h-data: Correct return type of pthread_exit.
2001-01-28 23:34:27 +00:00
Ulrich Drepper
dfae0b7df7
Update.
...
* conform/data/stdlib.h-data: Add _Exit.
2001-01-28 22:59:44 +00:00
Ulrich Drepper
59c8d6e147
Update.
...
* conform/data/netinet/in.h-data: Allow all of <inttypes.h>.
2001-01-28 21:17:59 +00:00
Ulrich Drepper
3c5912ee45
Update.
...
* conform/data/spawn.h-data: Allow all of <sched.h>.
2001-01-28 20:33:02 +00:00
Ulrich Drepper
ddd1037e4d
Update.
...
* conform/data/pthread.h-data: Make priority protocol related
functions optional. Fix typos.
2001-01-28 08:44:55 +00:00
Ulrich Drepper
73b6bffcfb
Update.
...
* conform/data/time.h-data: CLK_TCK is not in XPG6. Fix tzname entry.
* sysdeps/mach/hurd/bits/time.h: Don't define CLK_TCK for XPG6.
* sysdeps/mach/hurd/i386/bits/time.h: Likewise.
* sysdeps/unix/sysv/linux/bits/time.h: Likewise.
* sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
* sysdeps/unix/sysv/linux/i386/bits/time.h: Likewise.
* sysdeps/unix/sysv/linux/ia64/bits/time.h: Likewise.
* time/time.h: Likewise.
* conform/conformtest.pl (@headers): Add complex.h and tgmath.h.
* conform/data/complex.h-data: New file.
* conform/data/tgmath.h-data: New file.
* conform/data/wchar.h-data: Add missing functions.
* sysdeps/gnu/bits/utmpx.h: Define RUN_LVL only if __USE_GNU.
* conform/data/termios.h-data: Add missing const in tcsetattr()
prototype.
* posix/sys/wait.h: Include <signal.h> and <sys/resource.h>.
Don't define pid_t here.
* conform/data/sys/utsname.h-data: Don't provide fixed array sizes.
2001-01-28 05:38:29 +00:00
Ulrich Drepper
8be918b7bb
Update.
...
* conform/data/sys/time.h-data: Allow sys/select.h.
* conform/data/sys/un.h-data: Fix typo.
* time/sys/time.h: Don't include all of <time.h>, just struct timeval.
* sysdeps/posix/clock_getres.c: Include <time.h> instead of
<sys/time.h>.
* sysdeps/unix/clock_nanosleep.c: Likewise.
* sysdeps/unix/i386/clock_getcpuclockid.c: Likewise.
* sysdeps/unix/i386/i586/clock_getres.c: Likewise.
* sysdeps/unix/clock_gettime.c: Also include <time.h>.
* sysdeps/unix/clock_settime.c: Likewise.
* sysdeps/generic/pselect.c: Include <stddef.h> for NULL.
* login/getutent.c: Likewise.
* login/getutid.c: Likewise.
* login/getutline.c: Likewise.
* socket/sys/un.h: Define SUN_LEN only if __USE_MISC.
2001-01-28 00:00:08 +00:00
Ulrich Drepper
09a2231b58
Update.
...
* sysdeps/unix/sysv/linux/bits/statvfs.h: Change type of f_fsid field
to unsigned long. Add __f_unused. Define _STATVFSBUF_F_UNUSED.
* sysdeps/unix/sysv/linux/internal_statvfs.c: Adjust initialization of
f_fsid field after change in struct statvfs.
* sysdeps/unix/sysv/linux/alpha/bits/statvfs.h: New file.
* sysdeps/unix/sysv/linux/ia64/bits/statvfs.h: New file.
* sysdeps/unix/sysv/linux/sparc/sparc64/bits/statvfs.h: New file.
* conform/data/sys/stat.h-data: Remove isfdtype. Use
optional-macro.
2001-01-27 22:44:52 +00:00
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
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