Changeset b48d046 in mainline for uspace/app/bdsh/input.c
- Timestamp:
- 2011-08-21T13:16:40Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- f90eb75
- Parents:
- 25c1b2c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/bdsh/input.c
r25c1b2c rb48d046 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;
Note:
See TracChangeset
for help on using the changeset viewer.