initialize info
This commit was SVN r8430.
Этот коммит содержится в:
родитель
1929a97d2f
Коммит
4a92b29dee
@ -97,6 +97,9 @@ int ompi_file_open(struct ompi_communicator_t *comm, char *filename,
|
|||||||
OBJ_RETAIN(comm);
|
OBJ_RETAIN(comm);
|
||||||
|
|
||||||
if (MPI_INFO_NULL != info) {
|
if (MPI_INFO_NULL != info) {
|
||||||
|
if(NULL == file->f_info) {
|
||||||
|
file->f_info = OBJ_NEW(ompi_info_t);
|
||||||
|
}
|
||||||
if (OMPI_SUCCESS != (ret = ompi_info_dup(info, &file->f_info))) {
|
if (OMPI_SUCCESS != (ret = ompi_info_dup(info, &file->f_info))) {
|
||||||
OBJ_RELEASE(file);
|
OBJ_RELEASE(file);
|
||||||
return ret;
|
return ret;
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user