summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOtto Moerbeek <otto@cvs.openbsd.org>2005-10-04 20:35:12 +0000
committerOtto Moerbeek <otto@cvs.openbsd.org>2005-10-04 20:35:12 +0000
commita752b99718bb1e5a0c1ade9994f06968e9d01f67 (patch)
treeb0227fd89add43903ee37ad093d3b35c464088cc
parent09f669507ee3760616c30434b954c46943c4071d (diff)
Bump max array size. Needed for upcoming MAKEDEV speedup. ok deraadt@
-rw-r--r--bin/ksh/sh.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/ksh/sh.h b/bin/ksh/sh.h
index 15a6cff8377..501cddb40fe 100644
--- a/bin/ksh/sh.h
+++ b/bin/ksh/sh.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: sh.h,v 1.27 2005/03/28 21:33:04 deraadt Exp $ */
+/* $OpenBSD: sh.h,v 1.28 2005/10/04 20:35:11 otto Exp $ */
/*
* Public Domain Bourne/Korn shell
@@ -68,7 +68,7 @@ typedef INT32 Tflag;
#define LINE 2048 /* input line size */
#define PATH 1024 /* pathname size (todo: PATH_MAX/pathconf()) */
-#define ARRAYMAX 1023 /* max array index */
+#define ARRAYMAX 2047 /* max array index */
EXTERN const char *kshname; /* $0 */
EXTERN pid_t kshpid; /* $$, shell pid */