Changeset d96d9bc in mainline for uspace/app/bdsh/cmds/modules/rm/rm.c
- Timestamp:
- 2017-04-02T20:38:50Z (8 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- c23275a
- Parents:
- 1e2e5795
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/bdsh/cmds/modules/rm/rm.c
r1e2e5795 rd96d9bc 30 30 #include <stdio.h> 31 31 #include <stdlib.h> 32 #include <unistd.h>33 32 #include <dirent.h> 34 33 #include <getopt.h> … … 110 109 memset(rm->cwd, 0, PATH_MAX); 111 110 112 chdir(".");113 114 if ( NULL == (getcwd(rm->owd, PATH_MAX)))111 vfs_cwd_set("."); 112 113 if (EOK != vfs_cwd_get(rm->owd, PATH_MAX)) 115 114 return 0; 116 115
Note:
See TracChangeset
for help on using the changeset viewer.