=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/include/limits.h,v retrieving revision 1.15 retrieving revision 1.16 diff -c -r1.15 -r1.16 *** src/include/limits.h 2008/02/10 09:59:54 1.15 --- src/include/limits.h 2012/06/30 20:21:10 1.16 *************** *** 1,4 **** ! /* $OpenBSD: limits.h,v 1.15 2008/02/10 09:59:54 kettenis Exp $ */ /* $NetBSD: limits.h,v 1.7 1994/10/26 00:56:00 cgd Exp $ */ /* --- 1,4 ---- ! /* $OpenBSD: limits.h,v 1.16 2012/06/30 20:21:10 guenther Exp $ */ /* $NetBSD: limits.h,v 1.7 1994/10/26 00:56:00 cgd Exp $ */ /* *************** *** 44,61 **** #define _POSIX_MAX_CANON 255 #define _POSIX_MAX_INPUT 255 #define _POSIX_NAME_MAX 14 - #define _POSIX_NGROUPS_MAX 0 - #define _POSIX_OPEN_MAX 16 #define _POSIX_PATH_MAX 256 #define _POSIX_PIPE_BUF 512 #define _POSIX_RE_DUP_MAX 255 #define _POSIX_SSIZE_MAX 32767 #define _POSIX_STREAM_MAX 8 #define _POSIX_SYMLINK_MAX 255 #define _POSIX_SYMLOOP_MAX 8 #if __POSIX_VISIBLE >= 200112 #define _POSIX_TZNAME_MAX 6 #else #define _POSIX_TZNAME_MAX 3 #endif --- 44,69 ---- #define _POSIX_MAX_CANON 255 #define _POSIX_MAX_INPUT 255 #define _POSIX_NAME_MAX 14 #define _POSIX_PATH_MAX 256 #define _POSIX_PIPE_BUF 512 #define _POSIX_RE_DUP_MAX 255 + #define _POSIX_SEM_NSEMS_MAX 256 + #define _POSIX_SEM_VALUE_MAX 32767 #define _POSIX_SSIZE_MAX 32767 #define _POSIX_STREAM_MAX 8 #define _POSIX_SYMLINK_MAX 255 #define _POSIX_SYMLOOP_MAX 8 + #define _POSIX_THREAD_DESTRUCTOR_ITERATIONS 4 + #define _POSIX_THREAD_KEYS_MAX 128 + #define _POSIX_THREAD_THREADS_MAX 4 + #if __POSIX_VISIBLE >= 200112 + #define _POSIX_NGROUPS_MAX 8 + #define _POSIX_OPEN_MAX 20 #define _POSIX_TZNAME_MAX 6 #else + #define _POSIX_NGROUPS_MAX 0 + #define _POSIX_OPEN_MAX 16 #define _POSIX_TZNAME_MAX 3 #endif *************** *** 75,91 **** #endif /* __POSIX_VISIBLE >= 200112 */ #endif /* __POSIX_VISIBLE */ ! #if __XPG_VISIBLE ! #define PASS_MAX 128 /* _PASSWORD_LEN from */ ! #define NL_ARGMAX 9 #define NL_LANGMAX 14 #define NL_MSGMAX 32767 - #define NL_NMAX 1 #define NL_SETMAX 255 #define NL_TEXTMAX 255 ! #define TMP_MAX 308915776 #endif /* __XPG_VISIBLE */ #include --- 83,109 ---- #endif /* __POSIX_VISIBLE >= 200112 */ #endif /* __POSIX_VISIBLE */ ! #if __XPG_VISIBLE || __POSIX_VISIBLE >= 200809 #define NL_ARGMAX 9 #define NL_LANGMAX 14 #define NL_MSGMAX 32767 #define NL_SETMAX 255 #define NL_TEXTMAX 255 + #endif ! #if _XPG_VISIBLE ! # if __XPG_VISIBLE < 600 ! # define PASS_MAX 128 /* _PASSWORD_LEN from */ ! # define TMP_MAX 308915776 ! # endif ! ! # if __XPG_VISIBLE < 700 ! # define NL_NMAX 1 ! # endif ! ! #define _XOPEN_IOV_MAX 16 ! #define _XOPEN_NAME_MAX 255 ! #define _XOPEN_PATH_MAX 1024 #endif /* __XPG_VISIBLE */ #include