Changeset 888207c9 in mainline for uspace/app/bdsh
- Timestamp:
- 2011-09-07T22:19:24Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 2aeec8ef
- Parents:
- 038b289 (diff), 5081276 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - Location:
- uspace/app/bdsh
- Files:
-
- 4 added
- 4 edited
-
Makefile (modified) (1 diff)
-
cmds/builtins/batch/batch.c (added)
-
cmds/builtins/batch/batch.h (added)
-
cmds/builtins/batch/batch_def.h (added)
-
cmds/builtins/batch/entry.h (added)
-
cmds/builtins/builtins.h (modified) (1 diff)
-
exec.c (modified) (1 diff)
-
input.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/bdsh/Makefile
r038b289 r888207c9 51 51 cmds/modules/unmount/unmount.c \ 52 52 cmds/modules/kcon/kcon.c \ 53 cmds/builtins/batch/batch.c \ 53 54 cmds/builtins/exit/exit.c \ 54 55 cmds/builtins/cd/cd.c \ -
uspace/app/bdsh/cmds/builtins/builtins.h
r038b289 r888207c9 4 4 #include "config.h" 5 5 6 #include "batch/entry.h" 6 7 #include "cd/entry.h" 7 8 #include "exit/entry.h" 8 9 9 10 builtin_t builtins[] = { 11 #include "batch/batch_def.h" 10 12 #include "cd/cd_def.h" 11 13 #include "exit/exit_def.h" -
uspace/app/bdsh/exec.c
r038b289 r888207c9 134 134 printf("%s: Failed waiting for command (%s)\n", progname, 135 135 str_error(rc)); 136 return 1; 136 137 } else if (texit != TASK_EXIT_NORMAL) { 137 138 printf("%s: Command failed (unexpectedly terminated)\n", progname); 139 return 1; 138 140 } else if (retval != 0) { 139 141 printf("%s: Command failed (exit code %d)\n", 140 142 progname, retval); 143 return 1; 141 144 } 142 145 -
uspace/app/bdsh/input.c
r038b289 r888207c9 196 196 new_iostate.stdout = to; 197 197 } 198 198 199 199 rc = run_command(cmd, usr, &new_iostate); 200 200
Note:
See TracChangeset
for help on using the changeset viewer.
