Joseph Myers
a05a144b13
conformtest: Improve math.h tests for X/Open versions.
2012-05-01 19:59:15 +00:00
Joseph Myers
73c5ebe344
conformtest: Use correct feature test macros for XPG4.
2012-05-01 19:58:35 +00:00
Joseph Myers
39c33b6cbc
conformtest: Handle "symbol" lines for allow-header.
2012-05-01 19:58:06 +00:00
Joseph Myers
0749ff8b81
conformtest: Remove duplicate typed-constant handling.
2012-04-28 01:42:06 -07:00
Joseph Myers
41d73a1bc0
conformtest: Fix typo in handling typed-constant from allow-header.
2012-04-28 01:27:20 -07:00
David S. Miller
b855ab8539
Run conformtest script explicitly using BASH.
...
* conform/Makefile: Run run-conformtest.sh using $(BASH).
2012-03-27 15:02:19 -07:00
Thomas Schwinge
8149f97606
Don't tamper with $HOME.
2012-03-21 18:10:03 +01:00
Ulrich Drepper
a4300c7a4d
Remove distribute variable from Makefiles
2012-03-07 05:17:13 -05:00
Ulrich Drepper
ba63ba0882
Restrict run-conformtest runs
2012-02-26 21:45:44 -05:00
Ulrich Drepper
d94a467080
Add first fixes for conformtest for POSIX2008
2012-02-26 21:32:56 -05:00
Ulrich Drepper
4efeffc1d5
Fix up POSIX testing in conformtest
2012-02-26 13:17:27 -05:00
Ulrich Drepper
3134156779
First steps to get conformtest fully working
2012-02-25 23:18:39 -05:00
Paul Eggert
59ba27a63a
Replace FSF snail mail address with URLs.
2012-02-09 23:18:22 +00:00
Ulrich Drepper
a784e50247
Remove pre-ISO C support
...
No more __const.
2012-01-07 23:57:22 -05:00
Bruno Haible
e4ecafe004
Fix getnameinfo flags parameter type.
2011-05-01 21:36:43 -04:00
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
Roland McGrath
d902256754
2001-08-22 Roland McGrath <roland@frob.com>
...
* conform/conformtest.pl (checknamespace): Sort the output list.
2001-08-23 04:34:36 +00:00
Ulrich Drepper
668770fc51
Update.
...
* conform/conformtest.pl: <inttypes.h> test required <stddef.h>.
2001-08-19 01:33:45 +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
Andreas Jaeger
41bdb6e20c
Update to LGPL v2.1.
...
2001-07-06 Paul Eggert <eggert@twinsun.com>
* manual/argp.texi: Remove ignored LGPL copyright notice; it's
not appropriate for documentation anyway.
* manual/libc-texinfo.sh: "Library General Public License" ->
"Lesser General Public License".
2001-07-06 Andreas Jaeger <aj@suse.de>
* All files under GPL/LGPL version 2: Place under LGPL version
2.1.
2001-07-06 04:58:11 +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
5d9167133c
Update.
...
2001-02-01 Ulrich Drepper <drepper@redhat.com>
* Makerules (build-shlib): Add $(extra-B-$(@F:lib%.so=%).so).
* configure.in: Test for -z initfirst linker option.
* config.make.in: Add have-z-initfirst.
* elf/dl-init.c (_dl_init): Split out actual initialization code in
new function call_init. If _dl_initfirst is non-NULL initialize first.
* elf/dl-load.c (_dl_map_from_fd): If DF_1_INITFIRST flag is set
remember object in _dl_initfirst.
* elf/soinit.c: Remove special support for calling
__pthread_initialize_minimal.
* conform/conformtest.pl: Add missing $prepend in type test.
* elf/elf.h (SHT_CHECKSUM): New definition.
* posix/tst-fnmatch.input: Add tests for [. .] in locales.
2001-02-02 06:19:24 +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
140ec5106e
Update.
...
* conform/conformtest.pl: Add -fno-builtin to CFLAGS.
2001-01-28 23:11:23 +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
3bf3d361fa
Update.
...
* conform/conformtest.pl: Undo last change. Define
$mustprepend{"stdio.h"}.
* libio/stdio.h: Define va_list correctly.
2001-01-28 09:37:21 +00:00
Ulrich Drepper
f9b9f291b7
Update.
...
* conform/conformtest.pl: Define $mustprepend{"stdio.h"}.
* libio/stdio.h: Always define __need___va_list.
2001-01-28 09:13:22 +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
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
ef7aba4c90
Update.
...
* conform/data/limits.h-data: Mark constants as optional wherever
appropriate.
2001-01-26 18:58:19 +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
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
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
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
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
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
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
aaf688e85f
Update.
...
* Makeconfig (all-subdirs): Add conform.
* conform/Makefile: Include ../Rules.
* Makefile (README): Add rules to generate here as well.
2000-08-02 Ulrich Drepper <drepper@redhat.com>
2000-08-03 04:40:50 +00:00
Andreas Jaeger
eba8c0e224
Update.
...
* conform/data/netdb.h-data: Remove getipnodebyaddr and friends.
* include/netdb.h: Remove getipnodebyaddr and friends, leave
constants in.
* nis/Versions: Remove _nss_nis_getipnodebyname_r and
_nss_nisplus_getipnodebyname_r.
* nis/nss_nis/nis-hosts.c (_nss_nis_getipnodebyname_r): #if 0 for
now, getipnodebyname is deprecated.
* nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_getipnodebyname_r): Likewise.
* inet/Makefile (routines): Don't build getipnodebyaddr and
friends.
2000-08-01 16:05:21 +00:00
Ulrich Drepper
0efb48a1df
Update.
...
2000-05-21 Ulrich Drepper <drepper@redhat.com>
* iconv/iconv.h (iconv): Remove const from inbuf parameter.
* iconv/iconv.c: Likewise.
* conform/data/iconv.h-data: Likewise.
* intl/dcigettext.c: Fix typo in comment.
David Huggins-Daines <dhd@linuxcare.com>
2000-05-21 20:13:15 +00:00
Andreas Jaeger
75cabb043f
Update.
...
* conform/data/tar.h-data: Add some checks for specific values.
* conform/data/stdlib.h-data: Add checks for value of EXIT_SUCCESS
and RAND_MAX.
* conform/data/stdio.h-data: Add checks for value of TMP_MAX and
FOPEN_MAX.
* conform/data/netinet/in.h-data: Add exact checks for the values
fo INET_ADDRSTRLEN and INET6_ADDRSTRLEN.
* conform/data/float.h-data: Add some minimal values.
2000-05-02 19:09:48 +00:00
Andreas Jaeger
20d4963949
Update.
...
2000-05-02 Andreas Jaeger <aj@suse.de>
* conform/conformtest.pl: Test for macros with string constants,
check for minimum and maximum values.
Add limits.h to headers.
* conform/data/cpio.h-data: Test for value of MAGIC.
* conform/data/limits.h-data: New file.
2000-05-02 18:18:59 +00:00
Ulrich Drepper
782af2c07f
Update.
...
* conform/data/spawn.h-data: Likewise.
2000-05-01 22:00:00 +00:00
Ulrich Drepper
adcf0e4a33
Update.
...
* iconv/iconv_prog.c (main): Handle input file name "-" correctly.
Recognize option -s, -c, and -l.
2000-04-20 Thorsten Kukuk <kukuk@suse.de>
* nscd/nscd.c: Start new session for nscd, drop privilegs
to configured user if requested and no -S parameter are used.
* nscd/nscd.conf: Add new option "server-user".
* nscd/nscd_conf.c: Add support for new "server-user" option.
* nscd/nscd.h: Add declaration for server_user variable.
Based on patch by Chris Wing <wingc@engin.umich.edu>
2000-04-29 Mark Kettenis <kettenis@gnu.org>
* sysdeps/unix/sysv/linux/i386/sigaction.c: Add comment explaining
that changing the __restore and __restore_rt signal return code
will break GDB.
2000-04-29 Mark Kettenis <kettenis@gnu.org>
* sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Do not include
<sys/user.h>.
2000-04-29 Mark Kettenis <kettenis@gnu.org>
* conform/data/ucontext.h-data: Allow ss_* instead of SS_*.
2000-04-29 Ulrich Drepper <drepper@redhat.com>
2000-04-30 06:52:59 +00:00
Ulrich Drepper
9d4d69b88b
Update.
...
* conform/conformtest.pl (@headers): Add sys/utsname.h, sys/un.h,
sys/socket.h, spawn.h, netinet/tcp.h, netinet/in.h, net/if.h, and
arpa/inet.h.
* conform/data/fcntl.h-data: Add F_GETOWN, F_SETOWN,
SEEK_SET, SEEK_CUR, SEEK_END, S_IFMT, S_IFBLK, S_IFCHR, S_IFIFO,
S_IFREG, S_IFDIR, S_IFLNK, S_IFSOCK, S_IRWXU, S_IRUSR S_IWUSR,
S_IXUSR, S_IRWXG, S_IRGRP, S_IWGRP, S_IXGRP, S_IRWXO, S_IROTH,
S_IWOTH, S_IXOTH, S_ISUID, S_ISGID, S_ISVTX, POSIX_FADV_NORMAL,
POSIX_FADV_SEQUENTIAL, POSIX_FADV_RANDOM, POSIX_FADV_WILLNEED,
POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE, posix_fadvise,
posix_fallocate, and posix_madvise.
* conform/data/netdb.h-data: New file.
* conform/data/pthread.h-data: Add pthread_barrier_t,
pthread_barrierattr_t, pthread_barrier_destroy,
pthread_barrier_init, pthread_barrier_wait,
pthread_barrierattr_destroy, pthread_barrierattr_getpshared,
pthread_barrierattr_init, pthread_barrierattr_setpshared,
pthread_condattr_getclock, pthread_condattr_setclock,
pthread_getcpuclockid, pthread_mutex_timedlock,
pthread_rwlock_timedrdlock, pthread_rwlock_timedwrlock,
pthread_sigmask, pthread_spin_destroy, pthread_spin_init,
pthread_spin_lock, pthread_spin_trylock, and pthread_spin_unlock.
* conform/data/sched.h-data: Add sched_ss_low_priority,
sched_ss_repl_period, sched_ss_init_budget, sched_ss_max_repl, and
SCHED_SPORADIC.
* conform/data/semaphore.h-data: Add sem_timedwait.
* conform/data/signal.h-data: Add SIGIO.
* conform/data/spawn.h-data: New file.
* conform/data/stdlib.h-data: Add posix_memalign, setenv, and unsetenv.
* conform/data/time.h-data: Add CLOCK_PROCESS_CPUTIME_ID,
CLOCK_THREAD_CPUTIME_ID, clock_getcpuclockid, and clock_nanosleep.
Fix typo in gmtime_r definition.
* conform/data/unistd.h-data: Add _POSIX_ADVISORY_INFO,
_POSIX_ASYNCHRONOUS_IO, _POSIX_BARRIERS, _POSIX_MONOTONIC_CLOCK,
_POSIX_READER_WRITER_LOCKS, _POSIX_SHELL, _POSIX_SPAWN,
_POSIX_SPIN_LOCKS, _POSIX_SPORADIC_SERVER, _POSIX_THREAD_CPUTIME,
_POSIX_TYPED_MEMORY_OBJECTS, _POSIX_THREAD_SPORADIC_SERVER,
_XOPEN_STREAMS, _POSIX_TIMEOUTS, _POSIX2_PBS,
_POSIX2_PBS_ACCOUNTING, _POSIX2_PBS_CHECKPOINT,
_POSIX2_PBS_LOCATE, _POSIX2_PBS_MESSAGE, _POSIX2_PBS_TRACK,
_SC_2_PBS, _SC_2_PBS_ACCOUNTING, _SC_2_PBS_CHECKPOINT,
_SC_2_PBS_LOCATE, _SC_2_PBS_MESSAGE, _SC_2_PBS_TRACK,
_SC_BARRIERS, _SC_BASE, _SC_CLOCK_SELECTION, _SC_DEVICE_IO,
_SC_DEVICE_SPECIFIC, _SC_DEVICE_SPECIFIC_R, _SC_FD_MGMT, _SC_FIFO,
_SC_FILE_ATTRIBUTES, _SC_FILE_LOCKING, _SC_FILE_SYSTEM,
_SC_MEMORY_PROTECTION, _SC_MESSAGE_PASSING, _SC_MONOTONIC_CLOCK,
_SC_MESSAGE_PASSING, _SC_MONOTONIC_CLOCK, _SC_MULTIPLE_PROCESS,
_SC_NETWORKING, _SC_PIPE, _SC_READER_WRITER_LOCKS, _SC_REGEXP,
_SC_SHELL, _SC_SIGNALS, _SC_SINGLE_PROCESS, _SC_SPIN_LOCKS,
_SC_TYPED_MEMORY_OBJECTS, _SC_USER_GROUPS, _SC_USER_GROUPS_R,
_SC_STREAMS, _PC_REC_INCR_XFER_SIZE, _PC_REC_MAX_XFER_SIZE,
_PC_REC_MIN_XFER_SIZE, _PC_REC_XFER_ALIGN, setegid, seteuid. Fix
typo in off_t definition.
* conform/data/net/if.h-data: New file.
* conform/data/netinet/in.h-data: New file.
* conform/data/netinet/tcp.h-data: New file.
* conform/data/sys/mman.h-data: Add POSIX_MADV_NORMAL,
POSIX_MADV_SEQUENTIAL, POSIX_MADV_RANDOM, POSIX_MADV_WILLNEED,
POSIX_MADV_DONTNEED, POSIX_TYPED_MEM_ALLOCATE,
POSIX_TYPED_MEM_ALLOCATE_CONTIG, POSIX_TYPED_MEM_MAP_ALLOCATABLE,
posix_typedmem_info, posix_mem_offset, posix_typed_mem_get_info,
and posix_typed_mem_open.
* conform/data/sys/socket.h-data: New file.
* conform/data/sys/stat.h-data: Add S_TYPEISTMO and isfdtype.
* conform/data/sys/types.h-data: Add pthread_barrier_t,
pthread_barrierattr_t, and pthread_spinlock_t.
* conform/data/sys/un.h-data: New file.
* conform/data/sys/utsname.h-data: New file.
* include/netdb.h (__gethostbyaddr_r): Fix types of first and second
parameter.
* inet/gethstbyad.c (gethostbyname): Likewise.
* inet/gethstbyad_t.c (gethostbyname_r): Likewise.
* inet/getipnodebyad.c (getipnodebyad): Likewise.
* nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyaddr_r): Likewise.
* nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_gethostbyaddr_r):
Likewise.
* nscd/gethstbyad_r.c (gethostbyaddr_r): Likewise.
* nscd/nscd_gethst_r.c (__nscd_gethostbyaddr_r): Likewise.
* nscd/nscd_proto.h (__nscd_gethostbyaddr_r): Likewise.
* nss/nss_files/files-hosts.c (_nss_files_gethostbyaddr_r): Likewise.
* resolv/gethnamaddr.c (gethostbyname): Likewise.
* resolv/netdb.h (struct hostent): Fix type of h_length member.
(gethostbyaddr, getipnodebyaddr, gethostbyaddr_r): Fix types of first
and second parameter.
2000-04-29 Andreas Jaeger <aj@suse.de>
* conform/data/arpa/inet.h-data: New file.
2000-04-30 04:17:35 +00:00