Very minor modification against r17980: check the whole string against
"all", not just the first 3 chars (i.e., if someone sets the value "allfoo", we should still error). This commit was SVN r17981. The following SVN revision numbers were found above: r17980 --> open-mpi/ompi@b3ef774d46
Этот коммит содержится в:
родитель
b3ef774d46
Коммит
a2795fe43d
@ -266,7 +266,7 @@ int ompi_mpi_init(int argc, char **argv, int requested, int *provided)
|
||||
environment variable, just so that it won't be inherited by
|
||||
any spawned processes and potentially cause unintented
|
||||
side-effects with launching ORTE tools... */
|
||||
if( 0 == strncmp("all", event_val, strlen("all")) ) {
|
||||
if (0 == strcmp("all", event_val)) {
|
||||
mca_base_param_set_string(ret, "all");
|
||||
}
|
||||
}
|
||||
|
Загрузка…
Ссылка в новой задаче
Block a user