aboutsummaryrefslogtreecommitdiff
path: root/conform
AgeCommit message (Collapse)Author
2001-03-09Allow SO* symbols.Ulrich Drepper
2001-02-02Update.Ulrich Drepper
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-01-28Update.Ulrich Drepper
* conform/data/pthread.h-data: Correct return type of pthread_exit.
2001-01-28Update.Ulrich Drepper
* conform/conformtest.pl: Add -fno-builtin to CFLAGS.
2001-01-28Update.Ulrich Drepper
* conform/data/stdlib.h-data: Add _Exit.
2001-01-28Update.Ulrich Drepper
* conform/data/netinet/in.h-data: Allow all of <inttypes.h>.
2001-01-28Update.Ulrich Drepper
* conform/data/spawn.h-data: Allow all of <sched.h>.
2001-01-28Update.Ulrich Drepper
* conform/conformtest.pl: Undo last change. Define $mustprepend{"stdio.h"}. * libio/stdio.h: Define va_list correctly.
2001-01-28Update.Ulrich Drepper
* conform/conformtest.pl: Define $mustprepend{"stdio.h"}. * libio/stdio.h: Always define __need___va_list.
2001-01-28Update.Ulrich Drepper
* conform/data/pthread.h-data: Make priority protocol related functions optional. Fix typos.
2001-01-28Update.Ulrich Drepper
* 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-28Update.Ulrich Drepper
* 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-27Update.Ulrich Drepper
* 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-27Update.Ulrich Drepper
* 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-27Update.Ulrich Drepper
* conform/data/sys/shm.h-data: SHMLBA is not required to by a constant. * conform/conformtest.pl: Implement handling of symbol.
2001-01-27Update.Ulrich Drepper
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-27Update.Ulrich Drepper
* 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-27Update.Ulrich Drepper
* conform/data/stdio.h-data: Account for changes in XPG6.
2001-01-27Update.Ulrich Drepper
* conform/data/spawn.h-data: Correct posix_spawnattr_setflags prototype.
2001-01-27Update.Ulrich Drepper
* 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-27Update.Ulrich Drepper
* 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-27Update.Ulrich Drepper
* 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-27Update.Ulrich Drepper
* 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-27Update.Ulrich Drepper
* 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-27Update.Ulrich Drepper
* 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-26Update.Ulrich Drepper
* conform/data/limits.h-data: Mark constants as optional wherever appropriate.
2001-01-26Update.Ulrich Drepper
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-26Fix a few typos.Ulrich Drepper
2001-01-26Update.Ulrich Drepper
* io/sys/stat.h: Define S_IFSOCK for XPG6. * conform/data/fcntl.h-data: posix_madvise is not expected here.
2001-01-26Update.Ulrich Drepper
* conform/conformtest.pl: Fix handling of macro-str.
2001-01-26Update.Ulrich Drepper
* conform/data/inttypes.h-data: Add missing definition and all of stdint.h-data.
2001-01-26Update.Ulrich Drepper
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-26Update.Ulrich Drepper
* conform/conformtest.pl: Recognize options --headers and --dialect. Add dialect-specific CFLAGS.
2001-01-26Update.Ulrich Drepper
* conform/conformtest.pl: Implement handling of recursive allow-header. * conform/data/locale.h-data: Add new struct lconv members.
2001-01-25Update.Ulrich Drepper
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-25Update.Ulrich Drepper
* 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-25Update.Ulrich Drepper
* conform/conformtest.pl: Implement optional-constant. * conform/data/unistd.h-data: Use optional-constant wherever appropriate.
2001-01-25Update.Ulrich Drepper
* sysdeps/generic/bits/confname.h: Correct names of _SC_PBS constants and add _SC_STREAMS. * sysdeps/posix/sysconf.c (__sysconf): Likewise.
2001-01-25Update.Ulrich Drepper
* 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-25Update.Ulrich Drepper
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-25Update.Ulrich Drepper
* conform/data/wordexp.h-data: Fix typo.
2001-01-25Update.Ulrich Drepper
* conform/conformtest.pl: Handle allow-header correctly. * conform/data/time.h-data: Use correct comment form.
2001-01-25Update.Ulrich Drepper
* conform/conformtest.pl (checknamespace): Ignore #undef lines.
2000-08-03Update.Ulrich Drepper
* 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-01Update.Andreas Jaeger
* 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-05-21Update.Ulrich Drepper
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-02Update.Andreas Jaeger
* 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-02Update.Andreas Jaeger
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-01Update.Ulrich Drepper
* conform/data/spawn.h-data: Likewise.
2000-04-30Update.Ulrich Drepper
* 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>