WIP non tested handling of . and .. paths

This commit is contained in:
Tanguy MAZE
2019-01-24 17:27:38 +01:00
parent 9dc92563e3
commit 2fee92fc03
3 changed files with 116 additions and 5 deletions

View File

@@ -6,7 +6,7 @@
/* By: tmaze <tmaze@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2018/11/18 13:09:55 by tmaze #+# #+# */
/* Updated: 2019/01/16 17:06:51 by tmaze ### ########.fr */
/* Updated: 2019/01/24 12:54:27 by tmaze ### ########.fr */
/* */
/* ************************************************************************** */
@@ -128,7 +128,8 @@ int main(void)
return (2);
}
ft_strdel(&cmd);
exec_cmd(tab_cmd, &lst_env);
ft_putnbr(exec_cmd(tab_cmd, &lst_env));
ft_putchar('\n');
ft_del_words_tables(&tab_cmd);
}
ft_strdel(&cmd);