diff options
Diffstat (limited to 'recipes-core/jamvm/jamvm/jamvm-minmax-heap.patch')
-rw-r--r-- | recipes-core/jamvm/jamvm/jamvm-minmax-heap.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/recipes-core/jamvm/jamvm/jamvm-minmax-heap.patch b/recipes-core/jamvm/jamvm/jamvm-minmax-heap.patch new file mode 100644 index 0000000..bf0fda5 --- /dev/null +++ b/recipes-core/jamvm/jamvm/jamvm-minmax-heap.patch | |||
@@ -0,0 +1,15 @@ | |||
1 | diff --git a/src/jam.c b/src/jam.c | ||
2 | index b76ce8b..dc5eac3 100644 | ||
3 | --- a/src/jam.c | ||
4 | +++ b/src/jam.c | ||
5 | @@ -133,9 +133,7 @@ int parseCommandLine(int argc, char *argv[], InitArgs *args) { | ||
6 | for(i = 1; i < argc; i++) { | ||
7 | if(*argv[i] != '-') { | ||
8 | if(args->min_heap > args->max_heap) { | ||
9 | - printf("Minimum heap size greater than max!\n"); | ||
10 | - status = 1; | ||
11 | - goto exit; | ||
12 | + args->min_heap = args->max_heap; | ||
13 | } | ||
14 | |||
15 | if(args->props_count) { | ||