reduce amount of .bss memory needed; initialise via AEDIT at x_init

or even first run of x_vi
This commit is contained in:
tg
2013-08-10 13:44:33 +00:00
parent 1d487d9163
commit c10e5bd237
7 changed files with 102 additions and 84 deletions

4
lex.c
View File

@ -23,7 +23,7 @@
#include "sh.h"
__RCSID("$MirOS: src/bin/mksh/lex.c,v 1.187 2013/07/26 20:33:38 tg Exp $");
__RCSID("$MirOS: src/bin/mksh/lex.c,v 1.188 2013/08/10 13:44:31 tg Exp $");
/*
* states while lexing word
@ -1387,7 +1387,7 @@ getsc_line(Source *s)
Flag(FEMACS) || Flag(FGMACS))) {
int nread;
nread = x_read(xp, LINE);
nread = x_read(xp);
if (nread < 0)
/* read error */
nread = 0;