1
1

Don't let the compiler copy a struct into another location. Do it by hand only

on the required fields.

This commit was SVN r11696.
Этот коммит содержится в:
George Bosilca 2006-09-18 18:00:16 +00:00
родитель 2029284820
Коммит e679b923a2

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

@ -53,9 +53,10 @@ finished:
/* return status */
if( MPI_STATUS_IGNORE != status ) {
/* See MPI-1.2, sec 3.2.5, p.22 */
int old_error = status->MPI_ERROR;
*status = req->req_status;
status->MPI_ERROR = old_error;
status->MPI_TAG = req->req_status.MPI_TAG;
status->MPI_SOURCE = req->req_status.MPI_SOURCE;
status->_count = req->req_status._count;
status->_cancelled = req->req_status._cancelled;
}
if( req->req_state == OMPI_REQUEST_INACTIVE ) {
return OMPI_SUCCESS;