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: 2019/01/13 14:44:20 by tmaze #+# #+# */
/* Updated: 2019/01/13 19:02:04 by tmaze ### ########.fr */
/* Updated: 2019/01/25 16:05:29 by tmaze ### ########.fr */
/* */
/* ************************************************************************** */
@@ -52,7 +52,7 @@ t_envelem *env_addupdate(char *key, char *val, t_list **env)
t_list *new;
t_envelem *elem;
char *tmp;
if ((elem = env_getelemfromkey(key, *env)) != NULL)
{
if (val == NULL)