this wants a size_t (but ssize_t is enough, since order(size_t) elements

is pretty much impossible… I estimate at most a million, but not more
than 16 million, array or keytab entries)
This commit is contained in:
tg 2009-08-28 18:59:01 +00:00
parent ca1f967a45
commit 2cda4dd7bb

4
sh.h
View File

@ -134,7 +134,7 @@
#endif #endif
#ifdef EXTERN #ifdef EXTERN
__RCSID("$MirOS: src/bin/mksh/sh.h,v 1.324 2009/08/28 18:53:59 tg Exp $"); __RCSID("$MirOS: src/bin/mksh/sh.h,v 1.325 2009/08/28 18:59:01 tg Exp $");
#endif #endif
#define MKSH_VERSION "R39 2009/08/08" #define MKSH_VERSION "R39 2009/08/08"
@ -968,7 +968,7 @@ struct block {
*/ */
struct tstate { struct tstate {
struct tbl **next; struct tbl **next;
int left; ssize_t left;
}; };
EXTERN struct table taliases; /* tracked aliases */ EXTERN struct table taliases; /* tracked aliases */