From 4f043002bed5a4bae735a2600c801d7ce7be4957 Mon Sep 17 00:00:00 2001 From: tg Date: Fri, 23 Mar 2012 18:58:15 +0000 Subject: [PATCH] =?UTF-8?q?another=20int=20=E2=86=92=20bool?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/main.c b/main.c index bfaf6a3..3ba27dd 100644 --- a/main.c +++ b/main.c @@ -34,7 +34,7 @@ #include #endif -__RCSID("$MirOS: src/bin/mksh/main.c,v 1.205 2012/03/03 21:30:56 tg Exp $"); +__RCSID("$MirOS: src/bin/mksh/main.c,v 1.206 2012/03/23 18:58:15 tg Exp $"); extern char **environ; @@ -96,7 +96,7 @@ static const char *restr_com[] = { Ttypeset, "-r", "PATH", "ENV", "SHELL", NULL }; -static int initio_done; +static bool initio_done; /* top-level parsing and execution environment */ static struct env env; @@ -1252,7 +1252,7 @@ initio(void) shf_fdopen(2, SHF_WR, shl_out); /* force buffer allocation */ shf_fdopen(2, SHF_WR, shl_spare); - initio_done = 1; + initio_done = true; } /* A dup2() with error checking */