From ca88bc609950ebe3f84b4a5cadeb069fc3aded14 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Thu, 22 Oct 2020 18:49:41 +0200 Subject: Unfinished --- src/e_redirs.c | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'src/e_redirs.c') diff --git a/src/e_redirs.c b/src/e_redirs.c index 246f2c7..1d66226 100644 --- a/src/e_redirs.c +++ b/src/e_redirs.c @@ -83,21 +83,15 @@ void e_dup_redirs(const t_com *com, t_msh *msh) while (ptr != NULL) { if (ptr->redir == -2 || ptr->redir == -3) - { e_redir_minus_two(ptr); - } else if (ptr->redir == -1) - { e_redir_minus_one(ptr, msh); - } else if (ptr->redir == 1) - { e_redir_plus_one(ptr, msh); - } else if (ptr->redir == 2) - { e_redir_plus_two(ptr, msh); - } + /* else if (ptr->redir == 3) */ + /* e_redir_plus_three(ptr, msh); */ ptr = ptr->next; } } -- cgit v1.2.3