Changeset 095003a8 in mainline for uspace/app/bdsh/cmds
- Timestamp:
- 2009-04-09T22:32:23Z (17 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- f4b1535
- Parents:
- 7afb4a5
- Location:
- uspace/app/bdsh/cmds/modules
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/bdsh/cmds/modules/ls/ls.c
r7afb4a5 r095003a8 183 183 getcwd(buff, PATH_MAX); 184 184 else 185 str ncpy(buff, argv[1], PATH_MAX);185 str_ncpy(buff, argv[1], PATH_MAX); 186 186 187 187 scope = ls_scope(buff); -
uspace/app/bdsh/cmds/modules/mkdir/mkdir.c
r7afb4a5 r095003a8 94 94 /* Its a good idea to allocate path, plus we (may) need a copy of 95 95 * path to tokenize if parents are specified */ 96 if (NULL == (tmp = str dup(path))) {96 if (NULL == (tmp = str_dup(path))) { 97 97 cli_error(CL_ENOMEM, "%s: path too big?", cmdname); 98 98 return 1; -
uspace/app/bdsh/cmds/modules/touch/touch.c
r7afb4a5 r095003a8 81 81 82 82 for (i = 1; i < argc; i ++) { 83 buff = str dup(argv[i]);83 buff = str_dup(argv[i]); 84 84 dirp = opendir(buff); 85 85 if (dirp) {
Note:
See TracChangeset
for help on using the changeset viewer.