WIP cd fonctionnalities

missing realpath() application to paths beginning by /
This commit is contained in:
Tanguy MAZE
2019-01-25 17:04:00 +01:00
parent 2fee92fc03
commit d619a7f3c1
3 changed files with 39 additions and 27 deletions

View File

@@ -6,7 +6,7 @@
/* By: tmaze <tmaze@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2018/11/18 13:12:34 by tmaze #+# #+# */
/* Updated: 2019/01/21 13:14:47 by tmaze ### ########.fr */
/* Updated: 2019/01/25 16:25:35 by tmaze ### ########.fr */
/* */
/* ************************************************************************** */
@@ -43,8 +43,8 @@ int cmd_env(char **argv, t_list **env);
int cmd_setenv(char **argv, t_list **env);
int cmd_unsetenv(char **argv, t_list **env);
int ft_isin(char *str, char c);
char *check_path_slash(char *exec);
char *check_path_dot(char *exec, t_list *env);
int ft_isin(char *str, char c);
char *check_path_slash(char *exec);
char *check_path_dot(char *exec, t_list *env);
#endif