1
1
openmpi/ompi/info
Jeff Squyres a980ee5ca1 Update to r27292: only use "valuelen-1" when the valuelen is
MPI_MAX_INFO_VAL (so that we don't go beyond the end of the string).
But otherwise, abibe by what says in MPI-2.2 / MPI-3.0 in the
description of MPI_INFO_GET (where "it" refers to the valuelen
argument):

    If it is less than the actual size of the value, the value is
    truncated. In C, valuelen should be one less than the amount of
    allocated space to allow for the null terminator.

cmr:v1.7

This commit was SVN r27522.

The following SVN revision numbers were found above:
  r27292 --> open-mpi/ompi@fb4af5e29c
2012-10-30 17:56:28 +00:00
..
info.c Update to r27292: only use "valuelen-1" when the valuelen is 2012-10-30 17:56:28 +00:00
info.h Improve the new MPI_INFO_ENV to better handle Java applications and to correctly report the info for singletons. 2012-08-13 22:13:49 +00:00
Makefile.am Update the copyright notices for IU and UTK. 2005-11-05 19:57:48 +00:00