Fix segfault when user provides a working directory for comm_spawn. Thanks to Murat Knecht for reporting this and suggesting a fix.
This commit was SVN r16266.
Этот коммит содержится в:
родитель
b161732af9
Коммит
1d1d0f6d4c
@ -568,7 +568,7 @@ ompi_comm_start_processes(int count, char **array_of_commands,
|
||||
/* check for 'wdir' */
|
||||
ompi_info_get (array_of_info[i], "wdir", valuelen, cwd, &flag);
|
||||
if ( flag ) {
|
||||
apps[i]->cwd = cwd;
|
||||
apps[i]->cwd = strdup(cwd);
|
||||
have_wdir = 1;
|
||||
}
|
||||
|
||||
|
Загрузка…
Ссылка в новой задаче
Block a user