From a752b99718bb1e5a0c1ade9994f06968e9d01f67 Mon Sep 17 00:00:00 2001 From: Otto Moerbeek Date: Tue, 4 Oct 2005 20:35:12 +0000 Subject: Bump max array size. Needed for upcoming MAKEDEV speedup. ok deraadt@ --- bin/ksh/sh.h | 4 ++-- 1 file 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 */ -- cgit v1.2.3