diff options
Diffstat (limited to 'src/ft_m_loop.c')
-rw-r--r-- | src/ft_m_loop.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/ft_m_loop.c b/src/ft_m_loop.c index 08bc0e4..6902d0b 100644 --- a/src/ft_m_loop.c +++ b/src/ft_m_loop.c @@ -23,8 +23,8 @@ uint8_t ft_m_loop(t_msh *msh) { - int8_t gnl; char *line; + int8_t gnl; gnl = 1; while (gnl > 0) @@ -37,9 +37,10 @@ uint8_t ft_memdel((void*)&line); ft_e_lcom(msh); ft_lcom_clear(&msh->curr); - /* TODO: GNL leak on "msh ~> exit" */ + /* TODO: handle segv on spaces only "msh ~> " */ + /* TODO: GNL 25 leak on "msh ~> exit" */ /* TODO: redirect vvv redirect */ - /* "msh ~> echo qwe >/dev/null; echo *.vscode >> .gitignore" */ + /* "msh ~> cat < Makefile" aka read to stdin */ /* TODO: "msh ~> some command \": re GNL into ft_nrealloc */ } else |