däs isch ei buul, koa int…
This commit is contained in:
6
funcs.c
6
funcs.c
@ -5,7 +5,7 @@
|
||||
|
||||
#include "sh.h"
|
||||
|
||||
__RCSID("$MirOS: src/bin/mksh/funcs.c,v 1.87 2008/09/17 19:31:29 tg Exp $");
|
||||
__RCSID("$MirOS: src/bin/mksh/funcs.c,v 1.88 2008/09/30 17:49:25 tg Exp $");
|
||||
|
||||
/* A leading = means assignments before command are kept;
|
||||
* a leading * means a POSIX special builtin;
|
||||
@ -503,7 +503,7 @@ c_print(const char **wp)
|
||||
if (flags & PO_HIST) {
|
||||
Xput(xs, xp, '\0');
|
||||
source->line++;
|
||||
histsave(source->line, Xstring(xs, xp), 1);
|
||||
histsave(source->line, Xstring(xs, xp), true);
|
||||
Xfree(xs, xp);
|
||||
} else {
|
||||
int n, len = Xlength(xs, xp);
|
||||
@ -1895,7 +1895,7 @@ c_read(const char **wp)
|
||||
if (historyr) {
|
||||
Xput(xs, xp, '\0');
|
||||
source->line++;
|
||||
histsave(source->line, Xstring(xs, xp), 1);
|
||||
histsave(source->line, Xstring(xs, xp), true);
|
||||
Xfree(xs, xp);
|
||||
}
|
||||
/* if this is the co-process fd, close the file descriptor
|
||||
|
Reference in New Issue
Block a user