From 3e7f964b4ec1de47f8499787e76c5f95ba735367 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Fri, 26 Jun 2020 18:37:01 +0200 Subject: Updated todolist --- src/ft_e_externs_pipes.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/ft_e_externs_pipes.c b/src/ft_e_externs_pipes.c index c9268ac..c1c57b5 100644 --- a/src/ft_e_externs_pipes.c +++ b/src/ft_e_externs_pipes.c @@ -64,6 +64,7 @@ static void int pid; int status; + /* TODO: norm, error mgmnt */ pipes = ft_e_get_pipes_count(head); i = 0; while (i < pipes) @@ -79,9 +80,7 @@ static void if (i != 0) dup2(fd[i - 1][FT_WRITE_END], STDIN_FILENO); if (i != pipes) - { dup2(fd[i][FT_READ_END], STDOUT_FILENO); - } j = 0; while (j < pipes) { -- cgit v1.2.3