From 5eb753276ff9052d3ef93fd2b931a9bfb482590c Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Wed, 30 Sep 2020 18:46:03 +0200 Subject: Renamed quite some stuff --- src/e_builtins.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/e_builtins.c') diff --git a/src/e_builtins.c b/src/e_builtins.c index 90f3775..2f6d33f 100644 --- a/src/e_builtins.c +++ b/src/e_builtins.c @@ -52,7 +52,7 @@ static void e_export_env_fork(ptr, msh); e_dup_redirs(ptr, msh); ret = 0; - if (bu_id == FT_ID_H && msh->fd == STDIN_FILENO) + if (bu_id == B_ID_H && msh->fd == STDIN_FILENO) ret = msh->bu_ptr[bu_id](ptr->argv + 1, msh); else ret = msh->bu_ptr[bu_id](ptr->argv + 1, msh); @@ -76,15 +76,15 @@ static void ; ret = WEXITSTATUS(status); msh->ret = ret; - if (bu_id == FT_ID_CD && ret == 0) + if (bu_id == B_ID_CD && ret == 0) msh->bu_ptr[bu_id](ptr->argv + 1, msh); - else if (bu_id == FT_ID_EXPORT) + else if (bu_id == B_ID_EXPORT) b_export_mute(ptr->argv + 1, msh); - else if (bu_id == FT_ID_UNSET) + else if (bu_id == B_ID_UNSET) msh->bu_ptr[bu_id](ptr->argv + 1, msh); - else if (bu_id == FT_ID_ALIAS) + else if (bu_id == B_ID_ALIAS) b_alias_mute(ptr->argv + 1, msh); - else if (bu_id == FT_ID_EXIT) + else if (bu_id == B_ID_EXIT) { if (msh->fd == STDIN_FILENO) m_dump_hist(msh); -- cgit v1.2.3