smaller even
This commit is contained in:
parent
051522c9ea
commit
af7fcd2498
5
lex.c
5
lex.c
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
#include "sh.h"
|
#include "sh.h"
|
||||||
|
|
||||||
__RCSID("$MirOS: src/bin/mksh/lex.c,v 1.71 2008/09/30 19:28:12 tg Exp $");
|
__RCSID("$MirOS: src/bin/mksh/lex.c,v 1.72 2008/09/30 19:35:10 tg Exp $");
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* states while lexing word
|
* states while lexing word
|
||||||
@ -1240,9 +1240,8 @@ getsc_line(Source *s)
|
|||||||
shf_fdclose(s->u.shf);
|
shf_fdclose(s->u.shf);
|
||||||
s->str = NULL;
|
s->str = NULL;
|
||||||
} else if (interactive && *s->str &&
|
} else if (interactive && *s->str &&
|
||||||
(cur_prompt != PS1 || !ctype(*s->str, C_IFS | C_IFSWS))) {
|
(cur_prompt != PS1 || !ctype(*s->str, C_IFS | C_IFSWS)))
|
||||||
histsave(&s->line, s->str, true, true);
|
histsave(&s->line, s->str, true, true);
|
||||||
}
|
|
||||||
if (interactive)
|
if (interactive)
|
||||||
set_prompt(PS2, NULL);
|
set_prompt(PS2, NULL);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user