1
1

In r17007, ompi_pointer_array.c the logic from the

ompi_pointer_array.c:ompi_pointer_array_set_item() was slightly
changed such that the "find the next open slot when the requested
index was already open" logic was no longer right -- since the new
lowest_free value is not set until ''after'' we look for the next open
slot, we need to start searching for the new lowest_free slot at the
(index+1) position (not the index position).

This commit was SVN r17021.

The following SVN revision numbers were found above:
  r17007 --> open-mpi/ompi@906e8bf1d1
Этот коммит содержится в:
Jeff Squyres 2007-12-21 20:19:55 +00:00
родитель 195faa37b6
Коммит 95fa693273

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

@ -188,7 +188,7 @@ int opal_pointer_array_set_item(opal_pointer_array_t *table, int index,
int i;
table->lowest_free = table->size;
for ( i=index; i<table->size; i++) {
for ( i=index + 1; i<table->size; i++) {
if ( NULL == table->addr[i] ){
table->lowest_free = i;
break;