aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>1997-01-16 08:27:18 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>1997-01-16 08:27:18 +0000
commit71b9b9d8e62ceea7881501012ad551e5d9bb158e (patch)
tree4e93fa4f6489e44bac22a37c428d4945b04051a1 /include
parenteca6bf6ad9e11fba24bcf9b8f03182457c02629c (diff)
downloadsrc-71b9b9d8e62ceea7881501012ad551e5d9bb158e.tar.gz
src-71b9b9d8e62ceea7881501012ad551e5d9bb158e.zip
Change XOPEN constants to match FreeBSD reality and add some
comments to describe them
Notes
Notes: svn path=/head/; revision=21760
Diffstat (limited to 'include')
-rw-r--r--include/limits.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/limits.h b/include/limits.h
index 3f30e3a14c71..947101c1b9e2 100644
--- a/include/limits.h
+++ b/include/limits.h
@@ -62,14 +62,14 @@
#endif /* !_ANSI_SOURCE */
#if (!defined(_ANSI_SOURCE)&&!defined(_POSIX_SOURCE)) || defined(_XOPEN_SOURCE)
-#define PASS_MAX 128
+#define PASS_MAX 128 /* _PASSWORD_LEN from <pwd.h> */
-#define NL_ARGMAX 9
-#define NL_LANGMAX 14
+#define NL_ARGMAX 99 /* max # of position args for printf */
+#define NL_LANGMAX 31 /* max LANG name length */
#define NL_MSGMAX 32767
#define NL_NMAX 1
#define NL_SETMAX 255
-#define NL_TEXTMAX 255
+#define NL_TEXTMAX 2048
#endif
#include <machine/limits.h>