summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-04-26 15:09:27 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-04-26 15:09:27 +0200
commitdfa749d0d3e9d7854f4413d8ae0b11096b206f24 (patch)
treede29f98ff82b4d0c3074cfae2f35ae66217f9707 /src
parent; end bug fix (diff)
download42-minishell-dfa749d0d3e9d7854f4413d8ae0b11096b206f24.tar.gz
42-minishell-dfa749d0d3e9d7854f4413d8ae0b11096b206f24.tar.bz2
42-minishell-dfa749d0d3e9d7854f4413d8ae0b11096b206f24.tar.xz
42-minishell-dfa749d0d3e9d7854f4413d8ae0b11096b206f24.tar.zst
42-minishell-dfa749d0d3e9d7854f4413d8ae0b11096b206f24.zip
Todo update
Diffstat (limited to '')
-rw-r--r--src/ft_m_loop.c3
-rw-r--r--src/ft_p_lcom.c1
2 files changed, 1 insertions, 3 deletions
diff --git a/src/ft_m_loop.c b/src/ft_m_loop.c
index 7f805a2..7ed8009 100644
--- a/src/ft_m_loop.c
+++ b/src/ft_m_loop.c
@@ -36,9 +36,8 @@ uint8_t
ft_memdel((void*)&line);
ft_e_lcom(msh);
ft_lcom_clear(&msh->curr);
- /* TODO: segv on ';' terminated lines "msh ~> echo qwe;" */
/* TODO: (null): Bad address on "msh ~> echo a > asd; cat < asd" but not on "msh ~> echo a > asd; cat asd" */
- /* TODO: GNL 25 leak on "msh ~> exit" */
+ /* TODO: GNL 25 leak on "msh ~> exit" | gl hf */
/* TODO: "msh ~> some command \": re GNL into ft_nrealloc */
/* TODO: the chad pipes | */
/* TODO: a histfile would be nice */
diff --git a/src/ft_p_lcom.c b/src/ft_p_lcom.c
index 27df158..a08e8c2 100644
--- a/src/ft_p_lcom.c
+++ b/src/ft_p_lcom.c
@@ -132,7 +132,6 @@ int8_t
i = 0;
if (!(words = ft_split(line, ';')))
return (-1);
- ft_printf("words1 (%s) | words2 (%s) | count %lu\n", *words, *(words + 1), count);
while (i <= count)
{
if (!(link = ft_lcom_new(words[i])))