Changeset c8bb1633 in mainline for uspace/app
- Timestamp:
- 2013-07-10T08:58:49Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 3908355, 4c53333
- Parents:
- 30c1b75 (diff), 98abd40 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - Location:
- uspace/app
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/bdsh/cmds/builtins/batch/batch.c
r30c1b75 rc8bb1633 29 29 #include <stdio.h> 30 30 #include <stdlib.h> 31 #include <stdbool.h> 32 #include <errno.h> 31 33 #include "config.h" 32 34 #include "util.h" … … 44 46 if (level == HELP_SHORT) { 45 47 printf( 46 "\n batch [filename] \n"48 "\n batch [filename] [-c]\n" 47 49 " Issues commands stored in the file.\n" 48 50 " Each command must correspond to the single line in the file.\n\n"); … … 54 56 " separate groups of commands. There is no support for comments,\n" 55 57 " variables, recursion or other programming constructs - the `batch'\n" 56 " command is indeed very trivial.\n\n"); 58 " command is indeed very trivial.\n" 59 " If the filename is followed by -c, execution continues even if some\n" 60 " of the commands failed.\n\n"); 57 61 } 58 62 … … 65 69 { 66 70 unsigned int argc; 71 bool continue_despite_errors = false; 67 72 68 73 /* Count the arguments */ … … 72 77 printf("%s - no input file provided.\n", cmdname); 73 78 return CMD_FAILURE; 79 } 80 81 if (argc > 2) { 82 if (str_cmp(argv[2], "-c") == 0) 83 continue_despite_errors = true; 74 84 } 75 85 … … 99 109 rc = process_input(&fusr); 100 110 /* fusr->line was freed by process_input() */ 111 if ((rc != EOK) && continue_despite_errors) { 112 /* Mute the error. */ 113 rc = EOK; 114 } 101 115 } 102 116 if (rc == 0 && c != EOF) { -
uspace/app/binutils/intrusive.sh
r30c1b75 rc8bb1633 96 96 # libposix function name redefinitons in one of the arm-specific files. 97 97 # 98 # Patch 9 99 # Libiberty does not trust our strncmp that is provided in libposix. 100 # That is because when cross-compiling, it cannot check how it behaves 101 # and assumes the worst. But then it clashes when linking (due to 102 # multiple definitions of ...) and this patch prevents compilation of 103 # liberty strncmp. 98 104 99 105 case "$1" in … … 157 163 # Patch libiberty configure script. 158 164 cat "$2/libiberty/configure.backup" | \ 159 # See Patch 1. 160 sed 's/^cross_compiling=no/cross_compiling=yes/g' \ 165 # See Patch 1 and 9. 166 sed -e 's/^cross_compiling=no/cross_compiling=yes/g' \ 167 -e 's/ac_cv_func_strncmp_works=no/ac_cv_func_strncmp_works=yes/g' \ 161 168 > "$2/libiberty/configure" 162 169 -
uspace/app/pcc/config.h
r30c1b75 rc8bb1633 50 50 51 51 /* Define to 1 if you have the `mkstemp' function. */ 52 //#define HAVE_MKSTEMP 152 #define HAVE_MKSTEMP 1 53 53 54 54 /* Define to 1 if you have the `snprintf' function. */
Note:
See TracChangeset
for help on using the changeset viewer.