Changes in uspace/app/bdsh/input.c [b9ae539:b48d046] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/bdsh/input.c
rb9ae539 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.