Changeset 39463ff in mainline
- Timestamp:
- 2008-09-14T17:33:47Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- cbe405c
- Parents:
- e13fb10
- Location:
- uspace/app/bdsh
- Files:
-
- 8 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/bdsh/Makefile
re13fb10 r39463ff 65 65 cmds/modules/ls/ \ 66 66 cmds/modules/pwd/ \ 67 cmds/modules/sleep/ \ 68 cmds/modules/cp/ \ 67 69 cmds/builtins/ \ 68 70 cmds/builtins/cd/ … … 77 79 cmds/modules/ls/ls.c \ 78 80 cmds/modules/pwd/pwd.c \ 81 cmds/modules/sleep/sleep.c \ 82 cmds/modules/cp/cp.c \ 79 83 cmds/builtins/cd/cd.c \ 80 84 cmds/mod_cmds.c \ -
uspace/app/bdsh/cmds/modules/modules.h
re13fb10 r39463ff 26 26 #include "ls/entry.h" 27 27 #include "pwd/entry.h" 28 #include "sleep/entry.h" 29 #include "cp/entry.h" 28 30 29 31 /* Each .def function fills the module_t struct with the individual name, entry … … 40 42 #include "ls/ls_def.h" 41 43 #include "pwd/pwd_def.h" 44 #include "sleep/sleep_def.h" 45 #include "cp/cp_def.h" 42 46 {NULL, NULL, NULL, NULL} 43 47 }; -
uspace/app/bdsh/util.c
re13fb10 r39463ff 274 274 snprintf(usr->cwd, PATH_MAX, "(unknown)"); 275 275 276 if (1 < cli_psprintf(&usr->prompt, "%s #", usr->cwd)) {276 if (1 < cli_psprintf(&usr->prompt, "%s ", usr->cwd)) { 277 277 cli_error(cli_errno, "Failed to set prompt"); 278 278 return 1;
Note:
See TracChangeset
for help on using the changeset viewer.