mylsh

my own shell, based on brenns10's
git clone https://github.com/jennydoe/mylsh.git
Log | Files | Refs | Feed | README

commit 8e872b2b1b3af118dfdbb63d012ad3ba21706ec8
parent 3ef8fae1d95a894618ac14b12882992cc6c98496
Author: Jenny Doe <tng@soykaf.me>
Date:   Wed, 20 Mar 2019 21:29:01 +0100

fixed: commands' error status now from 0 to 255

Diffstat:
Mlsh.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lsh.c b/lsh.c @@ -23,7 +23,7 @@ #include <locale.h> typedef struct lsh_error_ { - unsigned int command_status:6; /* 0 to 63 */ + unsigned int command_status:8; /* 0 to 255 */ unsigned int flag:2; /* 0: success, 1: oom, 2: args, 3: exit */ } lsh_error;