an array shalt have 4096 entries max.

This commit is contained in:
tg
2004-10-28 16:49:13 +00:00
parent 78a5e1d662
commit ee2d2797a4
2 changed files with 5 additions and 5 deletions

4
sh.h
View File

@@ -1,4 +1,4 @@
/** $MirBSD: sh.h,v 1.15 2004/10/28 11:53:43 tg Exp $ */
/** $MirBSD: sh.h,v 1.16 2004/10/28 16:49:13 tg Exp $ */
/* $OpenBSD: sh.h,v 1.18 2004/05/31 10:36:35 otto Exp $ */
#ifndef SH_H
@@ -352,7 +352,7 @@ typedef INT32 Tflag;
#ifndef PATH_MAX
#define PATH_MAX 1024 /* pathname size (todo: pathconf()) */
#endif
#define ARRAYMAX 2047 /* max array index */
#define ARRAYMAX 4095 /* max array index */
EXTERN const char *kshname; /* $0 */
EXTERN pid_t kshpid; /* $$, shell pid */