Return non-SUCCESS error codes from attribute copy functions.
Without this, an attribute copy function could return non-success, but it would not be propagated upwards. This caused the intel MPI_Keyval3_* tests to fail. cmr=v1.8:reviewer=hjelmn This commit was SVN r31147.
Этот коммит содержится в:
родитель
dca2f0027e
Коммит
22e6417d9e
@ -9,7 +9,7 @@
|
||||
* University of Stuttgart. All rights reserved.
|
||||
* Copyright (c) 2004-2005 The Regents of the University of California.
|
||||
* All rights reserved.
|
||||
* Copyright (c) 2006-2013 Cisco Systems, Inc. All rights reserved.
|
||||
* Copyright (c) 2006-2014 Cisco Systems, Inc. All rights reserved.
|
||||
* Copyright (c) 2012 Los Alamos National Security, LLC. All rights
|
||||
* reserved.
|
||||
* $COPYRIGHT$
|
||||
@ -886,6 +886,7 @@ int ompi_attr_copy_all(ompi_attribute_type_t type, void *old_object,
|
||||
}
|
||||
/* Did the callback return non-MPI_SUCCESS? */
|
||||
if (0 != err) {
|
||||
ret = err;
|
||||
goto out;
|
||||
}
|
||||
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user