Changes in uspace/app/bdsh/cmds/builtins/cd/cd.c [b7fd2a0:d96d9bc] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/bdsh/cmds/builtins/cd/cd.c
rb7fd2a0 rd96d9bc 51 51 static bool previous_directory_set = false; 52 52 53 static errno_t chdir_and_remember(const char *new_dir)53 static int chdir_and_remember(const char *new_dir) 54 54 { 55 55 56 errno_t rc = vfs_cwd_get(previous_directory_tmp, PATH_MAX);56 int rc = vfs_cwd_get(previous_directory_tmp, PATH_MAX); 57 57 previous_directory_valid = (rc == EOK); 58 58 previous_directory_set = true; … … 85 85 int cmd_cd(char **argv, cliuser_t *usr) 86 86 { 87 int argc; 88 errno_t rc = EOK; 87 int argc, rc = 0; 89 88 90 89 argc = cli_count_args(argv);
Note:
See TracChangeset
for help on using the changeset viewer.