Changes in / [f90eb75:8a6ba94] in mainline
- Location:
- uspace
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/bdsh/Makefile
rf90eb75 r8a6ba94 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) \34 -I $(LIBFMTUTIL_PREFIX) -I. -Icmds/ -Icmds/builtins -Icmds/modules33 EXTRA_CFLAGS = -I$(LIBBLOCK_PREFIX) -I$(LIBCLUI_PREFIX) -I$(LIBFMTUTIL_PREFIX)\ 34 -I. -Icmds/ -Icmds/builtins -Icmds/modules 35 35 BINARY = bdsh 36 36 -
uspace/app/bdsh/cmds/modules/help/help.c
rf90eb75 r8a6ba94 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/ wiki/UsersGuide\n\n",154 "Guide: http://trac.helenos.org/trac.fcgi/wiki/UsersGuide\n\n", 155 155 ALIGN_LEFT); 156 156 } -
uspace/app/bdsh/input.c
rf90eb75 r8a6ba94 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; -
uspace/lib/c/generic/str.c
rf90eb75 r8a6ba94 731 731 { 732 732 size_t len = str_length(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); 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); 739 738 return wstr; 740 739 }
Note:
See TracChangeset
for help on using the changeset viewer.