summaryrefslogtreecommitdiffstats
path: root/src/e_builtins.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/e_builtins.c12
1 files changed, 6 insertions, 6 deletions
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);