Kürzen!
This commit is contained in:
4
main.c
4
main.c
@ -33,7 +33,7 @@
|
|||||||
#include <locale.h>
|
#include <locale.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
__RCSID("$MirOS: src/bin/mksh/main.c,v 1.155 2009/11/28 15:38:29 tg Exp $");
|
__RCSID("$MirOS: src/bin/mksh/main.c,v 1.156 2009/12/05 13:02:26 tg Exp $");
|
||||||
|
|
||||||
extern char **environ;
|
extern char **environ;
|
||||||
|
|
||||||
@ -1312,7 +1312,7 @@ texpand(struct table *tp, size_t nsize)
|
|||||||
for (i = 0; i < nsize; i++)
|
for (i = 0; i < nsize; i++)
|
||||||
ntblp[i] = NULL;
|
ntblp[i] = NULL;
|
||||||
tp->size = nsize;
|
tp->size = nsize;
|
||||||
tp->nfree = 8 * nsize / 10; /* table can get 80% full */
|
tp->nfree = (nsize * 4) / 5; /* table can get 80% full */
|
||||||
tp->tbls = ntblp;
|
tp->tbls = ntblp;
|
||||||
if (otblp == NULL)
|
if (otblp == NULL)
|
||||||
return;
|
return;
|
||||||
|
Reference in New Issue
Block a user