Browse Source

Updates based on Single Unix; OK deraadt@

o _POSIX_CHILD_MAX increased to 25
o _POSIX2_RE_DUP_MAX renamed _POSIX_RE_DUP_MAX
o _POSIX_SYMLINK_MAX and SYMLINK_MAX added (same as PATH_MAX)
o _POSIX_SYMLOOP_MAX and SYMLOOP_MAX added (like MAXSYMLINKS)
OPENBSD_3_6
millert 20 years ago
parent
commit
0014f12b9a
1 changed files with 6 additions and 3 deletions
  1. +6
    -3
      src/include/limits.h

+ 6
- 3
src/include/limits.h View File

@ -1,4 +1,4 @@
/* $OpenBSD: limits.h,v 1.8 2003/06/02 19:34:12 millert Exp $ */
/* $OpenBSD: limits.h,v 1.9 2004/05/31 18:31:52 millert Exp $ */
/* $NetBSD: limits.h,v 1.7 1994/10/26 00:56:00 cgd Exp $ */ /* $NetBSD: limits.h,v 1.7 1994/10/26 00:56:00 cgd Exp $ */
/* /*
@ -37,7 +37,7 @@
#if !defined(_ANSI_SOURCE) #if !defined(_ANSI_SOURCE)
#define _POSIX_ARG_MAX 4096 #define _POSIX_ARG_MAX 4096
#define _POSIX_CHILD_MAX 6
#define _POSIX_CHILD_MAX 25
#define _POSIX_LINK_MAX 8 #define _POSIX_LINK_MAX 8
#define _POSIX_MAX_CANON 255 #define _POSIX_MAX_CANON 255
#define _POSIX_MAX_INPUT 255 #define _POSIX_MAX_INPUT 255
@ -46,8 +46,11 @@
#define _POSIX_OPEN_MAX 16 #define _POSIX_OPEN_MAX 16
#define _POSIX_PATH_MAX 255 #define _POSIX_PATH_MAX 255
#define _POSIX_PIPE_BUF 512 #define _POSIX_PIPE_BUF 512
#define _POSIX_RE_DUP_MAX 255
#define _POSIX_SSIZE_MAX 32767 #define _POSIX_SSIZE_MAX 32767
#define _POSIX_STREAM_MAX 8 #define _POSIX_STREAM_MAX 8
#define _POSIX_SYMLINK_MAX 255
#define _POSIX_SYMLOOP_MAX 8
#define _POSIX_TZNAME_MAX 3 #define _POSIX_TZNAME_MAX 3
#define _POSIX2_BC_BASE_MAX 99 #define _POSIX2_BC_BASE_MAX 99
@ -57,7 +60,7 @@
#define _POSIX2_COLL_WEIGHTS_MAX 2 #define _POSIX2_COLL_WEIGHTS_MAX 2
#define _POSIX2_EXPR_NEST_MAX 32 #define _POSIX2_EXPR_NEST_MAX 32
#define _POSIX2_LINE_MAX 2048 #define _POSIX2_LINE_MAX 2048
#define _POSIX2_RE_DUP_MAX 255
#define _POSIX2_RE_DUP_MAX _POSIX_RE_DUP_MAX
/* P1003.1c */ /* P1003.1c */
#define _POSIX_TTY_NAME_MAX 260 #define _POSIX_TTY_NAME_MAX 260


Loading…
Cancel
Save