From 882c4aa52a3be7c13ba3e18556c657e20d6f2812 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Mon, 24 Aug 2020 19:56:52 +0200 Subject: TODO update --- TODO.org | 3 ++- src/d_define.h | 3 +-- src/d_enum.h | 1 + 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/TODO.org b/TODO.org index 26c859c..9f9a235 100644 --- a/TODO.org +++ b/TODO.org @@ -4,9 +4,10 @@ ** DONE cd qweqwe <=== stderr ** DONE [#A] lpipes leaks <=== this is a big one (split lpipes | lcom | com) ** DONE [#A] /true/path/to/non-existant/bin/fail-plus-bad-fork -** TODO [#A] fix pwd when cd / +** DONE [#A] fix pwd when cd / ** DONE [#A] Multiline pipes (ls |) ** DONE [#B] forked write(2) stuff on cd +** TODO [#B] Multiline && || ** TODO [#B] ./qwe.sh <=== handle bad shebang ** DONE [#C] fix that goddamn exit(2) 25 leak ** TODO [#C] lpipes leaks on builtins (same as above man) diff --git a/src/d_define.h b/src/d_define.h index e682071..9042037 100644 --- a/src/d_define.h +++ b/src/d_define.h @@ -19,8 +19,7 @@ ** ====== CLASSICS ====== */ -#define FT_BUILTINS "echo|cd|pwd|export|unset|env|exit|type" - +#define FT_BUILTINS "echo|cd|pwd|export|unset|env|exit|type|[" /* ** ====== PSX ====== diff --git a/src/d_enum.h b/src/d_enum.h index 921195f..c046118 100644 --- a/src/d_enum.h +++ b/src/d_enum.h @@ -42,6 +42,7 @@ enum FT_ID_ENV, FT_ID_EXIT, FT_ID_TYPE, + FT_ID_SQB, FT_BUILTINS_COUNT }; -- cgit v1.2.3