Changeset 00aece0 in mainline for uspace/app/bdsh/input.c
- Timestamp:
- 2012-02-18T16:47:38Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 4449c6c
- Parents:
- bd5f3b7 (diff), f943dd3 (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. - File:
-
- 1 edited
-
uspace/app/bdsh/input.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/bdsh/input.c
rbd5f3b7 r00aece0 67 67 int process_input(cliuser_t *usr) 68 68 { 69 char *cmd[WORD_MAX];70 69 token_t *tokens = calloc(WORD_MAX, sizeof(token_t)); 71 70 if (tokens == NULL) 72 71 return ENOMEM; 72 73 char *cmd[WORD_MAX]; 73 74 int rc = 0; 74 75 tokenizer_t tok; … … 78 79 char *redir_to = NULL; 79 80 80 if ( NULL == usr->line) {81 if (usr->line == NULL) { 81 82 free(tokens); 82 83 return CL_EFAIL; … … 195 196 new_iostate.stdout = to; 196 197 } 197 198 198 199 rc = run_command(cmd, usr, &new_iostate); 199 200
Note:
See TracChangeset
for help on using the changeset viewer.
