diff options
Diffstat (limited to 'src/b_cd.c')
-rw-r--r-- | src/b_cd.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -27,7 +27,7 @@ #include "u_vars.h" #include "u_vars_next.h" -static void b_set_oldpwd(t_msh *msh) +static void b_set_oldpwd(t_msh *msh) { char pwd[PATH_MAX]; char tmp[PATH_MAX]; @@ -49,7 +49,7 @@ static void b_set_oldpwd(t_msh *msh) } } -static void b_fill_repath(char rpath[], char *splited[]) +static void b_fill_repath(char rpath[], char *splited[]) { size_t i; size_t j; @@ -78,7 +78,7 @@ static void b_fill_repath(char rpath[], char *splited[]) } } -static void b_upgrade_pwd(const char path[], t_msh *msh) +static void b_upgrade_pwd(const char path[], t_msh *msh) { char **splited; char repath[262144]; @@ -106,10 +106,10 @@ static void b_upgrade_pwd(const char path[], t_msh *msh) f_alloc_and_destroy_msh(msh); } -unsigned char b_cd(char *args[], t_msh *msh) +unsigned char b_cd(char *args[], t_msh *msh) { const unsigned long argc = u_builtins_get_argc((const char**)args); - char path[PATH_MAX]; + char path[PATH_MAX]; if (argc >= 2) f_fail_too_many_args("cd", msh); |