From 2a0fea22edff5e06942c6731d4ab850cd5acc3e4 Mon Sep 17 00:00:00 2001 From: Adam Joly Date: Tue, 25 Jun 2024 17:54:33 +0200 Subject: [PATCH] =?UTF-8?q?=E3=80=8C=F0=9F=8F=97=EF=B8=8F=E3=80=8D=20wip:?= =?UTF-8?q?=20Signal=20handling=20in=20realine?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main.c | 28 +++++++++++----------------- 1 file changed, 11 insertions(+), 17 deletions(-) diff --git a/src/main.c b/src/main.c index d9190f4..c88411f 100644 --- a/src/main.c +++ b/src/main.c @@ -6,7 +6,7 @@ /* By: mmoussou content))->redirection, av); cmd_list = get_cmd_list(piped, &env_l); exec_split_cmd(cmd_list, &env_l); - /*while (cmd_list) - { - cmd = cmd_list->content; - cmd_list = cmd_list->next; - }*/ - //print_cmd(cmd_list->content); free(test); ft_lstclear(&piped, free_token); ft_free("a", &lll); @@ -115,13 +119,3 @@ int main(int ac, char **av, char **env) ft_free("a", &lll); return (0); } - -/*int main() -{ - char *ll = "asdf\"xf\"asfffd"; - t_quote d; - - d = is_inquote(ll, 6); - ft_printf("%c\n", *(ll+6)) - print_quote_type(d); -}*/