diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-09-10 18:13:47 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-09-10 18:13:47 +0200 |
commit | f165808b1cb551cd86655268b8dfa4fb7dcd5eb7 (patch) | |
tree | 3014819ceded1fe93093184d4f2211d4eae065a0 /src/s_com.c | |
parent | Quick update (diff) | |
download | 42-minishell-f165808b1cb551cd86655268b8dfa4fb7dcd5eb7.tar.gz 42-minishell-f165808b1cb551cd86655268b8dfa4fb7dcd5eb7.tar.bz2 42-minishell-f165808b1cb551cd86655268b8dfa4fb7dcd5eb7.tar.xz 42-minishell-f165808b1cb551cd86655268b8dfa4fb7dcd5eb7.tar.zst 42-minishell-f165808b1cb551cd86655268b8dfa4fb7dcd5eb7.zip |
FIX
Diffstat (limited to 'src/s_com.c')
-rw-r--r-- | src/s_com.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/s_com.c b/src/s_com.c index dc81046..36018ef 100644 --- a/src/s_com.c +++ b/src/s_com.c @@ -20,8 +20,7 @@ #include "s_struct.h" static int8_t - fill_com(char *words[], - t_com **com) + fill_com(char *words[], t_com **com) { /* TODO: norme */ uint64_t i; @@ -59,8 +58,7 @@ static int8_t } static void - s_com_cpy_env_fork(t_com **com, - t_msh *msh) + s_com_cpy_env_fork(t_com **com, t_msh *msh) { size_t i; size_t j; @@ -120,6 +118,7 @@ t_com return (NULL); if ((words = p_subst_home(words, msh)) == NULL) return (NULL); + ft_printf("%s\n", *words); words = p_check_args_equals(words, msh); if (msh->env_fork_tmp[0][0] != '\0') s_com_cpy_env_fork(&com, msh); |