From 05302642938cc6ec861a874bfde6c04056f228c3 Mon Sep 17 00:00:00 2001 From: tg Date: Sun, 19 Mar 2017 22:23:45 +0000 Subject: [PATCH] embed --- main.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/main.c b/main.c index 11d39b8..50f746c 100644 --- a/main.c +++ b/main.c @@ -34,7 +34,7 @@ #include #endif -__RCSID("$MirOS: src/bin/mksh/main.c,v 1.326 2017/03/19 20:59:26 tg Exp $"); +__RCSID("$MirOS: src/bin/mksh/main.c,v 1.327 2017/03/19 22:23:45 tg Exp $"); extern char **environ; @@ -56,8 +56,6 @@ static mksh_uari_t rndsetup(void); static void x_sigwinch(int); #endif -static const char initifs[] = "IFS= \t\n"; - static const char initsubs[] = "${PS2=> }" "${PS3=#? }" @@ -363,7 +361,7 @@ main_init(int argc, const char *argv[], Source **sp, struct block **lp) } /* for security */ - typeset(initifs, 0, 0, 0, 0); + typeset("IFS= \t\n", 0, 0, 0, 0); /* assign default shell variable values */ substitute(initsubs, 0);