diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-06-26 18:37:01 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-06-26 18:37:01 +0200 |
commit | 3e7f964b4ec1de47f8499787e76c5f95ba735367 (patch) | |
tree | e7df2d0982445df62c22f301e4991f16b32c1005 | |
parent | It works NICE norm later (diff) | |
download | 42-minishell-3e7f964b4ec1de47f8499787e76c5f95ba735367.tar.gz 42-minishell-3e7f964b4ec1de47f8499787e76c5f95ba735367.tar.bz2 42-minishell-3e7f964b4ec1de47f8499787e76c5f95ba735367.tar.xz 42-minishell-3e7f964b4ec1de47f8499787e76c5f95ba735367.tar.zst 42-minishell-3e7f964b4ec1de47f8499787e76c5f95ba735367.zip |
Updated todolist
-rw-r--r-- | src/ft_e_externs_pipes.c | 3 |
1 files changed, 1 insertions, 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) { |