realpath is in
added realpath to libft removed local references to realpath
This commit is contained in:
@@ -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");
|
||||
|
Reference in New Issue
Block a user