diff options
author | Andreas Jaeger <aj@suse.de> | 2000-05-02 18:18:59 +0000 |
---|---|---|
committer | Andreas Jaeger <aj@suse.de> | 2000-05-02 18:18:59 +0000 |
commit | 20d4963949a675d4ac969130dc9c225744196735 (patch) | |
tree | df52364ac330faedc0c338cc255c9876a51b21ea /conform/data | |
parent | 741befc828efab5c8c4c97d7c1e58f7a54ccedc2 (diff) | |
download | glibc-20d4963949a675d4ac969130dc9c225744196735.zip glibc-20d4963949a675d4ac969130dc9c225744196735.tar.gz glibc-20d4963949a675d4ac969130dc9c225744196735.tar.bz2 |
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.
Diffstat (limited to 'conform/data')
-rw-r--r-- | conform/data/cpio.h-data | 4 | ||||
-rw-r--r-- | conform/data/limits.h-data | 129 |
2 files changed, 131 insertions, 2 deletions
diff --git a/conform/data/cpio.h-data b/conform/data/cpio.h-data index 10df73a..c6f4d89 100644 --- a/conform/data/cpio.h-data +++ b/conform/data/cpio.h-data @@ -19,8 +19,8 @@ constant C_ISCHR 0020000 constant C_ISCTG 0110000 constant C_ISLNK 0120000 constant C_ISSOCK 0140000 -# XXX We should be able to test a constant string content here. -constant MAGIC + +macro-str MAGIC "070707" allow *_t #endif diff --git a/conform/data/limits.h-data b/conform/data/limits.h-data new file mode 100644 index 0000000..45864f8 --- /dev/null +++ b/conform/data/limits.h-data @@ -0,0 +1,129 @@ +// if these values exist, we should check the minimal value +allow AIO_LIST_MAX +allow AIO_MAX +allow AIO_PRIO_DELTA_MAX +allow ARG_MAX +allow ATEXT_MAX +allow CHILD_MAX +allow DELAYTIMER_MAX +allow IOV_MAX +allow LOGIN_NAME_MAX +allow MQ_OPEN_MAX +allow OPEN_MAX +allow PAGESIZE +allow PAGE_SIZE +allow PTHREAD_DESTRUCTOR_ITERATIONS +allow PTHREAD_KEYS_MAX +allow PTHREAD_STACK_MIN +allow PTHREAD_THREADS_MAX +allow RE_DUP_MAX +allow RTSIG_MAX +allow SEM_NSEMS_MAX +allow SEM_VALUE_MAX +allow SIGQUEUE_MAX +allow SS_REPL_MAX +allow STREAM_MAX +allow SYMLOOP_MAX +allow TIMER_MAX +allow TTY_NAME_MAX +allow TZNAME_MAX + +allow FILESIZEBITS +allow LINK_MAX +allow MAX_CANON +allow MAX_INPUT +allow NAME_MAX +allow PATH_MAX +allow PIPE_BUF +allow POSIX_ALLOC_SIZE_MIN +allow POSIX_REC_INCR_XFER_SIZE +allow POSIX_REC_MAX_XFER_SIZE +allow POSIX_REC_XFER_ALIGN +allow SYMLINK_MAX + +macro BC_BASE_MAX +macro BC_DIM_MAX +macro BC_SCALE_MAX +macro BC_STRING_MAX +macro CHARCLASS_NAME_MAX +macro COLL_WEIGHTS_MAX +macro EXPR_NEST_MAX +macro LINE_MAX +constant NGROUPS_MAX >= 8 +macro RE_DUP_MAX + +constant _POSIX_CLOCKRES_MIN <= 20000000 + +constant _POSIX_AIO_LISTIO_MAX 2 +constant _POSIX_AIO_MAX 1 +constant _POSIX_ARG_MAX 4096 +constant _POSIX_CHILD_MAX 6 +constant _POSIX_DELAYTIMER_MAX 32 +constant _POSIX_LINK_MAX 8 +constant _POSIX_LOGIN_NAME_MAX 9 +constant _POSIX_MAX_CANON 255 +constant _POSIX_MAX_INPUT 255 +constant _POSIX_MQ_OPEN_MAX 8 +constant _POSIX_MQ_PRIO_MAX 32 +constant _POSIX_NAME_MAX 14 +constant _POSIX_NGROUPS_MAX 0 +constant _POSIX_OPEN_MAX 16 +constant _POSIX_PATH_MAX 256 +constant _POSIX_PIPE_BUF 512 +constant _POSIX_RE_DUP_MAX 255 +constant _POSIX_RTSIG_MAX 8 +constant _POSIX_SEM_NSEMS_MAX 256 +constant _POSIX_SEM_VALUE_MAX 32767 +constant _POSIX_SIGQUEUE_MAX 32 +constant _POSIX_SSIZE_MAX 32767 +constant _POSIX_STREAM_MAX 8 +constant _POSIX_SS_REPL_MAX 4 +constant _POSIX_SYMLINK_MAX 255 +constant _POSIX_SYMLOOP_MAX 8 +constant _POSIX_THREAD_DESTRUCTOR_ITERATIONS 4 +constant _POSIX_THREAD_KEYS_MAX 128 +constant _POSIX_THREAD_THREADS_MAX 64 +constant _POSIX_TIMER_MAX 32 +constant _POSIX_TTY_NAME_MAX 9 +constant _POSIX_TZNAME_MAX 6 +constant _POSIX2_BC_BASE_MAX 99 +constant _POSIX2_BC_DIM_MAX 2048 +constant _POSIX2_BC_SCALE_MAX 99 +constant _POSIX2_BC_STRING_MAX 1000 +constant _POSIX2_CHARCLASS_NAME_MAX 14 +constant _POSIX2_COLL_WEIGHTS_MAX 2 +constant _POSIX2_EXPR_NEST_MAX 32 +constant _POSIX2_LINE_MAX 2048 +constant _POSIX2_RE_DUP_MAX 255 +constant _XOPEN_IOV_MAX 16 + +constant CHAR_BIT >= 8 +constant CHAR_MAX +constant INT_MAX >= 2147483647 +constant LONG_BIT >= 32 +constant MB_LEN_MAX >= 1 +constant LONG_MAX >= 2147483647 +constant SCHAR_MAX >= 127 +constant SHRT_MAX >= 32767 +constant SSIZE_MAX +constant UCHAR_MAX >= 255 +constant UINT_MAX >= 4294967295 +constant ULONG_MAX >= 4294967295 +constant USHRT_MAX >= 65535 +constant WORD_BIT >= 16 +constant CHAR_MIN +constant INT_MIN <= 2147483647 +constant LONG_MIN <= 2147483647 +constant SCHAR_MIN <= -127 +constant SHRT_MIN <= -32767 + +constant CHARCLASS_NAME_MAX >= 14 +constant NL_ARGMAX >= 9 +constant NL_LANGMAX >= 14 +constant NL_MSGMAX >= 32767 +constant NL_NMAX +constant NL_SETMAX >= 255 +constant NL_TEXTMAX +constant NZERO >= 20 +constant TMP_MAX >= 10000 + |