Changes in uspace/app/bdsh/input.c [b48d046:b9ae539] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/bdsh/input.c
rb48d046 rb9ae539 67 67 int process_input(cliuser_t *usr) 68 68 { 69 char *cmd[WORD_MAX]; 69 70 token_t *tokens = calloc(WORD_MAX, sizeof(token_t)); 70 71 if (tokens == NULL) 71 72 return ENOMEM; 72 73 char *cmd[WORD_MAX];74 73 int rc = 0; 75 74 tokenizer_t tok; … … 79 78 char *redir_to = NULL; 80 79 81 if ( usr->line == NULL) {80 if (NULL == usr->line) { 82 81 free(tokens); 83 82 return CL_EFAIL;
Note:
See TracChangeset
for help on using the changeset viewer.