summaryrefslogtreecommitdiffstats
path: root/src/e_builtins.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-09-26 18:39:36 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-09-26 18:39:36 +0200
commit8b0cb4d5817c8577e8009b6488cb623c183c2dc6 (patch)
tree154f5a8612c949f3ce70b6eb5fb7af60a08bc151 /src/e_builtins.c
parentTODO file update (diff)
download42-minishell-8b0cb4d5817c8577e8009b6488cb623c183c2dc6.tar.gz
42-minishell-8b0cb4d5817c8577e8009b6488cb623c183c2dc6.tar.bz2
42-minishell-8b0cb4d5817c8577e8009b6488cb623c183c2dc6.tar.xz
42-minishell-8b0cb4d5817c8577e8009b6488cb623c183c2dc6.tar.zst
42-minishell-8b0cb4d5817c8577e8009b6488cb623c183c2dc6.zip
Pretty damn fine
Diffstat (limited to 'src/e_builtins.c')
-rw-r--r--src/e_builtins.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/e_builtins.c b/src/e_builtins.c
index 92af2c3..90f3775 100644
--- a/src/e_builtins.c
+++ b/src/e_builtins.c
@@ -19,8 +19,8 @@
#include "b_builtins.h"
#include "b_export_next.h"
#include "b_export_mute.h"
+#include "e_redirs.h"
#include "m_loop.h"
-#include "m_redirs.h"
#include "s_com.h"
#include "s_destroy.h"
#include "s_line.h"
@@ -50,7 +50,7 @@ static void
if (ptr->env_fork != NULL)
e_export_env_fork(ptr, msh);
- dup_redirs(ptr, msh);
+ e_dup_redirs(ptr, msh);
ret = 0;
if (bu_id == FT_ID_H && msh->fd == STDIN_FILENO)
ret = msh->bu_ptr[bu_id](ptr->argv + 1, msh);