redirections WIP

This commit is contained in:
LuckyLaszlo
2021-11-14 11:05:58 +01:00
parent 1e682f796d
commit 66b48dc99d
10 changed files with 223 additions and 262 deletions

View File

@@ -6,7 +6,7 @@
/* By: lperrey <lperrey@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2021/10/24 10:52:40 by lperrey #+# #+# */
/* Updated: 2021/11/14 00:35:42 by lperrey ### ########.fr */
/* Updated: 2021/11/14 11:00:39 by lperrey ### ########.fr */
/* */
/* ************************************************************************** */
@@ -69,8 +69,8 @@ t_cmd **parsing(t_token *token_list)
return (NULL);
// 2.9.1 - 3) Redirection
/* if (!redirections(token_list, cmd_arr))
return (ft_retp_free(NULL, cmd_arr, ft_free_cmd_arr)); */
if (!redirections(token_list, cmd_arr))
return (ft_retp_free(NULL, cmd_arr, (void(*)(void *))ft_free_cmd_arr));
// Struct CMD fill