Changes in / [8a6ba94:f90eb75] in mainline
- Location:
- uspace
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/bdsh/Makefile
r8a6ba94 rf90eb75 31 31 LIBS = $(LIBBLOCK_PREFIX)/libblock.a $(LIBCLUI_PREFIX)/libclui.a \ 32 32 $(LIBFMTUTIL_PREFIX)/libfmtutil.a 33 EXTRA_CFLAGS = -I$(LIBBLOCK_PREFIX) -I$(LIBCLUI_PREFIX) -I$(LIBFMTUTIL_PREFIX)\34 -I . -Icmds/ -Icmds/builtins -Icmds/modules33 EXTRA_CFLAGS = -I$(LIBBLOCK_PREFIX) -I$(LIBCLUI_PREFIX) \ 34 -I$(LIBFMTUTIL_PREFIX) -I. -Icmds/ -Icmds/builtins -Icmds/modules 35 35 BINARY = bdsh 36 36 -
uspace/app/bdsh/cmds/modules/help/help.c
r8a6ba94 rf90eb75 152 152 "This is but a small glimpse of what you can do with HelenOS. " 153 153 "To learn more please point your browser to the HelenOS User's " 154 "Guide: http://trac.helenos.org/ trac.fcgi/wiki/UsersGuide\n\n",154 "Guide: http://trac.helenos.org/wiki/UsersGuide\n\n", 155 155 ALIGN_LEFT); 156 156 } -
uspace/app/bdsh/input.c
r8a6ba94 rf90eb75 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; -
uspace/lib/c/generic/str.c
r8a6ba94 rf90eb75 731 731 { 732 732 size_t len = str_length(str); 733 wchar_t *wstr = calloc(len+1, sizeof(wchar_t)); 734 if (wstr == NULL) { 735 return NULL; 736 } 737 str_to_wstr(wstr, len+1, str); 733 734 wchar_t *wstr = calloc(len+1, sizeof(wchar_t)); 735 if (wstr == NULL) 736 return NULL; 737 738 str_to_wstr(wstr, len + 1, str); 738 739 return wstr; 739 740 }
Note:
See TracChangeset
for help on using the changeset viewer.