Submitted by: Jeff Squyres v1.0
authorjsquyres
Tue Aug 08 15:42:33 2006 +0000 (2006-08-08)
branchv1.0
changeset 64402d6c40bb57a1
parent 6439 2a6014ffc009
Submitted by: Jeff Squyres
Reviewed by: Brian Barrett

Fix a problem noted by Chris Hennes that MPI_INFO_SET would mistakenly
disallow setting long info values.
NEWS
ompi/mpi/c/info_set.c
     1.1 --- a/NEWS	Sat Jul 15 10:35:49 2006 +0000
     1.2 +++ b/NEWS	Tue Aug 08 15:42:33 2006 +0000
     1.3 @@ -24,6 +24,8 @@
     1.4  1.0.3
     1.5  -----
     1.6  
     1.7 +- Fix a problem noted by Chris Hennes where MPI_INFO_SET incorrectly
     1.8 +  disallowed long values.
     1.9  - Fix a problem in the launch system that could cause inconsistent
    1.10    launch behavior, particularly when launching large jobs.
    1.11  - Require that the openib BTL find <sysfs/libsysfs.h>.  Thanks to Josh
     2.1 --- a/ompi/mpi/c/info_set.c	Sat Jul 15 10:35:49 2006 +0000
     2.2 +++ b/ompi/mpi/c/info_set.c	Tue Aug 08 15:42:33 2006 +0000
     2.3 @@ -86,7 +86,7 @@
     2.4  
     2.5          value_length = (value) ? strlen (value) : 0;
     2.6          if ((NULL == value) || (0 == value_length) || 
     2.7 -            (MPI_MAX_INFO_KEY <= value_length)) {
     2.8 +            (MPI_MAX_INFO_VAL <= value_length)) {
     2.9              return OMPI_ERRHANDLER_INVOKE (MPI_COMM_WORLD, MPI_ERR_INFO_VALUE,
    2.10                                             FUNC_NAME);
    2.11          }