here_doc script_fd fix

+ line_len in here_doc
+ error message SIGQUIT
This commit is contained in:
lperrey
2021-12-22 15:57:02 +01:00
parent b51535cdbc
commit 523f560eab
9 changed files with 46 additions and 152 deletions

View File

@@ -6,7 +6,7 @@
/* By: lperrey <lperrey@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2021/10/26 23:47:44 by lperrey #+# #+# */
/* Updated: 2021/12/20 22:26:57 by lperrey ### ########.fr */
/* Updated: 2021/12/22 14:01:52 by lperrey ### ########.fr */
/* */
/* ************************************************************************** */
@@ -32,7 +32,7 @@ void shell_script(t_all *c, int script_fd)
ft_free_null(&line_input);
if (!c->token_list)
break ;
c->pipeline = parsing(c->token_list);
c->pipeline = parsing(c->token_list, script_fd);
ft_lstclear((t_list **)&c->token_list, free);
if (!c->pipeline)
break ;