1
1

Fix a mistake - first argument in call to os_path was missing! Interesting that gcc 3.0+ compilers didn't pick it up, but that the older compilers did...

Anyway, thanks Weikuan!
Ralph

This commit was SVN r1552.
Этот коммит содержится в:
Ralph Castain 2004-07-07 02:01:49 +00:00
родитель fe505c759b
Коммит 54027160ee
2 изменённых файлов: 2 добавлений и 2 удалений

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

@ -24,7 +24,7 @@ int ompi_universe_connect(char *tmpdir)
return(OMPI_ERROR);
}
oob_info_path = ompi_os_path(tmpdir, "oob", NULL);
oob_info_path = ompi_os_path(false, tmpdir, "oob", NULL);
fp = fopen(oob_info_path, "r");
if (NULL == fp) {
return(OMPI_ERROR);

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

@ -27,7 +27,7 @@ char *ompi_universe_init(char *tmpdir, char *user, char *universe)
ompi_process_info.job_session_dir = strdup(tmp);
ompi_process_info.universe_session_dir = dirname(tmp);
oob_info_path = ompi_os_path(ompi_process_info.job_session_dir, "oob", NULL);
oob_info_path = ompi_os_path(false, ompi_process_info.job_session_dir, "oob", NULL);
fp = fopen(oob_info_path, "w"); /* must be a new file - fail if one already exists */
if (NULL == fp) {
return(NULL);