1
1

Incorporate fix suggested by Chris Gottbratch.

This commit was SVN r8750.
Этот коммит содержится в:
Jeff Squyres 2006-01-19 15:21:53 +00:00
родитель 317f8bc4d4
Коммит ed0fa9720d
2 изменённых файлов: 9 добавлений и 3 удалений

4
NEWS
Просмотреть файл

@ -1,4 +1,4 @@
Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana
Copyright (c) 2004-2006 The Trustees of Indiana University and Indiana
University Research and Technology
Corporation. All rights reserved.
Copyright (c) 2004-2005 The University of Tennessee and The University
@ -29,6 +29,8 @@ version 1.0.
1.0.2
-----
- Fix parsing problem with mpirun's "-tv" switch. Thanks to Chris
Gottbrath for supplying the fix.
- Fix Darwin net/if.h configure warning.
- The GNU assembler unbelievably defaults to making stacks executable.
So when using gas, add flags to explicitly tell it to not make

Просмотреть файл

@ -1,6 +1,6 @@
/* -*- C -*-
*
* Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana
* Copyright (c) 2004-2006 The Trustees of Indiana University and Indiana
* University Research and Technology
* Corporation. All rights reserved.
* Copyright (c) 2004-2005 The University of Tennessee and The University
@ -153,7 +153,7 @@ static int process(char *orig_line, char *basename, int argc, char **argv,
return ORTE_ERROR;
}
/* Remove --debug and --debugger from the user command line
/* Remove --debug, --debugger, and -tv from the user command line
params */
if (1 == argc) {
@ -165,6 +165,10 @@ static int process(char *orig_line, char *basename, int argc, char **argv,
0 == strcmp(tmp_argv[i], "--debug")) {
free(tmp_argv[i]);
tmp_argv[i] = strdup("");
} else if (0 == strcmp(tmp_argv[i], "-tv") ||
0 == strcmp(tmp_argv[i], "--tv")) {
free(tmp_argv[i]);
tmp_argv[i] = strdup("");
} else if (0 == strcmp(tmp_argv[i], "--debugger") ||
0 == strcmp(tmp_argv[i], "-debugger")) {
free(tmp_argv[i]);