Changeset b7fd2a0 in mainline for uspace/app/bdsh/cmds/builtins/cd/cd.c
- Timestamp:
- 2018-01-13T03:10:29Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- a53ed3a
- Parents:
- 36f0738
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/bdsh/cmds/builtins/cd/cd.c
r36f0738 rb7fd2a0 51 51 static bool previous_directory_set = false; 52 52 53 static int chdir_and_remember(const char *new_dir)53 static errno_t chdir_and_remember(const char *new_dir) 54 54 { 55 55 56 int rc = vfs_cwd_get(previous_directory_tmp, PATH_MAX);56 errno_t rc = vfs_cwd_get(previous_directory_tmp, PATH_MAX); 57 57 previous_directory_valid = (rc == EOK); 58 58 previous_directory_set = true; … … 86 86 { 87 87 int argc; 88 int rc = EOK;88 errno_t rc = EOK; 89 89 90 90 argc = cli_count_args(argv);
Note:
See TracChangeset
for help on using the changeset viewer.