realpath is in

added realpath to libft
removed local references to realpath
This commit is contained in:
Tanguy MAZE
2019-01-29 18:26:04 +01:00
parent 9a1bc7b613
commit f88be73e8b
4 changed files with 4 additions and 75 deletions

View File

@@ -6,7 +6,7 @@
/* By: tmaze <tmaze@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2019/01/07 16:44:40 by tmaze #+# #+# */
/* Updated: 2019/01/28 16:53:32 by tmaze ### ########.fr */
/* Updated: 2019/01/29 16:12:21 by tmaze ### ########.fr */
/* */
/* ************************************************************************** */
@@ -53,9 +53,9 @@ int cmd_cd_core(char *path, t_list **env, char opt)
{
t_envelem *pwd;
char *oldpwd;
char *c_path;
char *tmp;
opt = '\0';
if (check_path_slash_cd(path) == NULL)
{
put_error_cd(path, "invalid path");